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