]> git.pld-linux.org Git - packages/aMule.git/blob - aMule.spec
- maybe this BR is correct?
[packages/aMule.git] / aMule.spec
1 Summary:        Unix port of eMule client
2 Summary(pl):    Uniksowy port klienta eMule
3 Name:           aMule
4 Version:        2.0.0
5 Release:        0.1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://download.berlios.de/amule/%{name}-%{version}.tar.gz
9 # Source0-md5:  e6680641e171ddf4236c955168947ba0
10 Patch0:         %{name}-configure_in.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://www.amule.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake >= 1:1.7.3
15 BuildRequires:  bison
16 #BuildRequires: cryptopp-devel >= 5.1
17 BuildRequires:  curl-devel >= 7.9.7
18 BuildRequires:  expat-devel
19 BuildRequires:  gd-devel
20 BuildRequires:  gettext-devel >= 0.11.5
21 BuildRequires:  gtk+2-devel >= 2:2.2.0
22 BuildRequires:  libpng-devel
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  wxBase-devel >= 2.4.2
25 BuildRequires:  wxGTK2-devel >= 2.4.2
26 BuildRequires:  wxWidgets-devel >= 2.4
27 Requires:       wget
28 Obsoletes:      lmule
29 Obsoletes:      xmule
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 aMule is a Linux port of eMule client.
34
35 %description -l pl
36 aMule to linuksowy port klienta eMule.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__gettextize}
45 %{__aclocal} -I m4
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure \
50 ##      --with-wx-config=/usr/bin/wxgtk2-2.4-config     \
51         --enable-optimise                               \
52         --enable-amulecmd                               \
53         --enable-amulecmdgui                            \
54         --enable-webserver                              \
55         --enable-webservergui                           \
56         --with-wx-config=`rpm -ql wxGTK2-devel|grep 'wxgtk-2\.[0-9]-config'` \
57         --with-wxbase-config=`rpm -ql wxBase|grep 'wxbase-2\.[0-9]-config'`
58
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67         
68 mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}%{_rc}   \
69     $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
70
71 %find_lang amule
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files -f amule.lang
77 %defattr(644,root,root,755)
78 %doc docs/AUTHORS docs/README docs/Changelog docs/ED2K-Links.HOWTO docs/TODO docs/amulesig.txt
79 %attr(755,root,root) %{_bindir}/*
80 %{_desktopdir}/*
81 %{_pixmapsdir}/*
82 %{_datadir}/amuleweb
83 %{_datadir}/cas
This page took 0.033674 seconds and 4 git commands to generate.