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