1 |
slords |
1.2 |
# $Id$ |
2 |
slords |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-htbwshaper |
6 |
|
|
%define version 1.0 |
7 |
|
|
%define release 3 |
8 |
|
|
Summary: Install management web console for HTBwondershaper |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GNU GPL version 2 |
13 |
|
|
URL: http://contribs.org |
14 |
|
|
Group: SMEserver/addon |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
Requires: e-smith-base |
19 |
|
|
|
20 |
|
|
%description |
21 |
|
|
SME Server admin interface for HTBwondershaper |
22 |
|
|
|
23 |
|
|
%changelog |
24 |
|
|
* Sat Feb 28 2009 Stephen Noble <support@dungog.net> - 1.0-3 |
25 |
|
|
- add masq restart [SME 5005] |
26 |
|
|
|
27 |
|
|
* Sat Feb 28 2009 Stephen Noble <support@dungog.net> - 1.0-2 |
28 |
|
|
- rebuild closer to SME standards [SME 5005] |
29 |
|
|
|
30 |
|
|
* Thu Feb 05 2009 ASPerience <contact@asperience.fr> [ 0.1.0-ASP_1] |
31 |
|
|
- Release 0.1.0-ASP_1 |
32 |
|
|
- create rpm for smeserver-htbwshaper |
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%setup |
36 |
|
|
|
37 |
|
|
%build |
38 |
|
|
/usr/bin/perl createlinks |
39 |
|
|
|
40 |
|
|
/bin/mkdir -p root/etc/e-smith/events/local |
41 |
|
|
/bin/ln -s /etc/htbwshaper root/etc/e-smith/events/local/S80htbwshaper |
42 |
|
|
|
43 |
|
|
%install |
44 |
|
|
rm -rf $RPM_BUILD_ROOT |
45 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
46 |
|
|
rm -f %{name}-%{version}-filelist |
47 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
48 |
|
|
> %{name}-%{version}-filelist |
49 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
%clean |
52 |
|
|
cd .. |
53 |
|
|
rm -rf %{name}-%{version} |
54 |
|
|
|
55 |
|
|
%files -f %{name}-%{version}-filelist |
56 |
|
|
%defattr(-,root,root) |
57 |
|
|
|
58 |
|
|
%post |
59 |
|
|
%preun |
60 |
|
|
%postun |
61 |
|
|
|