packages: driconf/driconf.spec - updated URL, Source0 currently dead - use ...

qboosh qboosh at pld-linux.org
Sat Dec 4 11:12:23 CET 2010


Author: qboosh                       Date: Sat Dec  4 10:12:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated URL, Source0 currently dead
- use py_postcealn macro
- package egg-info for python 2.5+

---- Files affected:
packages/driconf:
   driconf.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: packages/driconf/driconf.spec
diff -u packages/driconf/driconf.spec:1.17 packages/driconf/driconf.spec:1.18
--- packages/driconf/driconf.spec:1.17	Tue Sep 21 21:00:05 2010
+++ packages/driconf/driconf.spec	Sat Dec  4 11:12:18 2010
@@ -4,15 +4,17 @@
 Name:		driconf
 Version:	0.9.1
 Release:	5
-License:	GPL
+License:	GPL v2+
 Group:		X11/Applications
+# 404 currently
 Source0:	http://people.freedesktop.org/~fxkuehl/driconf/%{name}-%{version}.tar.gz
 # Source0-md5:	76d610bcd56aa5e8a489debb5081178a
-URL:		http://dri.sourceforge.net/cgi-bin/moin.cgi/DriConf
+URL:		http://dri.sourceforge.net/wiki/DriConf
 BuildRequires:	python
 BuildRequires:	python-devel
 BuildRequires:	python-modules
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
 Requires:	python-pygtk-gtk >= 2:2.4
 Requires:	xorg-app-xdriinfo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,18 +33,18 @@
 %setup -q
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
+%{__python} setup.py install \
 	--optimize=2 \
 	--prefix=%{_prefix} \
 	--install-purelib=%{py_sitescriptdir} \
 	--root=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
+%py_postclean
 
 %find_lang %{name}
 
@@ -52,9 +54,13 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc CHANGELOG README TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/driconf
 %{_datadir}/driconf
-%{py_sitescriptdir}/*.py[co]
+%{py_sitescriptdir}/dri.py[co]
+%{py_sitescriptdir}/driconf*.py[co]
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/driconf-*.egg-info
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +68,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2010/12/04 10:12:18  qboosh
+- updated URL, Source0 currently dead
+- use py_postcealn macro
+- package egg-info for python 2.5+
+
 Revision 1.17  2010/09/21 19:00:05  glen
 - release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/driconf/driconf.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list