packages: svs/svs.spec - blind files

glen glen at pld-linux.org
Sun Oct 9 17:41:43 CEST 2011


Author: glen                         Date: Sun Oct  9 15:41:43 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- blind files

---- Files affected:
packages/svs:
   svs.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/svs/svs.spec
diff -u packages/svs/svs.spec:1.1 packages/svs/svs.spec:1.2
--- packages/svs/svs.spec:1.1	Sun Oct  9 17:35:40 2011
+++ packages/svs/svs.spec	Sun Oct  9 17:41:38 2011
@@ -17,6 +17,9 @@
 BuildRequires:	rpmbuild(macros) >= 1.129
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_sysconfdir	/etc/samba
+%define		_vfsdir		%{_libdir}/samba/vfs
+
 %description
 Samba Virus Scanner (SVS) -- Samba VFS plugin for transparent and
 parallel on-access virus scans.
@@ -30,7 +33,9 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_vfsdir}}
+cp -p svs.ini.example $RPM_BUILD_ROOT%{_sysconfdir}/svs.ini
+install -p libsvs*.so* $RPM_BUILD_ROOT%{_vfsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -38,6 +43,8 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES FAQ TODO README svs.ini.example
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/svs.ini
+%attr(755,root,root) %{_vfsdir}/libsvs*.so
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -45,5 +52,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/10/09 15:41:38  glen
+- blind files
+
 Revision 1.1  2011/10/09 15:35:40  glen
 - base spec created
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/svs/svs.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list