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