target "make deb" + skript pro tvorbu debianiho balicku
[svn/Prometheus-QoS/.git] / prometheus.spec
CommitLineData
a4f661fc 1Summary: Traffic shaper replacement for Internet Service Providers (ISP).
2Name: prometheus
7691792b 3Version: 0.7.7
6f5053d5 4Release: 4
a4f661fc 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
6f5053d5 10Patch0: prometheus-conf-rh.patch
a4f661fc 11URL: http://gpl.arachne.cz
f3a93fac 12Requires: iptables, iproute
a4f661fc 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
6f5053d5 33%patch0 -p0
a4f661fc 34
35%build
36make %{_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40mkdir -p %{buildroot}%{_sbindir}
f2600e3c 41mkdir -p %{buildroot}%{_mandir}/man1
42mkdir -p %{buildroot}%{_mandir}/man5
6f5053d5 43mkdir -p %{buildroot}%{_sysconfdir}/cron.d
44mkdir -p %{buildroot}%{_sysconfdir}/prometheus
a4f661fc 45
46%makeinstall
47
48%clean
49rm -rf %{buildroot}
50
51%files
52%defattr(-,root,root)
53%{_sbindir}/prometheus
f2600e3c 54%{_mandir}/man1/prometheus.1*
55%{_mandir}/man5/prometheus.conf.5*
1fd7ec79 56%config(noreplace) %{_sysconfdir}/cron.d/prometheus
6f5053d5 57%config(noreplace) %{_sysconfdir}/prometheus/prometheus.conf
58%config(noreplace) %{_sysconfdir}/prometheus/hosts
a4f661fc 59
60%changelog
6f5053d5 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
f3a93fac 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
f2600e3c 69* Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-2
70- added manual pages
71- added crontab file
72
7691792b 73* Fri Dec 28 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-1
74- update to latest upstream upstream 0.7.7
75
a4f661fc 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.184681 seconds and 4 git commands to generate.