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