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