X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=fakebo.spec;h=3ae495036859e667beb8cdbe7b31a7ae2d31875b;hb=78ff4ad64d23ffd98461cef60b7da3ac5d388193;hp=1e136e6c69f584cd8d7acefbb4b91d9d90895e71;hpb=699b3d8f3e88b10d757cf4848dac1b92c6b521e1;p=packages%2Ffakebo.git diff --git a/fakebo.spec b/fakebo.spec index 1e136e6..3ae4950 100644 --- a/fakebo.spec +++ b/fakebo.spec @@ -2,17 +2,16 @@ Summary: Fakes trojan servers and logs incoming requests Summary(pl): Program udaj±cy trojany i loguj±cy nadchodz±ce po³±czenia Name: fakebo Version: 0.4.1 -Release: 2 +Release: 5 License: GPL Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery Source0: ftp://ftp.linux.hr/pub/fakebo/%{name}-%{version}.tar.gz +# Source0-md5: 442b48ba44250104c30a6e7975230b7c Source1: %{name}.init URL: http://cvs.linux.hr/fakebo/ BuildRequires: autoconf -Prereq: rc-scripts -Prereq: /sbin/chkconfig +PreReq: rc-scripts +Requires(post,preun): /sbin/chkconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -30,7 +29,7 @@ klienta pr %setup -q %build -autoconf +%{__autoconf} %configure %{__make} @@ -38,12 +37,11 @@ autoconf rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/rc.d/init.d -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo -gzip -9nf HACKING AUTHORS TODO NEWS ChangeLog README custom.replies - %clean rm -rf $RPM_BUILD_ROOT @@ -56,7 +54,7 @@ else fi -%postun +%preun if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/fakebo ]; then /etc/rc.d/init.d/fakebo stop 1>&2 @@ -66,7 +64,7 @@ fi %files %defattr(644,root,root,755) -%doc *.gz +%doc HACKING AUTHORS TODO NEWS ChangeLog README custom.replies %attr(755,root,root) %{_bindir}/fakebo %attr(754,root,root) /etc/rc.d/init.d/fakebo %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fakebo.conf