SPECS: python-ReportLab.spec - tabs, unified examplesdir, missing dir
qboosh
qboosh at pld-linux.org
Fri Dec 29 14:34:09 CET 2006
Author: qboosh Date: Fri Dec 29 13:34:09 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- tabs, unified examplesdir, missing dir
---- Files affected:
SPECS:
python-ReportLab.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/python-ReportLab.spec
diff -u SPECS/python-ReportLab.spec:1.31 SPECS/python-ReportLab.spec:1.32
--- SPECS/python-ReportLab.spec:1.31 Fri Dec 29 10:48:24 2006
+++ SPECS/python-ReportLab.spec Fri Dec 29 14:34:04 2006
@@ -39,17 +39,17 @@
prostego formatu XML
%package examples
-Summary: Examples of ReportLab
-Summary(pl): Przykłady do ReportLab
+Summary: Examples for ReportLab
+Summary(pl): Przykłady do biblioteki ReportLab
Group: Libraries/Python
-%pyrequires_eq python
-Requires: %{name} = %{version}-%{release}
+%pyrequires_eq python
+Requires: %{name} = %{version}-%{release}
%description examples
-Examples of ReportLab
+Examples for ReportLab.
%description examples -l pl
-Przykłady do biblioteki ReportLab
+Przykłady do biblioteki ReportLab.
%prep
%setup -q -n reportlab_%{fversion}
@@ -63,16 +63,16 @@
rm -rf $RPM_BUILD_ROOT
cd reportlab
python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
install tools/py2pdf/py2pdf.py $RPM_BUILD_ROOT%{_bindir}
install tools/pythonpoint/pythonpoint.py $RPM_BUILD_ROOT%{_bindir}
-mv demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-mv graphics/samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}/graphics-samples
-mv tools/pythonpoint/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}/pythonpoint-demos
+cp -a demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a graphics/samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/graphics-samples
+cp -a tools/pythonpoint/demos $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/pythonpoint-demos
%py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -126,12 +126,11 @@
%files examples
%defattr(644,root,root,755)
-%dir %{_examplesdir}/%{name}/demos
-%dir %{_examplesdir}/%{name}/graphics-samples
-%dir %{_examplesdir}/%{name}/pythonpoint-demos
-%{_examplesdir}/%{name}/graphics-samples/*.py
-%{_examplesdir}/%{name}/demos
-%{_examplesdir}/%{name}/pythonpoint-demos
+%dir %{_examplesdir}/%{name}-%{version}
+%dir %{_examplesdir}/%{name}-%{version}/graphics-samples
+%{_examplesdir}/%{name}-%{version}/graphics-samples/*.py
+%{_examplesdir}/%{name}-%{version}/demos
+%{_examplesdir}/%{name}-%{version}/pythonpoint-demos
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -140,6 +139,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2006/12/29 13:34:04 qboosh
+- tabs, unified examplesdir, missing dir
+
Revision 1.31 2006/12/29 09:48:24 teodor
- up to 1.21
- subpackage for examples
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-ReportLab.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list