Name: popproxy Version: 0.1.1 Release: 1 License: GPL Group: System Environment/Daemons Summary: POP3 Proxy Vendor: Holoscópio Tecnologia Ltda. URL: http://holoscopio.com/ Source: popproxy-%{version}.tar.gz BuildRequires: glib2-devel gnutls-devel gdbm-devel Buildroot: %{_tmppath}/%{name}-%{version}-root %description POP3 Proxy with SSL support and user access control. %define _sysconfdir /etc %prep %setup -q %build %configure make %install rm -rf %{buildroot} %makeinstall install -D -m 755 popproxy.init %{buildroot}/etc/init.d/popproxy %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/popproxy %{_bindir}/ppmanager %config /etc/popproxy.conf /etc/init.d/popproxy %dir /etc/pki/popproxy/ %post mkdir /var/lib/popproxy chkconfig --add popproxy %preun if [ "$1" == 0 ]; then /sbin/service popproxy stop > /dev/null 2>&1 fi %postun if [ "$1" -ge 1 ]; then /sbin/service popproxy condrestart > /dev/null 2>&1 fi %changelog * Tue Jul 07 2009 Thadeu Lima de Souza Cascardo - Added remove and upgrade scripts