SPECS: deluge.spec - use source that exists - cleanups, unfortunat...

glen glen at pld-linux.org
Sun Mar 18 21:13:08 CET 2007


Author: glen                         Date: Sun Mar 18 20:13:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use source that exists
- cleanups, unfortunately can't build to test

---- Files affected:
SPECS:
   deluge.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/deluge.spec
diff -u SPECS/deluge.spec:1.1 SPECS/deluge.spec:1.2
--- SPECS/deluge.spec:1.1	Sun Mar 18 20:15:20 2007
+++ SPECS/deluge.spec	Sun Mar 18 21:13:01 2007
@@ -2,13 +2,13 @@
 Summary:	A Python BitTorrent client with support for UPnP and DHT
 Summary(pl.UTF-8):	Klient BitTorrenta napisany w pythonie ze wspraciem dla UPnP i DHT
 Name:		deluge
-Version:	0.4.99.2
+Version:	0.5.0
 Release:	0.1
 License:	GPL
 Group:		X11/Applications/Networking
 URL:		http://deluge-torrent.org/
 Source0:	http://deluge-torrent.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5:	e4f9b3a39dfecf793dfcd62f2ccb1286
+# Source0-md5:	d83e6ee573ac9e2e8d11bc3f446da3f8
 #Source1:	%{name}-fixed-setup.py
 BuildRequires:	boost-program_options-devel
 BuildRequires:	boost-regex-devel
@@ -31,12 +31,8 @@
 allow one to more easily share BitTorrent data even from behind a
 router with virtually zero configuration of port-forwarding.
 
-%description -l pl.UTF-8
-
 %prep
 %setup -q
-#install -m 0755 %{SOURCE1} ./setup.py
-
 
 %build
 ## We forcibly don't store the installation directory during the build, so
@@ -49,15 +45,14 @@
 	CFLAGS="%{optflags}" %{__python} setup.py build
 %endif
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 ## ...then strip the unneeded shebang lines from some of the plugins...
-for FILE in $RPM_BUILD_ROOT%{py_sitedir}/%{name}/{delugegtk.py,delugeplugins.py}; do
-	sed -i 1d ${FILE};
-done
+# this seems, wrong, we don't pkg the .py
+# and if we do chmod -x on files should not fill autodeps
+#sed -i 1d $RPM_BUILD_ROOT%{py_sitedir}/%{name}/{delugegtk.py,delugeplugins.py}
 
 %find_lang %{name}
 
@@ -68,15 +63,13 @@
 %defattr(644,root,root,755)
 %doc LICENSE
 %attr(755,root,root) %{_bindir}/%{name}
-%dir %{py_sitedir}/%{name}/
+%dir %{py_sitedir}/%{name}
 %{py_sitedir}/%{name}/*.py[co]
-%{py_sitedir}/%{name}/*.so
+%attr(755,root,root) %{py_sitedir}/%{name}/*.so
 %{py_sitedir}/%{name}-%{version}-py2.5.egg-info
 %{_desktopdir}/%{name}.desktop
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/*
 %{_pixmapsdir}/%{name}.xpm
-
+%{_datadir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,9 +77,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/03/18 20:13:01  glen
+- use source that exists
+- cleanups, unfortunately can't build to test
+
 Revision 1.1  2007/03/18 19:15:20  czarny
 - new
 - stollen from Fedora - muwwahahah :>
 - strange - some patch there, not sure what it does - needs investigation
 - builds, works
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/deluge.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list