]> git.pld-linux.org Git - packages/BitTorrent.git/commitdiff
- added man pages auto/ac/BitTorrent-3_4_2-4
authorkolodko <kolodko@pld-linux.org>
Sun, 7 Nov 2004 23:51:18 +0000 (23:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 4 STBR Ac

Changed files:
    BitTorrent.spec -> 1.25

BitTorrent.spec

index e97be713f3bf49529e14e62646345f0e49bf498b..bba68fe81d65c0a4af1270d7f6a175030a04c0af 100644 (file)
@@ -2,12 +2,13 @@ Summary:      BitTorrent - a tool for distributing files
 Summary(pl):   BitTorrent - narzêdzie do rozpowszechniania plików
 Name:          BitTorrent
 Version:       3.4.2
-Release:       3
+Release:       4
 License:       MIT
 Group:         Applications/Communications
 #Source0Download:      http://bitconjurer.org/BitTorrent/download.html
 Source0:       http://dl.sourceforge.net/bittorrent/%{name}-%{version}.zip
 # Source0-md5: 6ad4e128ddc82f8ebef6fbef59872f0d
+Patch0:                %{name}-man_pages.patch
 URL:           http://bitconjurer.org/BitTorrent/
 BuildRequires: python-devel
 BuildRequires: rpm-pythonprov 
@@ -51,16 +52,18 @@ Bazuj
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
+install debian/* $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -78,6 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/btt*.py
 %attr(755,root,root) %{_bindir}/btshowmetainfo.py
 %{py_sitescriptdir}/BitTorrent
+%{_mandir}/man1/*
 
 %files gui
 %defattr(644,root,root,755)
This page took 0.082397 seconds and 4 git commands to generate.