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