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