]> git.pld-linux.org Git - packages/ctorrent.git/blobdiff - ctorrent.spec
- release 4 (by relup.sh)
[packages/ctorrent.git] / ctorrent.spec
index 5d2500d4d87432db7c7eea343b3123bd2ad153dd..b3a3feab1b9a18d78fffbc7b96d9490e34e3a2ec 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Enhanced CTorrent - BitTorrent client written in the C++
 Summary(pl.UTF-8):     Enhanced CTorrent - Klient BitTorrenta napisany w C++
 Name:          ctorrent
-%define        _base_version 1.3.4
-%define        _dnh_version dnh2.2
-Version:       %{_base_version}_%{_dnh_version}
-Release:       1
+Version:       3.3.2
+Release:       4
 License:       GPL
 Group:         Applications/Networking
-Source0:       http://www.rahul.net/dholmes/ctorrent/ctorrent-%{_base_version}-%{_dnh_version}.tar.gz
-# Source0-md5: 76484082d3d44d7d1fbc9f2e0e33440f
-#URL:          http://ctorrent.sourceforge.net/
+Source0:       http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh%{version}.tar.gz
+# Source0-md5: 59b23dd05ff70791cd6449effa7fc3b6
+Patch0:                %{name}-m4.patch
+Patch1:                ctorrent-CVE-2009-1759.patch
 URL:           http://www.rahul.net/dholmes/ctorrent/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -36,7 +35,9 @@ CTorrent pomaga dokładnie w tym zadaniu, zakładając iż
 używa się sieci BitTorrent.
 
 %prep
-%setup -q -n %{name}-%{_dnh_version}
+%setup -q -n %{name}-dnh%{version}
+%patch0 -p1
+%patch1 -p0
 
 %build
 %{__aclocal}
@@ -58,5 +59,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS NEWS README UserGuide README-DNH.TXT ChangeLog
 %attr(755,root,root) %{_bindir}/ctorrent
This page took 0.030627 seconds and 4 git commands to generate.