rpms/bittorrent/devel bittorrent.spec,1.10,1.11
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Wed May 18 09:13:49 UTC 2005
Author: pghmcfc
Update of /cvs/extras/rpms/bittorrent/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28817
Modified Files:
bittorrent.spec
Log Message:
* Wed May 18 2005 Paul Howarth <paul at city-fan.org> 4.0.1-1%{?dist}
- new upstream release 4.0.1 (#157632)
- add dist tag
- source now found on sourceforge.net
- move post/postun scriptlets to -gui subpackage
- bttest.py removed upstream
Index: bittorrent.spec
===================================================================
RCS file: /cvs/extras/rpms/bittorrent/devel/bittorrent.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- bittorrent.spec 15 Mar 2005 08:45:43 -0000 1.10
+++ bittorrent.spec 18 May 2005 09:13:47 -0000 1.11
@@ -3,25 +3,22 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: bittorrent
-Version: 4.0.0
-Release: 2
+Version: 4.0.1
+Release: 1%{?dist}
Summary: BitTorrent swarming network file transfer tool
Group: Applications/Internet
License: BitTorrent Open Source License
URL: http://www.bittorrent.com/
-Source0: http://www.bittorrent.com/dl/BitTorrent-%{version}.tar.gz
+Source0: http://dl.sf.net/bittorrent/BitTorrent-%{version}.tar.gz
Source1: bittorrent.desktop
Source2: bittorrent.png
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
BuildRequires: python-devel desktop-file-utils
Requires: python
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
-Requires(post): desktop-file-utils
-Requires(postun): desktop-file-utils
-
-BuildArch: noarch
%description
BitTorrent is a tool for copying files from one machine to
@@ -35,21 +32,20 @@
Group: Applications/Internet
Requires: pygtk2
Requires: %{name} = %{version}-%{release}
+Requires(post): desktop-file-utils
+Requires(postun): desktop-file-utils
%description gui
This package contains the GUI versions of the BitTorrent file transfer
tool.
-
%prep
%setup -q -n BitTorrent-%{version}
sed -i "s/appdir = .*/appdir = '%{name}-%{version}'/" BitTorrent/__init__.py
-
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
@@ -61,19 +57,15 @@
%{SOURCE1}
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps/bittorrent.png
-
%clean
rm -rf $RPM_BUILD_ROOT
-
%post gui
update-desktop-database %{_datadir}/applications &>/dev/null || :
-
%postun gui
update-desktop-database %{_datadir}/applications &>/dev/null || :
-
%files
%defattr(-,root,root,-)
%doc README.txt credits.txt LICENSE.txt
@@ -85,7 +77,6 @@
%{_bindir}/btreannounce.py
%{_bindir}/btrename.py
%{_bindir}/btshowmetainfo.py
-%{_bindir}/bttest.py
%{_bindir}/bttrack.py
%dir %{python_sitelib}/BitTorrent
%{python_sitelib}/BitTorrent/*.py
@@ -100,8 +91,14 @@
%{_datadir}/pixmaps/%{name}-%{version}
%{_datadir}/pixmaps/bittorrent.png
-
%changelog
+* Wed May 18 2005 Paul Howarth <paul at city-fan.org> 4.0.1-1%{?dist}
+- new upstream release 4.0.1 (#157632)
+- add dist tag
+- source now found on sourceforge.net
+- move post/postun scriptlets to -gui subpackage
+- bttest.py removed upstream
+
* Tue Mar 15 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 4.0.0-2
- add desktop file, desktop menu icon, post/postun scriptlets
More information about the fedora-extras-commits
mailing list