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