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-nosferatu
|
---|
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: python-nosferatu-%{version}.tar.bz2
|
---|
14 | BuildRequires: python-devel
|
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
16 | %if 0%{?suse_version} && 0%{?suse_version} > 1110
|
---|
17 | BuildArch: noarch
|
---|
18 | %endif
|
---|
19 |
|
---|
20 | # py_requires is no longer needed since 11.3
|
---|
21 | %if 0%{?suse_version}
|
---|
22 | %{py_requires}
|
---|
23 | %endif
|
---|
24 |
|
---|
25 |
|
---|
26 | %description
|
---|
27 | python-nosferatu is the backend library for dassModus.
|
---|
28 | More Info on http://www.dassmodus.org
|
---|
29 |
|
---|
30 | %prep
|
---|
31 | %setup -q
|
---|
32 |
|
---|
33 |
|
---|
34 | %build
|
---|
35 | %{__python} setup.py build
|
---|
36 |
|
---|
37 |
|
---|
38 | %install
|
---|
39 | %if 0%{?suse_version}
|
---|
40 | %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
---|
41 | %else
|
---|
42 | %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
|
---|
43 | %endif
|
---|
44 |
|
---|
45 |
|
---|
46 | %files -f INSTALLED_FILES
|
---|
47 | %defattr(-,root,root)
|
---|
48 |
|
---|
49 | %changelog
|
---|
Note:
See
TracBrowser
for help on using the repository browser.