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 |
|
---|
7 | Name: python-dassmodus
|
---|
8 | Version: 0.2
|
---|
9 | Release: 1
|
---|
10 | Summary: Python Package to edit Bacula Configuration Files
|
---|
11 | License: Your Package License
|
---|
12 | Group: Development/Libraries/Python
|
---|
13 | Source: %{name}-%{version}.tar.bz2
|
---|
14 | BuildRequires: python-devel
|
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
16 |
|
---|
17 | %if 0%{?suse_version} && 0%{?suse_version} > 1110
|
---|
18 | BuildArch: 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 |
|
---|
26 | Requires: python-qt4
|
---|
27 | Requires: python-nosferatu
|
---|
28 |
|
---|
29 | %description
|
---|
30 | dassModus is the frontend for editing bacula configuration files.
|
---|
31 | More 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.