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