summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fc0fb2d)
CFLAGS=-Wall
prefix=/usr
mandir=$(prefix)/share/man
CFLAGS=-Wall
prefix=/usr
mandir=$(prefix)/share/man
-bindir=$(prefix)/sbin
-crondir=/etc/cron.d
+sbindir=$(prefix)/sbin
+sysconfdir=/etc/
main: prometheus
$(CC) -o prometheus prometheus.c
install: main
main: prometheus
$(CC) -o prometheus prometheus.c
install: main
- install -d $(bindir)
- install -m 755 prometheus $(bindir)
- install -m 755 sample_config/prometheus.cron $(crondir)/prometheus
+ install -d $(sbindir)
+ install -d $(mandir)/man1
+ install -d $(mandir)/man5
+ install -d $(sysconfdir)/cron.d
+ install -m 755 prometheus $(sbindir)
+ install -m 644 prometheus.1 $(mandir)/man1
+ install -m 644 prometheus.conf.5 $(mandir)/man5
+ install -m 755 sample-configuration/prometheus.cron $(sysconfdir)/cron.d/prometheus
Summary: Traffic shaper replacement for Internet Service Providers (ISP).
Name: prometheus
Version: 0.7.7
Summary: Traffic shaper replacement for Internet Service Providers (ISP).
Name: prometheus
Version: 0.7.7
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
URL: http://gpl.arachne.cz
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
URL: http://gpl.arachne.cz
-Requires: iptables, iproute
+Requires: iptables, iproute, screen
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
+mkdir -p %{buildroot}%{_mandir}/man1
+mkdir -p %{buildroot}%{_mandir}/man5
+mkdir -p %{buildroot}%{_sysconfdir}/cron.d/
%files
%defattr(-,root,root)
%{_sbindir}/prometheus
%files
%defattr(-,root,root)
%{_sbindir}/prometheus
+%{_mandir}/man1/prometheus.1*
+%{_mandir}/man5/prometheus.conf.5*
+%{_sysconfdir}/cron.d/prometheus
+* 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
* Fri Dec 28 2007 Tomas Lastovicka <aquarius@lamer.cz> 0.7.7-1
- update to latest upstream upstream 0.7.7