source: dassmodus/trunk/dassmodus/packaging/python-dassmodus.spec@ 965

Last change on this file since 965 was 965, checked in by pstorz, on Oct 18, 2011 at 5:24:31 PM

spec files

File size: 1.2 KB
Line 
1#
2# This file and all modifications and additions to the pristine
3# package are under the same license as the package itself.
4#
5# norootforbuild
6
7Name: python-dassmodus
8Version: 0.2
9Release: 1
10Summary: Python Package to edit Bacula Configuration Files
11License: Your Package License
12Group: Development/Libraries/Python
13Source: %{name}-%{version}.tar.bz2
14BuildRequires: python-devel
15BuildRoot: %{_tmppath}/%{name}-%{version}-build
16
17%if 0%{?suse_version} && 0%{?suse_version} > 1110
18BuildArch: noarch
19%endif
20
21# py_requires is no longer needed since 11.3
22%if 0%{?suse_version}
23%{py_requires}
24%endif
25
26Requires: python-qt4
27Requires: python-nosferatu
28
29%description
30dassModus is the frontend for editing bacula configuration files.
31More Info on http://www.dassmodus.org
32
33%prep
34%setup -q
35
36
37%build
38%{__python} setup.py build
39
40
41%install
42%if 0%{?suse_version}
43%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
44%else
45%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
46%endif
47
48%files -f INSTALLED_FILES
49%defattr(-,root,root)
50
51%changelog
Note: See TracBrowser for help on using the repository browser.