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