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