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