1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.1 |
3 |
%define release 2 |
4 |
Summary: bandwidthd is a helpdesk system |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
10 |
Group: SMEserver/addon |
11 |
Source: smeserver-bandwidthd-%{version}.tar.gz |
12 |
BuildArchitectures: noarch |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
14 |
BuildRequires: e-smith-devtools |
15 |
Requires: e-smith-release >= 8.0 |
16 |
Requires: bandwidthd |
17 |
AutoReqProv: no |
18 |
|
19 |
%description |
20 |
bandwidthd is an application adapted as a contrib for SMEserver |
21 |
|
22 |
%changelog |
23 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
24 |
- few enhancement and bug fixing |
25 |
- added link in manager |
26 |
|
27 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
28 |
- initial release |
29 |
- builds from unchanged .tar.gz |
30 |
|
31 |
%prep |
32 |
%setup |
33 |
|
34 |
%build |
35 |
perl createlinks |
36 |
|
37 |
%install |
38 |
rm -rf $RPM_BUILD_ROOT |
39 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
40 |
rm -f %{name}-%{version}-filelist |
41 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
42 |
> %{name}-%{version}-filelist |
43 |
|
44 |
%clean |
45 |
rm -rf $RPM_BUILD_ROOT |
46 |
|
47 |
%files -f %{name}-%{version}-filelist |
48 |
%defattr(-,root,root) |
49 |
|
50 |
|