1 |
# $Id: smeserver-htbwshaper-1.0.spec,v 1.6 2009/03/03 11:50:05 dungog Exp $ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
%define name smeserver-htbwshaper |
6 |
%define version 1.0 |
7 |
%define release 6 |
8 |
|
9 |
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 |
Patch1: smeserver-htbwshaper-1.0-fixdups.patch |
18 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
19 |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
Requires: e-smith-base |
22 |
|
23 |
%description |
24 |
SME Server admin interface for HTBwondershaper |
25 |
|
26 |
%changelog |
27 |
* Tue Mar 3 2009 Shad L. Lords <slords@mail.com> - 1.0-6 |
28 |
- Fix duplicate translation tags so pootle can import |
29 |
|
30 |
* Sat Feb 28 2009 Stephen Noble <support@dungog.net> - 1.0-5 |
31 |
- add masq restart [SME 5005] |
32 |
- bump version numbers to build on contribs |
33 |
|
34 |
* Sat Feb 28 2009 Stephen Noble <support@dungog.net> - 1.0-2 |
35 |
- rebuild closer to SME standards [SME 5005] |
36 |
|
37 |
* Thu Feb 05 2009 ASPerience <contact@asperience.fr> [ 0.1.0-ASP_1] |
38 |
- Release 0.1.0-ASP_1 |
39 |
- create rpm for smeserver-htbwshaper |
40 |
|
41 |
%prep |
42 |
%setup |
43 |
%patch1 -p1 |
44 |
|
45 |
%build |
46 |
perl createlinks |
47 |
|
48 |
mkdir -p root/etc/e-smith/events/local |
49 |
ln -s /etc/htbwshaper root/etc/e-smith/events/local/S80htbwshaper |
50 |
|
51 |
%install |
52 |
rm -rf $RPM_BUILD_ROOT |
53 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
54 |
rm -f %{name}-%{version}-filelist |
55 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
56 |
> %{name}-%{version}-filelist |
57 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
58 |
|
59 |
%clean |
60 |
cd .. |
61 |
rm -rf %{name}-%{version} |
62 |
|
63 |
%files -f %{name}-%{version}-filelist |
64 |
%defattr(-,root,root) |
65 |
|
66 |
%post |
67 |
%preun |
68 |
%postun |
69 |
|