]> git.pld-linux.org Git - SPECS.git/blob - svs.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / svs.spec
1 # TODO
2 # - needs samba sources to compile
3 Summary:        Samba Virus Scanner
4 Name:           svs
5 Version:        0.1.3
6 Release:        0.1
7 License:        GPL v3
8 Group:          Networking/Daemons
9 Source0:        http://downloads.sourceforge.net/svs/%{name}-%{version}.tar.bz2
10 # Source0-md5:
11 URL:            http://sourceforge.net/projects/svs/
12 BuildRequires:  QtCore-devel
13 BuildRequires:  QtTest-devel
14 BuildRequires:  qt4-build >= 4.3.3-3
15 BuildRequires:  qt4-qmake >= 4.3.3-3
16 BuildRequires:  rpmbuild(macros) >= 1.129
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sysconfdir     /etc/samba
20 %define         _vfsdir         %{_libdir}/samba/vfs
21
22 %description
23 Samba Virus Scanner (SVS) -- Samba VFS plugin for transparent and
24 parallel on-access virus scans.
25
26 %prep
27 %setup -qn %{name}
28
29 %build
30 qmake-qt4
31 %{__make}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_vfsdir}}
36 cp -p svs.ini.example $RPM_BUILD_ROOT%{_sysconfdir}/svs.ini
37 install -p libsvs*.so* $RPM_BUILD_ROOT%{_vfsdir}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc CHANGES FAQ TODO README svs.ini.example
45 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/svs.ini
46 %attr(755,root,root) %{_vfsdir}/libsvs*.so
This page took 0.453259 seconds and 3 git commands to generate.