Moved rpm inside trunk - rpm specific files will still be separated but also part...
[svn/Prometheus-QoS/.git] / rpm / prometheus.spec
diff --git a/rpm/prometheus.spec b/rpm/prometheus.spec
new file mode 100644 (file)
index 0000000..eea812f
--- /dev/null
@@ -0,0 +1,80 @@
+Summary: Traffic shaper replacement for Internet Service Providers (ISP).
+Name: prometheus
+Version: 0.7.7
+Release: 4
+License: GPL
+Vendor: Arachne Labs http://www.arachne.cz
+Packager: Tomas Lastovicka <aquarius@lamer.cz>
+Group: Applications/System
+Source0: http://gpl.arachne.cz/download/%name-%version.tar.gz
+Patch0: prometheus-conf-rh.patch
+URL: http://gpl.arachne.cz
+Requires: iptables, iproute
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+QoS (or Quality-of-service) is traffic shaper replacement for Internet Service
+Providers (ISP). Dump your vintage hard-wired routers/shapers (C|sco, etc.) 
+in favour of powerful open source and free solution.
+
+Prometheus QoS generates multiple nested HTB tc classes with various rate and
+ceil values, and implements optional daily traffic quotas and data transfer
+statistics (as HTML). It is compatible with NAT, both asymetrical and
+symetrical, yet still provides good two-way shaping and prioritizing, both
+upload and download. 
+
+Prometheus QoS was written in C<<1 and depends on HTB algorithm hardcoded
+in Linux kernel. It is currently being tested in real-world enviroment to
+provide QoS services on internet gateway and proxy being used by 1500+ members
+of CZFree.Net broadband community network. 
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+make %{_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+mkdir -p %{buildroot}%{_mandir}/man5
+mkdir -p %{buildroot}%{_sysconfdir}/cron.d
+mkdir -p %{buildroot}%{_sysconfdir}/prometheus
+
+%makeinstall
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_sbindir}/prometheus
+%{_mandir}/man1/prometheus.1*
+%{_mandir}/man5/prometheus.conf.5*
+%config(noreplace) %{_sysconfdir}/cron.d/prometheus
+%config(noreplace) %{_sysconfdir}/prometheus/prometheus.conf
+%config(noreplace) %{_sysconfdir}/prometheus/hosts
+
+%changelog
+* Sun Jan 6 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-4
+- added sample configuration files
+- added patch which reflects different locations of some files in redhat-like distros
+
+* Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-3
+- removed screen from dependencies
+- cleaned up cron file
+
+* Sat Jan 5 2008 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-2
+- added manual pages
+- added crontab file
+
+* Fri Dec 28 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-1
+- update to latest upstream upstream 0.7.7
+
+* Mon Dec 03 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.1-1
+- Upgraded to newest version, first *real* build :).
+
+* Sun Dec 02 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7-1
+- Initial RPM release.
This page took 0.098428 seconds and 4 git commands to generate.