blob: 48535296b20f57b2cb4abfd369c042c4d87d059e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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
|