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