SPECS: python-bugzilla.spec (NEW) - initial release

patrys patrys at pld-linux.org
Wed Feb 13 22:57:01 CET 2008


Author: patrys                       Date: Wed Feb 13 21:57:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

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

---- Diffs:

================================================================
Index: SPECS/python-bugzilla.spec
diff -u /dev/null SPECS/python-bugzilla.spec:1.1
--- /dev/null	Wed Feb 13 22:57:01 2008
+++ SPECS/python-bugzilla.spec	Wed Feb 13 22:56:56 2008
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	A Bugzilla library for Python
+Name:		python-bugzilla
+Version:	0.2
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://wwoods.fedorapeople.org/python-bugzilla/tarballs/%{name}-%{version}.tar.gz
+# Source0-md5:	5253b8ba6bcc819def1184012e0f422a
+URL:		http://wwoods.fedorapeople.org/python-bugzilla/
+BuildRequires:	python-devel >= 1:2.3.0
+BuildRequires:	rpmbuild(macros) >= 1.219
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A Bugzilla library for Python.
+
+%prep
+%setup -q
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%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)
+%attr(755,root,root) %{_bindir}/bugzilla
+%{py_sitescriptdir}/*
+
+%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-02-13 21:56:56  patrys
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list