X-Git-Url: http://git.pld-linux.org/?p=packages%2FBitTornado.git;a=blobdiff_plain;f=BitTornado.spec;h=7c9c332b99f68a9088f959aec4ac59f3215100fa;hp=52025e9bf4350e1559cc7034b1d9608ee7145a46;hb=f0917c0fc8337e80da8f0f62edd270d811bfb771;hpb=9e29f055e54bd8b4c149cb35a1ad016807a593f8 diff --git a/BitTornado.spec b/BitTornado.spec index 52025e9..7c9c332 100644 --- a/BitTornado.spec +++ b/BitTornado.spec @@ -1,13 +1,14 @@ Summary: BitTornado - an improved bittorrent client -Summary(pl.UTF-8): BitTornado - ulepszony klient bittorrenta +Summary(pl.UTF-8): BitTornado - ulepszony klient bittorrenta Name: BitTornado Version: 0.3.18 -Release: 1 +Release: 4 License: MIT Group: Applications/Communications Source0: http://download2.bittornado.com/download/%{name}-%{version}.tar.gz # Source0-md5: faeb137036cfaaeab91afc7f62c7dc30 URL: http://bittornado.com/ +BuildRequires: rpmbuild(macros) >= 1.710 BuildRequires: python-devel BuildRequires: rpm-pythonprov BuildRequires: sed >= 4.0 @@ -35,7 +36,7 @@ więcej. %package gui Summary: GUI for BitTornado -Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado +Summary(pl.UTF-8): Graficzny interfejs użytkownika dla BitTornado Group: X11/Applications Requires: %{name} = %{version}-%{release} Requires: python-wxPython >= 2.5.2 @@ -57,11 +58,13 @@ 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 +%py_install find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm +install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 + %clean rm -rf $RPM_BUILD_ROOT @@ -79,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/btsethttpseeds.py %attr(755,root,root) %{_bindir}/btcopyannounce.py %{py_sitescriptdir}/%{name} +%{_mandir}/man1/*.bittornado.1* +%{_mandir}/man1/btcopyannounce.1* +%{_mandir}/man1/btsethttpseeds.1* %files gui %defattr(644,root,root,755) @@ -86,3 +92,4 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/btcompletedirgui.py %attr(755,root,root) %{_bindir}/btmaketorrentgui.py %attr(755,root,root) %{_bindir}/bt-t-make.py +%{_mandir}/man1/btmaketorrentgui.1*