]> git.pld-linux.org Git - packages/bopm.git/blobdiff - bopm.spec
- package bopm.conf.blitzed in doc
[packages/bopm.git] / bopm.spec
index d867bc8493ae186e0cc3458f43d383f21d74efaa..679eb30500c34442d9b31be5d63dc65c249ebe9a 100644 (file)
--- a/bopm.spec
+++ b/bopm.spec
@@ -9,12 +9,11 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 %bcond_without supervise       # install initscript instead of supervise
-#
 Summary:       Open proxy monitor and blocker, designed for use with ircds
 Summary(pl.UTF-8):     Monitorowanie i blokowanie otwartych proxy do używania z ircd
 Name:          bopm
 Version:       3.1.3
-Release:       1
+Release:       3
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://static.blitzed.org/www.blitzed.org/bopm/files/%{name}-%{version}.tar.gz
@@ -160,13 +159,15 @@ mkfifo $RPM_BUILD_ROOT%{_supervise}/{,log/}supervise/ok
 
 %else
 install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
-install -d $RPM_BUILD_ROOT/var/run/%{name}
 %endif
 
+install -d $RPM_BUILD_ROOT/var/run/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
 > $RPM_BUILD_ROOT/var/log/%{name}/bopm.log
 > $RPM_BUILD_ROOT/var/log/%{name}/scan.log
 
+rm $RPM_BUILD_ROOT%{_datadir}/bopm.conf.blitzed
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -212,7 +213,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog INSTALL README bopm.conf.sample
+%doc ChangeLog INSTALL README bopm.conf.sample bopm.conf.blitzed
 %doc contrib/ network-bopm/
 %attr(640,root,bopm) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
 %attr(755,root,root) %{_sbindir}/%{name}
@@ -229,9 +230,9 @@ fi
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_supervise}/log/supervise/*
 %else
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
-%attr(770,root,bopm) %dir /var/run/%{name}
 %endif
 
+%attr(770,root,bopm) %dir /var/run/%{name}
 %attr(770,root,bopm) %dir /var/log/%{name}
 %attr(640,bopm,bopm) %ghost /var/log/%{name}/bopm.log
 %attr(640,bopm,bopm) %ghost /var/log/%{name}/scan.log
This page took 0.096951 seconds and 4 git commands to generate.