Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1809 → Rev 1813

/conf/rpms/havp-0.92a-1.1.spec
1,11 → 1,12
Summary: HTTP anti-virus proxy filter
Name: havp
Version: 0.92a
Release: 1.1%{?dist}
Release: 1%{?dist}
License: GPLv2
Group: Security
URL: https://sourceforge.net/projects/havp/
Source: %{name}-%{version}.tar.gz
Patch1: havp-init.diff
Packager: Richard REY (Rexy)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: clamav-devel
24,7 → 25,7
 
%prep
%setup
 
%patch1 -p0
%build
%configure
%make
32,9 → 33,9
%install
rm -rf %{buildroot}
install -d %{buildroot}%{_initrddir}
cp etc/init.d/havp %{buildroot}%{_initrddir}/havp
cp /etc/init.d/havp %{buildroot}%{_initrddir}/havp
install -d %{buildroot}/lib/systemd/system/
cp lib/systemd/system/havp.service %{buildroot}/lib/systemd/system/
cp /lib/systemd/system/havp.service %{buildroot}/lib/systemd/system/
install -d %{buildroot}%{_localstatedir}/run/havp/
install -d %{buildroot}%{_localstatedir}/log/havp/
%makeinstall
50,7 → 51,7
 
%preun
if [ $1 -eq 0 ]; then
/usr/bin/systemctl havp stop
/usr/bin/systemctl stop havp.service
/usr/bin/systemctl -q disable havp.service
fi
 
74,7 → 75,7
 
%changelog
* Sun Apr 3 2016 Rexy for ALCASAR project
- Rebuild 0.92-1.1 for Mga5
- Rebuild 0.92a.1 for Mga5
 
* Thu Jul 07 2014 jb <jeanbaptiste.couprit@gmail.com> - 0.92-1.1
- Created .spec file to build rpms for Mageia4 (x86_64 & i586).