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