X-Git-Url: https://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=prometheus.spec;h=eea812f7a3597b6fda7e705103dff5ed62848948;hp=cfc54abc130badcde3e2330679c75bed0998e5bc;hb=6f5053d58fdee30c59282ddec03a250e7df7cba7;hpb=7691792b20e5e2529ab1b47536a5b36129383e8f diff --git a/prometheus.spec b/prometheus.spec index cfc54ab..eea812f 100644 --- a/prometheus.spec +++ b/prometheus.spec @@ -1,12 +1,13 @@ Summary: Traffic shaper replacement for Internet Service Providers (ISP). Name: prometheus Version: 0.7.7 -Release: 1 +Release: 4 License: GPL Vendor: Arachne Labs http://www.arachne.cz Packager: Tomas Lastovicka 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) @@ -29,6 +30,7 @@ of CZFree.Net broadband community network. %prep %setup -q +%patch0 -p0 %build make %{_smp_mflags} @@ -36,6 +38,10 @@ 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 @@ -45,8 +51,25 @@ 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 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 0.7.7-3 +- removed screen from dependencies +- cleaned up cron file + +* Sat Jan 5 2008 Tomas Lastovicka 0.7.7-2 +- added manual pages +- added crontab file + * Fri Dec 28 2007 Tomas Lastovicka 0.7.7-1 - update to latest upstream upstream 0.7.7