# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: python-dassmodus Version: 0.2 Release: 1 Summary: Python Package to edit Bacula Configuration Files License: Your Package License Group: Development/Libraries/Python Source: %{name}-%{version}.tar.bz2 BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} > 1110 BuildArch: noarch %endif # py_requires is no longer needed since 11.3 %if 0%{?suse_version} %{py_requires} %endif Requires: python-qt4 Requires: python-nosferatu %description dassModus is the frontend for editing bacula configuration files. More Info on http://www.dassmodus.org %prep %setup -q %build %{__python} setup.py build %install %if 0%{?suse_version} %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES %else %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES %endif %files -f INSTALLED_FILES %defattr(-,root,root) %changelog