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