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