SPECS: pkpgcounter.spec - compile *.pyo - explicitly remove unpack...
saq
saq at pld-linux.org
Sat Jun 18 20:34:05 CEST 2005
Author: saq Date: Sat Jun 18 18:34:05 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- compile *.pyo
- explicitly remove unpackaged files
- en fixes
---- Files affected:
SPECS:
pkpgcounter.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/pkpgcounter.spec
diff -u SPECS/pkpgcounter.spec:1.2 SPECS/pkpgcounter.spec:1.3
--- SPECS/pkpgcounter.spec:1.2 Fri Jun 17 23:20:52 2005
+++ SPECS/pkpgcounter.spec Sat Jun 18 20:34:00 2005
@@ -14,10 +14,10 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Pkpgcouter is a generic Page Description Language parser which main
+Pkpgcouter is a generic Page Description Language parser whose main
feature is to count the number of pages in files ready to be printed.
-It can currently compute the number of pages in several types of files
-:
+It can currently compute the number of pages in several types of
+files:
- PostScript (both DSC compliant and binary)
- PDF
- PCL3/4/5
@@ -41,7 +41,11 @@
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install --root $RPM_BUILD_ROOT
+python setup.py install --optimize=2 \
+ --root $RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*/*.py
+rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
%clean
rm -rf $RPM_BUILD_ROOT
@@ -51,8 +55,7 @@
%doc NEWS README CREDITS BUGS
%attr(755,root,root) %{_bindir}/*
%dir %{py_sitescriptdir}/pdlanalyzer
-%{py_sitescriptdir}/pdlanalyzer/*.py
-%{py_sitescriptdir}/pdlanalyzer/*.pyc
+%{py_sitescriptdir}/pdlanalyzer/*.py[co]
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -60,6 +63,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/06/18 18:34:00 saq
+- compile *.pyo
+- explicitly remove unpackaged files
+- en fixes
+
Revision 1.2 2005/06/17 21:20:52 qboosh
- pl fixes, use py* macros
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pkpgcounter.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list