SPECS: qscanq.spec - builds and packages

glen glen at pld-linux.org
Sun May 7 21:53:51 CEST 2006

Author: glen                         Date: Sun May  7 19:53:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- builds and packages

---- Files affected:
   qscanq.spec (1.2 -> 1.3) 

---- Diffs:

Index: SPECS/qscanq.spec
diff -u SPECS/qscanq.spec:1.2 SPECS/qscanq.spec:1.3
--- SPECS/qscanq.spec:1.2	Wed Jul 13 19:28:45 2005
+++ SPECS/qscanq.spec	Sun May  7 21:53:45 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Skanowanie antywirusowe dla Qmaila
 Name:		qscanq
 Version:	0.43
-Release:	0.1
+Release:	0.2
 License:	BSD-like
 Group:		Applications
 Source0:	http://jeenyus.net/~budney/software/qscanq/%{name}-%{version}.tar.gz
@@ -12,6 +12,8 @@
 Requires:	qmail
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define		_libexecdir	%{_libdir}/qmail
 Qscanq scans every email message submitted to qmail before allowing it
 to be added to qmail's mail queue. Infected emails are rejected, not
@@ -31,27 +33,45 @@
 cd %{name}-%{version}/src
+echo '%{_prefix}' > home
+echo '%{__cc} %{rpmcflags}' > conf-cc
+echo '%{__cc}' > conf-ld
+echo '%(id -un)
+%(id -un)' > conf-users
+echo '%(id -un)' > conf-groups
-cd %{name}-%{version}
+%{__make} -j1
-%{__make} install \
+cd %{name}-%{version}/src
+install -d $RPM_BUILD_ROOT%{_libexecdir}
+install qscanq $RPM_BUILD_ROOT%{_libexecdir}
+install cleanq $RPM_BUILD_ROOT%{_libexecdir}
+install run-antivir $RPM_BUILD_ROOT%{_libexecdir}
+install run-cleanq $RPM_BUILD_ROOT%{_libexecdir}
+install install-post $RPM_BUILD_ROOT%{_libexecdir}
+install install-cleanq $RPM_BUILD_ROOT%{_libexecdir}
+install install-unwrap $RPM_BUILD_ROOT%{_libexecdir}
+install install-wrap $RPM_BUILD_ROOT%{_libexecdir}
+install qscanq-stdin $RPM_BUILD_ROOT%{_libexecdir}
-%doc %{name}-%{version}/{AUTHORS,CREDITS,ChangeLog,NEWS,README,THANKS,TODO}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
-%attr(755,root,root) %{_bindir}/*
-%attr(754,root,root) /etc/rc.d/init.d/%{name}
-%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%doc %{name}-%{version}/src/{Changelog,TODO,TEST-*}
+%attr(755,root,root) %{_libexecdir}/cleanq
+%attr(755,root,root) %{_libexecdir}/install-cleanq
+%attr(755,root,root) %{_libexecdir}/install-post
+%attr(755,root,root) %{_libexecdir}/install-unwrap
+%attr(755,root,root) %{_libexecdir}/install-wrap
+%attr(755,root,root) %{_libexecdir}/qscanq
+%attr(755,root,root) %{_libexecdir}/qscanq-stdin
+%attr(755,root,root) %{_libexecdir}/run-antivir
+%attr(755,root,root) %{_libexecdir}/run-cleanq
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -59,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
+Revision 1.3  2006/05/07 19:53:45  glen
+- builds and packages
 Revision 1.2  2005/07/13 17:28:45  qboosh
 - pl fixes
 - don't use / in setup -n

---- CVS-web:

More information about the pld-cvs-commit mailing list