SPECS: python-ReportLab-barcode.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Thu Oct 2 15:43:00 CEST 2008


Author: patrys                       Date: Thu Oct  2 13:43:00 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   python-ReportLab-barcode.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-ReportLab-barcode.spec
diff -u /dev/null SPECS/python-ReportLab-barcode.spec:1.1
--- /dev/null	Thu Oct  2 15:43:00 2008
+++ SPECS/python-ReportLab-barcode.spec	Thu Oct  2 15:42:54 2008
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	The barcode extension for ReportLab
+Name:		python-ReportLab-barcode
+Version:	0.9.2
+Release:	1
+License:	distributable
+Group:		Libraries/Python
+Source0:	http://www.reportlab.com/ftp/extensions/rlbarcode-%{version}.tgz
+# Source0-md5:	eb116d682abf5aa55683da90d6eca76f
+URL:		http://www.reportlab.com/
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python
+Requires:	python-ReportLab
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This barcode extension for ReportLab support code39, code93 and
+code128 barcode formats.
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/extensions/barcode
+
+cp -a reportlab/extensions/barcode/*.py $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/extensions/barcode
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/reportlab/extensions/barcode
+%{py_sitescriptdir}/reportlab/extensions/barcode/*.py[co]
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/02 13:42:54  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list