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