diff options
author | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-12 13:18:55 +0800 |
---|---|---|
committer | Robin Lee <robinlee.sysu@gmail.com> | 2010-06-12 13:18:55 +0800 |
commit | f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff (patch) | |
tree | fbca6eaac4f8646075253d36c44a960738902875 /linux-fetion | |
download | rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.gz rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.tar.xz rpm-f59b6f1ac73a896cc40e91741f1e5d5ea2c398ff.zip |
Initial commit
Diffstat (limited to 'linux-fetion')
-rw-r--r-- | linux-fetion/F-13/Makefile | 0 | ||||
-rw-r--r-- | linux-fetion/F-13/linux-fetion-desktop.patch | 11 | ||||
-rw-r--r-- | linux-fetion/F-13/linux-fetion.spec | 94 |
3 files changed, 105 insertions, 0 deletions
diff --git a/linux-fetion/F-13/Makefile b/linux-fetion/F-13/Makefile new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/linux-fetion/F-13/Makefile diff --git a/linux-fetion/F-13/linux-fetion-desktop.patch b/linux-fetion/F-13/linux-fetion-desktop.patch new file mode 100644 index 0000000..c592458 --- /dev/null +++ b/linux-fetion/F-13/linux-fetion-desktop.patch @@ -0,0 +1,11 @@ +--- misc/LibFetion.desktop 2009-12-31 23:41:32.000000000 +0800 ++++ misc/LibFetion.desktop.new 2010-03-10 15:25:53.032932683 +0800 +@@ -6,7 +6,6 @@ + GenericName[zh_CN]=Linux 飞信第三方客户程序 + Comment=Linux Fetion + Comment[zh_CN]=Linux 飞信第三方客户程序 +-MimeTypes= + Icon=fetion.png +-Categories=Qt;KDE;Network ++Categories=Qt;KDE;Network; + Terminal=false diff --git a/linux-fetion/F-13/linux-fetion.spec b/linux-fetion/F-13/linux-fetion.spec new file mode 100644 index 0000000..4853529 --- /dev/null +++ b/linux-fetion/F-13/linux-fetion.spec @@ -0,0 +1,94 @@ +Name: linux-fetion +Version: 1.3 +Release: 2%{?dist} +Summary: Fetion for linux + +Group: Applications/Internet +License: GPLv2 +URL: http://libfetion-gui.googlecode.com +Source0: http://libfetion-gui.googlecode.com/files/linux_fetion_v%{version}.tar.gz +# fix the desktop entry +Patch0: linux-fetion-desktop.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: qt4-devel >= 4.5.0 +BuildRequires: libcurl-devel openssl-devel libstdc++-devel +BuildRequires: desktop-file-utils +#Requires: curl + +%description +Fetion GUI Applictions of China Mobile's Fetion IM, +which is based on libfetion library. + +%prep +%setup -q -n linux_fetion_v%{version} +%patch0 -p0 -b .fix +%ifarch x86_64 +./64_libfetion.sh +%endif + +%build +%_qt4_qmake +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} + +install -Dm 0644 ./misc/fetion.png %{buildroot}%{_datadir}/pixmaps/fetion.png + +mkdir -p %{buildroot}%{_datadir}/libfetion/ +cp -rf resource skins %{buildroot}%{_datadir}/libfetion/ +find %{buildroot}%{_datadir}/libfetion/ -type f -execdir chmod 0644 '{}' + + +desktop-file-install --dir=%{buildroot}%{_datadir}/applications \ + ./misc/LibFetion.desktop + +install -Dm 0755 linux-fetion %{buildroot}%{_bindir}/linux-fetion + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README COPYING ChangeLog CREDITS.txt +%{_bindir}/linux-fetion +%{_datadir}/pixmaps/fetion.png +%{_datadir}/libfetion/ +%{_datadir}/applications/LibFetion.desktop + +%changelog +* Mon Mar 8 2010 Cheese Lee <cheeselee@126.com> - 1.3-2 +- Many fixed + +* Thu Jan 14 2010 Cheese Lee <cheeselee@126.com> - 1.3-1 +- Update to Offical version 1.3 + +* Sun Nov 29 2009 Tommy He <lovenemesis@163.com> -1.2 +- Update to Offical version 1.2 + +* Fri Oct 2 2009 Tommy He <lovenemesis@163.com> -1.1 +- Update to Offical version 1.1 + +* Fri Jul 3 2009 Gcell <ph.linfan@gmail.com> - 1.0-1 +- Update to offical version 1.0 + +* Mon Jun 15 2009 Gcell <ph.linfan@gmail.com> - 1.0_a2-2 +- Fix files missing in source and update the spec file + +* Mon Jun 15 2009 Gcell <ph.linfan@gmail.com> - 1.0_a2-1 +- Update to alpha version 1.0_a2 + +* Sat Feb 21 2009 Gcell <ph.linfan@gmail.com> - 0.9.2-2 +- update to 0.9.2 official version +- Fixed some mistakes in the spec + +* Tue Feb 17 2009 Gcell <ph.linfan@gmail.com> - 0.9.2-1 +- update to version 0.9.2 + +* Wed Dec 17 2008 Gcell <ph.linfan@gmail.com> - 0.9.1-1 +- update x86_64 prepare option + +* Sun Dec 14 2008 Gcell <ph.linfan@gmail.com> - 0.9.1-1 +- Initial libfetion package |