%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: fas-plugin-bugzilla Version: 0.1 Release: 1%{?dist} Summary: Bugzilla plugin for FAS2 Group: Development/Languages License: GPLv2 URL: https://fedorahosted.org/fas/ Source0: fas-plugin-asterisk-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: python-devel TurboGears %if 0%{?fedora} >= 8 BuildRequires: python-setuptools-devel %else BuildRequires: python-setuptools %endif #BuildRequires: fas Requires: fas >= 0.8.4.2 %description Bugzilla plugin for FAS2 %prep %setup -q %build %{__python} setup.py build %install %{__rm} -rf %{buildroot} %{__python} setup.py install --skip-build --root %{buildroot} %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) #%doc docs/* %{python_sitelib}/fas_bugzilla %{python_sitelib}/*.egg-info %changelog * Thu Oct 22 2009 Thomas Spura - 0.1-1 - Initial package (mostly copied from asterisk plugin)