SPECS: twill.spec - better Group, unified/cleanup

qboosh qboosh at pld-linux.org
Thu Jul 10 22:34:23 CEST 2008


Author: qboosh                       Date: Thu Jul 10 20:34:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- better Group, unified/cleanup

---- Files affected:
SPECS:
   twill.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/twill.spec
diff -u SPECS/twill.spec:1.2 SPECS/twill.spec:1.3
--- SPECS/twill.spec:1.2	Mon Dec  3 17:49:21 2007
+++ SPECS/twill.spec	Thu Jul 10 22:34:18 2008
@@ -1,16 +1,16 @@
 # $Revision$, $Date$
-
 Summary:	twill - Web browsing system
-Summary(pl.UTF-8):twill - System przeglądania sieci WWW
+Summary(pl.UTF-8):	twill - System przeglądania sieci WWW
 Name:		twill
 Version:	0.9b1
 Release:	1
 License:	MIT
-Group:		Applications
+Group:		Applications/Networking
 Source0:	http://darcs.idyll.org/~t/projects/%{name}-%{version}.tar.gz
 # Source0-md5:	58702a05114a9927fd5ad4cd53c3b226
 Patch0:		%{name}-setup.patch
 URL:		http://twill.idyll.org/
+BuildRequires:	python >= 2.3
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:  rpm-pythonprov
 %pyrequires_eq  python-modules
@@ -31,15 +31,16 @@
 %setup -q
 %patch0 -p0
 
-%build
-
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
+
+%{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
 %py_postclean
 
 %clean
@@ -47,11 +48,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc doc/ANNOUNCE-%{version}.txt
-%doc doc/{ChangeLog,LICENSE.txt,*.html,*.css}
+%doc doc/{ANNOUNCE-%{version}.txt,ChangeLog,LICENSE.txt,*.html,*.css}
 %attr(755,root,root) %{_bindir}/*
-%{_examplesdir}/*
 %{py_sitescriptdir}/*
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,10 +59,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/07/10 20:34:18  qboosh
+- better Group, unified/cleanup
+
 Revision 1.2  2007/12/03 16:49:21  shadzik
 - extend %patch macro
 
 Revision 1.1  2007-12-03 16:45:20  shadzik
 - initial
 - raw by Kamil Jakubowski <jakubowski dot kamil at 3vnet dot pl>
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/twill.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list