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