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