]>
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.1.3 | |
5 | Release: 21 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://download.berlios.de/amule/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 0aafdd159edb8ad5f0064da87998b47d | |
10 | Patch0: %{name}-configure_in.patch | |
11 | Patch1: %{name}-desktop.patch | |
12 | Patch2: %{name}-cas-datadir.patch | |
13 | Patch3: %{name}-wx.patch | |
14 | URL: http://www.amule.org/ | |
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-devel >= 0.11.5 | |
24 | BuildRequires: gettext-autopoint | |
25 | BuildRequires: gtk+2-devel >= 2:2.2.0 | |
26 | BuildRequires: libpng-devel | |
27 | BuildRequires: libstdc++-devel | |
28 | BuildRequires: wxGTK2-unicode-devel | |
29 | BuildRequires: xorg-lib-libXpm-devel | |
30 | Requires: wget | |
31 | Obsoletes: lmule | |
32 | Obsoletes: xmule | |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %description | |
36 | aMule is a Linux port of eMule client. | |
37 | ||
38 | %description -l pl.UTF-8 | |
39 | aMule to linuksowy port klienta eMule. | |
40 | ||
41 | %package plugin-xchat | |
42 | Summary: Xchat plugin | |
43 | Summary(pl.UTF-8): Wtyczka dla xchat | |
44 | Group: X11/Applications | |
45 | Requires: %{name} = %{version}-%{release} | |
46 | Provides: %{name}-plugin-xchat | |
47 | ||
48 | %description plugin-xchat | |
49 | Plugin for Xchat IRC client. | |
50 | ||
51 | %description plugin-xchat -l pl.UTF-8 | |
52 | Wtczka dla klienta IRC xchat. | |
53 | ||
54 | %package alc | |
55 | Summary: Ed2k link creator for aMule | |
56 | Summary(pl.UTF-8): Kreator linków ed2k dla aMule | |
57 | Group: X11/Applications | |
58 | Requires: %{name} = %{version}-%{release} | |
59 | Provides: alc | |
60 | ||
61 | %description alc | |
62 | Tool for creating ed2k links. | |
63 | ||
64 | %description alc -l pl.UTF-8 | |
65 | Narzędzie do tworzenia linków ed2k. | |
66 | ||
67 | %package cas | |
68 | Summary: aMule online stats | |
69 | Summary(pl.UTF-8): Statystyki online aMule | |
70 | Group: X11/Applications | |
71 | Requires: %{name} = %{version}-%{release} | |
72 | Provides: cas | |
73 | ||
74 | %description cas | |
75 | Tool for generating aMule online stats. | |
76 | ||
77 | %description cas -l pl.UTF-8 | |
78 | Narzędzie do generownia statystyk aMule. | |
79 | ||
80 | %prep | |
81 | %setup -q | |
82 | %patch0 -p1 | |
83 | %patch1 -p1 | |
84 | %patch2 -p1 | |
85 | %patch3 -p1 | |
86 | ||
87 | %build | |
88 | %{__gettextize} | |
89 | %{__aclocal} -I m4 | |
90 | %{__autoconf} | |
91 | %{__autoheader} | |
92 | %{__automake} | |
93 | %configure \ | |
94 | --with-wx-config=wx-gtk2-unicode-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-amulecmdgui \ | |
101 | --enable-webserver \ | |
102 | --enable-webservergui \ | |
103 | --enable-cas \ | |
104 | --enable-wxcas \ | |
105 | --enable-alc \ | |
106 | --enable-alcc \ | |
107 | --enable-kad-compile | |
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 | ||
121 | %find_lang amule | |
122 | ||
123 | %clean | |
124 | rm -rf $RPM_BUILD_ROOT | |
125 | ||
126 | %files -f amule.lang | |
127 | %defattr(644,root,root,755) | |
128 | %doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt | |
129 | %attr(755,root,root) %{_bindir}/amule* | |
130 | %attr(755,root,root) %{_bindir}/ed2k | |
131 | %dir %{_datadir}/amule | |
132 | %{_datadir}/amule/webserver | |
133 | %{_desktopdir}/amule.desktop | |
134 | %{_pixmapsdir}/amule.xpm | |
135 | %{_mandir}/man1/amule* | |
136 | %{_mandir}/man1/ed2k* | |
137 | %{_mandir}/man1/xas* | |
138 | %lang(de) %{_mandir}/de/man1/amule* | |
139 | %lang(de) %{_mandir}/de/man1/ed2k* | |
140 | %lang(de) %{_mandir}/de/man1/xas* | |
141 | %lang(es) %{_mandir}/es/man1/amule* | |
142 | %lang(es) %{_mandir}/es/man1/ed2k* | |
143 | %lang(es) %{_mandir}/es/man1/xas* | |
144 | %lang(fr) %{_mandir}/fr/man1/amule* | |
145 | %lang(fr) %{_mandir}/fr/man1/ed2k* | |
146 | %lang(hu) %{_mandir}/hu/man1/amule* | |
147 | %lang(hu) %{_mandir}/hu/man1/ed2k* | |
148 | %lang(hu) %{_mandir}/hu/man1/xas* | |
149 | ||
150 | %files plugin-xchat | |
151 | %defattr(644,root,root,755) | |
152 | %{_libdir}/xchat/plugins/xas.pl | |
153 | ||
154 | %files alc | |
155 | %defattr(644,root,root,755) | |
156 | %attr(755,root,root) %{_bindir}/alc* | |
157 | %{_desktopdir}/alc.desktop | |
158 | %{_pixmapsdir}/alc.xpm | |
159 | %{_mandir}/man1/alc* | |
160 | %lang(de) %{_mandir}/de/man1/alc* | |
161 | %lang(es) %{_mandir}/es/man1/alc* | |
162 | %lang(fr) %{_mandir}/fr/man1/alc* | |
163 | %lang(hu) %{_mandir}/hu/man1/alc* | |
164 | ||
165 | %files cas | |
166 | %defattr(644,root,root,755) | |
167 | %attr(755,root,root) %{_bindir}/*cas | |
168 | %{_datadir}/amule/cas | |
169 | %{_desktopdir}/*cas.desktop | |
170 | %{_pixmapsdir}/wxcas.xpm | |
171 | %{_mandir}/man1/*cas* | |
172 | %lang(de) %{_mandir}/de/man1/*cas* | |
173 | %lang(es) %{_mandir}/es/man1/*cas* | |
174 | %lang(hu) %{_mandir}/hu/man1/*cas* |