- added types (fixes build on 64-bit archs) and nolibs patches
[packages/cDonkey.git] / cDonkey.spec
index 6f50b0462f3c8424bb30da933760b306b165ee8e..474f5d2e54ff0d42cca8b24d631fe11bdaa7c590 100644 (file)
@@ -1,18 +1,22 @@
 Summary:       Open source core client for eDonkey
 Summary(pl):   Otwarty rdzeñ klienta sieci eDonkey
 Name:          cDonkey
-Version:       0.5.3
-Release:       1
+Version:       0.9.0
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://suche.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 04c7b16e2aeb18a246e9892ba6fe7b7a
+Patch0:                %{name}-in_addr.patch
+Patch1:                %{name}-types.patch
+Patch2:                %{name}-nolibs.patch
 URL:           http://cdonkey.suche.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: db-devel >= 4.1
+BuildRequires: libstdc++-devel
 BuildRequires: libtool
-BuildRequires: openssl-devel
-BuildRequires: zlib-devel 
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Provides:      eDonkey-core
 
@@ -28,18 +32,23 @@ graficznego. Wsp
 wersji 4.1 do szybkiego zarz±dzania listami. Dzia³a tylko na Linuksie.
 
 %prep
-%setup -q -n %{name}
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 install -D cDonkey $RPM_BUILD_ROOT%{_bindir}/cDonkey
 
 %clean
@@ -47,5 +56,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc TODO FAQ-EN README
 %attr(755,root,root) %{_bindir}/*
-%doc TODO
This page took 0.081117 seconds and 4 git commands to generate.