Summary: The SSL Proxy Server
Name: sslproxy
-Version: 1.0.0
+Version: 1.0.1
Release: 0
License: LGPL
Packager: Toru Morishita
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/init.d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/l7vs/sslproxy
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -c -m 755 -D src/sslproxy src/sslproxyadm $RPM_BUILD_ROOT%{_sbindir}
install -c -m 644 -D conf/sslproxy.target_1.cf $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
install -c -m 644 -D conf/sslproxy.target_2.cf $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
install -c -m 644 -D conf/sslproxyadm.cf $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
-install -c -m 644 -D conf/sslproxyadm.logrotate $RPM_BUILD_ROOT%/etc/logrotate.d/sslproxy
+install -c -m 644 -D conf/sslproxyadm.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sslproxy
install -c -m 644 -D sslfiles/root.pem $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
install -c -m 644 -D sslfiles/server.pem $RPM_BUILD_ROOT%{_sysconfdir}/l7vs/sslproxy
rm -rf $RPM_BUILD_ROOT
%post
-mkdir /var/log/l7vs/sslproxy
+mkdir -p /var/log/l7vs/sslproxy
%files
%defattr(-, root, root, 0755)
%{_sbindir}
#%config %{_sysconfdir}/init.d/*
%config %{_sysconfdir}/l7vs/sslproxy/*
+%config %{_sysconfdir}/logrotate.d/sslproxy
#%doc README COPYING
#%{_mandir}