1 |
# $Id: smeserver-htbwshaper-1.0.spec,v 1.4 2009/03/02 23:31:05 dungog Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-htbwshaper |
6 |
%define version 1.0 |
7 |
%define release 4 |
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-4 |
25 |
- add masq restart [SME 5005] |
26 |
- bump version number to build on contribs |
27 |
|
28 |
* Sat Feb 28 2009 Stephen Noble <support@dungog.net> - 1.0-2 |
29 |
- rebuild closer to SME standards [SME 5005] |
30 |
|
31 |
* Thu Feb 05 2009 ASPerience <contact@asperience.fr> [ 0.1.0-ASP_1] |
32 |
- Release 0.1.0-ASP_1 |
33 |
- create rpm for smeserver-htbwshaper |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
|
38 |
%build |
39 |
perl createlinks |
40 |
|
41 |
mkdir -p root/etc/e-smith/events/local |
42 |
ln -s /etc/htbwshaper root/etc/e-smith/events/local/S80htbwshaper |
43 |
|
44 |
%install |
45 |
rm -rf $RPM_BUILD_ROOT |
46 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
47 |
rm -f %{name}-%{version}-filelist |
48 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
49 |
> %{name}-%{version}-filelist |
50 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
51 |
|
52 |
%clean |
53 |
cd .. |
54 |
rm -rf %{name}-%{version} |
55 |
|
56 |
%files -f %{name}-%{version}-filelist |
57 |
%defattr(-,root,root) |
58 |
|
59 |
%post |
60 |
%preun |
61 |
%postun |
62 |
|