1 |
%define name smeserver-bandwidthd |
2 |
%define version 2.0.1.1 |
3 |
%define release 4 |
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 |
Patch0: smeserver-bandwidthd-2.0.1.1-authfix.patch |
13 |
Patch1: smeserver-bandwidthd-2.0.1.1-mysqlinit.patch |
14 |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 8.0 |
18 |
Requires: bandwidthd |
19 |
AutoReqProv: no |
20 |
|
21 |
%description |
22 |
bandwidthd is an application adapted as a contrib for SMEserver |
23 |
|
24 |
%changelog |
25 |
* Sun Dec 29 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-4.sme |
26 |
- fix missing mysql.init |
27 |
- fix http auth error |
28 |
|
29 |
* Fri Dec 27 2013 JP Pialasse <tests@pialasse.com> 2.0.1.1-2.sme |
30 |
- few enhancement and bug fixing |
31 |
- added link in manager |
32 |
|
33 |
* Thu Dec 26 2013 CONTRIB MAKER <tests@pialasse.com> 2.0.1.1-1.sme |
34 |
- initial release |
35 |
- builds from unchanged .tar.gz |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
%patch0 -p1 |
40 |
%patch1 -p1 |
41 |
|
42 |
%build |
43 |
perl createlinks |
44 |
|
45 |
%install |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
rm -f %{name}-%{version}-filelist |
49 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
50 |
> %{name}-%{version}-filelist |
51 |
|
52 |
%clean |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
|
55 |
%files -f %{name}-%{version}-filelist |
56 |
%defattr(-,root,root) |
57 |
|
58 |
|