]> git.pld-linux.org Git - packages/python-bugzilla.git/commitdiff
- initial release
authorPatryk Zawadzki <patrys@room-303.com>
Wed, 13 Feb 2008 21:56:56 +0000 (21:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-bugzilla.spec -> 1.1

python-bugzilla.spec [new file with mode: 0644]

diff --git a/python-bugzilla.spec b/python-bugzilla.spec
new file mode 100644 (file)
index 0000000..b354c2b
--- /dev/null
@@ -0,0 +1,42 @@
+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}/*
This page took 0.120961 seconds and 4 git commands to generate.