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