]> git.pld-linux.org Git - packages/cDonkey.git/blob - cDonkey.spec
- added db patch to fix build with db 4.[234]
[packages/cDonkey.git] / cDonkey.spec
1 Summary:        Open source core client for eDonkey
2 Summary(pl):    Otwarty rdzeñ klienta sieci eDonkey
3 Name:           cDonkey
4 Version:        0.9.0
5 Release:        3
6 License:        GPL
7 Group:          Applications/Communications
8 Source0:        http://suche.org/%{name}-%{version}.tar.bz2
9 # Source0-md5:  04c7b16e2aeb18a246e9892ba6fe7b7a
10 Patch0:         %{name}-in_addr.patch
11 Patch1:         %{name}-types.patch
12 Patch2:         %{name}-nolibs.patch
13 Patch3:         %{name}-db.patch
14 URL:            http://cdonkey.suche.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  db-devel >= 4.1
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRequires:  zlib-devel
21 Provides:       eDonkey-core
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 cDonkey is an open source core client for eDonkey without a GUI. It
26 works together with eMule and ed2k_gui. It uses Berkeley DB for fast
27 List management. The eMule Packet data and source2source exchange was
28 implemented. It currently only works with Linux.
29
30 %description -l pl
31 cDonkey jest otwartym rdzeniem klienta sieci eDonkey bez interfejsu
32 graficznego. Wspó³gra z eMule oraz ed2k_gui. U¿ywa bazy Berkeley DB
33 do szybkiego zarz±dzania listami. Dzia³a tylko na Linuksie.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40 %patch3 -p1
41
42 %build
43 %{__libtoolize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 install -D cDonkey $RPM_BUILD_ROOT%{_bindir}/cDonkey
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc TODO FAQ-EN README
62 %attr(755,root,root) %{_bindir}/*
This page took 0.081298 seconds and 3 git commands to generate.