]>
Commit | Line | Data |
---|---|---|
0b0404d0 | 1 | # |
eda33d09 | 2 | # TODO: ./configure --enable-plasmamule (BR: qt4-build, QtCore 4, KDE 4) |
0b0404d0 | 3 | # |
fce15251 | 4 | Summary: Unix port of eMule client |
2271ee3f | 5 | Summary(pl.UTF-8): Uniksowy port klienta eMule |
fce15251 | 6 | Name: aMule |
eda33d09 | 7 | Version: 2.3.2 |
252b16c3 | 8 | Release: 12 |
eda33d09 | 9 | License: GPL v2+ |
fce15251 | 10 | Group: X11/Applications |
d8cfca4b | 11 | Source0: http://downloads.sourceforge.net/amule/%{name}-%{version}.tar.bz2 |
eda33d09 | 12 | # Source0-md5: 4516bde73327e6153c140cef59375f38 |
803b9a93 | 13 | Patch0: %{name}-desktop.patch |
14 | Patch1: %{name}-cas-datadir.patch | |
62caab2a | 15 | Patch2: %{name}-ac.patch |
a870549c | 16 | Patch3: %{name}-cryptopp.patch |
feb31138 | 17 | Patch4: binutils-2.34.patch |
fad345eb | 18 | URL: http://www.amule.org/ |
803b9a93 | 19 | BuildRequires: GeoIP-devel |
eda33d09 | 20 | BuildRequires: autoconf >= 2.59 |
9667e5a4 | 21 | BuildRequires: automake >= 1:1.7.3 |
7a479686 | 22 | BuildRequires: binutils-devel |
fce15251 | 23 | BuildRequires: bison |
eda33d09 | 24 | BuildRequires: boost-devel >= 1.47 |
803b9a93 | 25 | BuildRequires: cryptopp-devel >= 5.1 |
f46f2e7c | 26 | BuildRequires: curl-devel >= 7.9.7 |
fce15251 | 27 | BuildRequires: expat-devel |
eda33d09 JB |
28 | BuildRequires: flex |
29 | BuildRequires: gd-devel >= 2.0.0 | |
caf71ed3 | 30 | BuildRequires: gettext-tools >= 0.11.5 |
04cb85df | 31 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
d8cfca4b | 32 | BuildRequires: libpng-devel >= 1.2.0 |
fce15251 | 33 | BuildRequires: libstdc++-devel |
4c44ce87 | 34 | BuildRequires: libupnp1.6-devel >= 1.6.6 |
eda33d09 JB |
35 | BuildRequires: pkgconfig >= 1:0.9.0 |
36 | BuildRequires: readline-devel | |
c6e299b2 | 37 | BuildRequires: wxGTK2-unicode-devel >= 2.8.12 |
8528c3bf | 38 | BuildRequires: xorg-lib-libXpm-devel |
eda33d09 JB |
39 | BuildRequires: zlib-devel >= 1.1.4 |
40 | Requires: cryptopp >= 5.1 | |
41 | Requires: gd >= 2.0.0 | |
4c44ce87 | 42 | Requires: libupnp1.6 >= 1.6.6 |
fce15251 | 43 | Requires: wget |
eda33d09 | 44 | Requires: zlib >= 1.1.4 |
3be09a77 | 45 | Obsoletes: lmule |
e3a76a47 | 46 | Obsoletes: xmule |
fce15251 | 47 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
48 | ||
49 | %description | |
06a2ef63 | 50 | aMule is a Linux port of eMule client. |
fce15251 | 51 | |
85204cb1 | 52 | %description -l pl.UTF-8 |
06a2ef63 | 53 | aMule to linuksowy port klienta eMule. |
fce15251 | 54 | |
0e64ca48 RK |
55 | %package plugin-xchat |
56 | Summary: Xchat plugin | |
2271ee3f | 57 | Summary(pl.UTF-8): Wtyczka dla xchat |
0e64ca48 | 58 | Group: X11/Applications |
dc60aead | 59 | Requires: %{name} = %{version}-%{release} |
0e64ca48 RK |
60 | Provides: %{name}-plugin-xchat |
61 | ||
62 | %description plugin-xchat | |
63 | Plugin for Xchat IRC client. | |
64 | ||
85204cb1 | 65 | %description plugin-xchat -l pl.UTF-8 |
eda33d09 | 66 | Wtyczka dla klienta IRC xchat. |
0e64ca48 RK |
67 | |
68 | %package alc | |
69 | Summary: Ed2k link creator for aMule | |
2271ee3f | 70 | Summary(pl.UTF-8): Kreator linków ed2k dla aMule |
0e64ca48 | 71 | Group: X11/Applications |
dc60aead | 72 | Requires: %{name} = %{version}-%{release} |
0e64ca48 RK |
73 | Provides: alc |
74 | ||
75 | %description alc | |
76 | Tool for creating ed2k links. | |
77 | ||
85204cb1 JR |
78 | %description alc -l pl.UTF-8 |
79 | Narzędzie do tworzenia linków ed2k. | |
0e64ca48 RK |
80 | |
81 | %package cas | |
82 | Summary: aMule online stats | |
2271ee3f | 83 | Summary(pl.UTF-8): Statystyki online aMule |
0e64ca48 | 84 | Group: X11/Applications |
dc60aead | 85 | Requires: %{name} = %{version}-%{release} |
0e64ca48 RK |
86 | Provides: cas |
87 | ||
88 | %description cas | |
89 | Tool for generating aMule online stats. | |
90 | ||
85204cb1 JR |
91 | %description cas -l pl.UTF-8 |
92 | Narzędzie do generownia statystyk aMule. | |
0e64ca48 | 93 | |
fce15251 | 94 | %prep |
ea408d75 | 95 | %setup -q |
6180003f | 96 | %patch0 -p1 |
e3a76a47 | 97 | %patch1 -p1 |
62caab2a | 98 | %patch2 -p1 |
a870549c | 99 | %patch3 -p1 |
feb31138 | 100 | %patch4 -p1 |
fce15251 | 101 | |
102 | %build | |
df08d9a2 | 103 | %{__aclocal} -I m4 |
6180003f AA |
104 | %{__autoconf} |
105 | %{__autoheader} | |
106 | %{__automake} | |
fce15251 | 107 | %configure \ |
eda33d09 | 108 | --with-denoise-level=1 \ |
d8cfca4b | 109 | --with-libpng-config=/usr/bin/libpng-config \ |
eda33d09 JB |
110 | --with-wx-config=wx-gtk2-unicode-config \ |
111 | --enable-alc \ | |
112 | --enable-alcc \ | |
113 | --enable-amulecmd \ | |
817b67c8 | 114 | --enable-amule-daemon \ |
b418bd65 | 115 | --enable-amule-gui \ |
817b67c8 | 116 | --enable-cas \ |
eda33d09 | 117 | --enable-debug%{!?debug:=no} \ |
d8cfca4b | 118 | --enable-geoip \ |
eda33d09 JB |
119 | --enable-optimize%{!?debug:=no} \ |
120 | --enable-webserver \ | |
121 | --enable-wxcas \ | |
122 | --enable-xas | |
d8cfca4b | 123 | |
fce15251 | 124 | %{__make} |
125 | ||
126 | %install | |
127 | rm -rf $RPM_BUILD_ROOT | |
128 | ||
129 | %{__make} install \ | |
130 | DESTDIR=$RPM_BUILD_ROOT | |
488ce0ff | 131 | |
0dce3bf5 JB |
132 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/et{_EE,} |
133 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/ko{_KR,} | |
134 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} | |
135 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/amule | |
6180003f | 136 | %find_lang amule |
2ef37d7f | 137 | |
fce15251 | 138 | %clean |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
6180003f | 141 | %files -f amule.lang |
fce15251 | 142 | %defattr(644,root,root,755) |
d8cfca4b | 143 | %doc docs/ABOUT-NLS docs/AUTHORS docs/Changelog docs/EC_Protocol.txt docs/README docs/TODO docs/amulesig.txt |
7cad848b | 144 | %attr(755,root,root) %{_bindir}/autostart-xas |
0e64ca48 | 145 | %attr(755,root,root) %{_bindir}/amule* |
b05c9f73 | 146 | %attr(755,root,root) %{_bindir}/ed2k |
cf8e3572 | 147 | %dir %{_datadir}/amule |
cf8e3572 | 148 | %{_datadir}/amule/webserver |
803b9a93 | 149 | %{_datadir}/amule/skins |
0e64ca48 | 150 | %{_desktopdir}/amule.desktop |
803b9a93 | 151 | %{_desktopdir}/amulegui.desktop |
0e64ca48 | 152 | %{_pixmapsdir}/amule.xpm |
803b9a93 | 153 | %{_pixmapsdir}/amulegui.xpm |
eda33d09 JB |
154 | %{_mandir}/man1/amule*.1* |
155 | %{_mandir}/man1/ed2k.1* | |
156 | %lang(de) %{_mandir}/de/man1/amule*.1* | |
157 | %lang(de) %{_mandir}/de/man1/ed2k.1* | |
158 | %lang(es) %{_mandir}/es/man1/amule*.1* | |
159 | %lang(es) %{_mandir}/es/man1/ed2k.1* | |
160 | %lang(fr) %{_mandir}/fr/man1/amule*.1* | |
161 | %lang(fr) %{_mandir}/fr/man1/ed2k.1* | |
162 | %lang(hu) %{_mandir}/hu/man1/amule*.1* | |
163 | %lang(hu) %{_mandir}/hu/man1/ed2k.1* | |
164 | %lang(it) %{_mandir}/it/man1/amule*.1* | |
165 | %lang(it) %{_mandir}/it/man1/ed2k.1* | |
166 | %lang(ro) %{_mandir}/ro/man1/amule*.1* | |
167 | %lang(ro) %{_mandir}/ro/man1/ed2k.1* | |
168 | %lang(ru) %{_mandir}/ru/man1/amule*.1* | |
169 | %lang(ru) %{_mandir}/ru/man1/ed2k.1* | |
170 | %lang(tr) %{_mandir}/tr/man1/amule*.1* | |
171 | %lang(tr) %{_mandir}/tr/man1/ed2k.1* | |
172 | %lang(zh_TW) %{_mandir}/zh_TW/man1/amule*.1* | |
173 | %lang(zh_TW) %{_mandir}/zh_TW/man1/ed2k.1* | |
0e64ca48 RK |
174 | |
175 | %files plugin-xchat | |
357aceee | 176 | %defattr(644,root,root,755) |
0e64ca48 | 177 | %{_libdir}/xchat/plugins/xas.pl |
eda33d09 JB |
178 | %{_mandir}/man1/xas.1* |
179 | %lang(de) %{_mandir}/de/man1/xas.1* | |
180 | %lang(es) %{_mandir}/es/man1/xas.1* | |
181 | %lang(fr) %{_mandir}/fr/man1/xas.1* | |
182 | %lang(hu) %{_mandir}/hu/man1/xas.1* | |
183 | %lang(it) %{_mandir}/it/man1/xas.1* | |
184 | %lang(ro) %{_mandir}/ro/man1/xas.1* | |
185 | %lang(ru) %{_mandir}/ru/man1/xas.1* | |
186 | %lang(tr) %{_mandir}/tr/man1/xas.1* | |
187 | %lang(zh_TW) %{_mandir}/zh_TW/man1/xas.1* | |
0e64ca48 RK |
188 | |
189 | %files alc | |
357aceee | 190 | %defattr(644,root,root,755) |
eda33d09 JB |
191 | %attr(755,root,root) %{_bindir}/alc |
192 | %attr(755,root,root) %{_bindir}/alcc | |
0e64ca48 RK |
193 | %{_desktopdir}/alc.desktop |
194 | %{_pixmapsdir}/alc.xpm | |
eda33d09 JB |
195 | %{_mandir}/man1/alc.1* |
196 | %{_mandir}/man1/alcc.1* | |
197 | %lang(de) %{_mandir}/de/man1/alc.1* | |
198 | %lang(de) %{_mandir}/de/man1/alcc.1* | |
199 | %lang(es) %{_mandir}/es/man1/alc.1* | |
200 | %lang(es) %{_mandir}/es/man1/alcc.1* | |
201 | %lang(fr) %{_mandir}/fr/man1/alc.1* | |
202 | %lang(fr) %{_mandir}/fr/man1/alcc.1* | |
203 | %lang(hu) %{_mandir}/hu/man1/alc.1* | |
204 | %lang(hu) %{_mandir}/hu/man1/alcc.1* | |
205 | %lang(it) %{_mandir}/it/man1/alc.1* | |
206 | %lang(it) %{_mandir}/it/man1/alcc.1* | |
207 | %lang(ro) %{_mandir}/ro/man1/alc.1* | |
208 | %lang(ro) %{_mandir}/ro/man1/alcc.1* | |
209 | %lang(ru) %{_mandir}/ru/man1/alc.1* | |
210 | %lang(ru) %{_mandir}/ru/man1/alcc.1* | |
211 | %lang(tr) %{_mandir}/tr/man1/alc.1* | |
212 | %lang(tr) %{_mandir}/tr/man1/alcc.1* | |
213 | %lang(zh_TW) %{_mandir}/zh_TW/man1/alc.1* | |
214 | %lang(zh_TW) %{_mandir}/zh_TW/man1/alcc.1* | |
0e64ca48 | 215 | |
0e64ca48 | 216 | %files cas |
357aceee | 217 | %defattr(644,root,root,755) |
eda33d09 JB |
218 | %attr(755,root,root) %{_bindir}/cas |
219 | %attr(755,root,root) %{_bindir}/wxcas | |
0e64ca48 | 220 | %{_datadir}/amule/cas |
eda33d09 | 221 | %{_desktopdir}/wxcas.desktop |
0e64ca48 | 222 | %{_pixmapsdir}/wxcas.xpm |
eda33d09 JB |
223 | %{_mandir}/man1/cas.1* |
224 | %{_mandir}/man1/wxcas.1* | |
225 | %lang(de) %{_mandir}/de/man1/cas.1* | |
226 | %lang(de) %{_mandir}/de/man1/wx*cas.1* | |
227 | %lang(es) %{_mandir}/es/man1/cas.1* | |
228 | %lang(es) %{_mandir}/es/man1/wxcas.1* | |
229 | %lang(fr) %{_mandir}/fr/man1/cas.1* | |
230 | %lang(fr) %{_mandir}/fr/man1/wxcas.1* | |
231 | %lang(hu) %{_mandir}/hu/man1/cas.1* | |
232 | %lang(hu) %{_mandir}/hu/man1/wxcas.1* | |
233 | %lang(it) %{_mandir}/it/man1/cas.1* | |
234 | %lang(it) %{_mandir}/it/man1/wxcas.1* | |
235 | %lang(ro) %{_mandir}/ro/man1/cas.1* | |
236 | %lang(ro) %{_mandir}/ro/man1/wxcas.1* | |
237 | %lang(ru) %{_mandir}/ru/man1/cas.1* | |
238 | %lang(ru) %{_mandir}/ru/man1/wxcas.1* | |
239 | %lang(tr) %{_mandir}/tr/man1/cas.1* | |
240 | %lang(tr) %{_mandir}/tr/man1/wxcas.1* | |
241 | %lang(zh_TW) %{_mandir}/zh_TW/man1/cas.1* | |
242 | %lang(zh_TW) %{_mandir}/zh_TW/man1/wxcas.1* |