Moved rpm inside trunk - rpm specific files will still be separated but also part...
[svn/Prometheus-QoS/.git] / rpm / prometheus.spec
... / ...
CommitLineData
1Summary: Traffic shaper replacement for Internet Service Providers (ISP).
2Name: prometheus
3Version: 0.7.7
4Release: 4
5License: GPL
6Vendor: Arachne Labs http://www.arachne.cz
7Packager: Tomas Lastovicka <aquarius@lamer.cz>
8Group: Applications/System
9Source0: http://gpl.arachne.cz/download/%name-%version.tar.gz
10Patch0: prometheus-conf-rh.patch
11URL: http://gpl.arachne.cz
12Requires: iptables, iproute
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14
15%description
16QoS (or Quality-of-service) is traffic shaper replacement for Internet Service
17Providers (ISP). Dump your vintage hard-wired routers/shapers (C|sco, etc.)
18in favour of powerful open source and free solution.
19
20Prometheus QoS generates multiple nested HTB tc classes with various rate and
21ceil values, and implements optional daily traffic quotas and data transfer
22statistics (as HTML). It is compatible with NAT, both asymetrical and
23symetrical, yet still provides good two-way shaping and prioritizing, both
24upload and download.
25
26Prometheus QoS was written in C<<1 and depends on HTB algorithm hardcoded
27in Linux kernel. It is currently being tested in real-world enviroment to
28provide QoS services on internet gateway and proxy being used by 1500+ members
29of CZFree.Net broadband community network.
30
31%prep
32%setup -q
33%patch0 -p0
34
35%build
36make %{_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40mkdir -p %{buildroot}%{_sbindir}
41mkdir -p %{buildroot}%{_mandir}/man1
42mkdir -p %{buildroot}%{_mandir}/man5
43mkdir -p %{buildroot}%{_sysconfdir}/cron.d
44mkdir -p %{buildroot}%{_sysconfdir}/prometheus
45
46%makeinstall
47
48%clean
49rm -rf %{buildroot}
50
51%files
52%defattr(-,root,root)
53%{_sbindir}/prometheus
54%{_mandir}/man1/prometheus.1*
55%{_mandir}/man5/prometheus.conf.5*
56%config(noreplace) %{_sysconfdir}/cron.d/prometheus
57%config(noreplace) %{_sysconfdir}/prometheus/prometheus.conf
58%config(noreplace) %{_sysconfdir}/prometheus/hosts
59
60%changelog
61* Sun Jan 6 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-4
62- added sample configuration files
63- added patch which reflects different locations of some files in redhat-like distros
64
65* Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-3
66- removed screen from dependencies
67- cleaned up cron file
68
69* Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-2
70- added manual pages
71- added crontab file
72
73* Fri Dec 28 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-1
74- update to latest upstream upstream 0.7.7
75
76* Mon Dec 03 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.1-1
77- Upgraded to newest version, first *real* build :).
78
79* Sun Dec 02 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7-1
80- Initial RPM release.
This page took 0.181238 seconds and 4 git commands to generate.