"Fossies" - the Fresh Open Source Software Archive

Member "hermes-1.9/dists/hermes.spec" (9 Sep 2014, 2771 Bytes) of package /linux/privat/hermes-1.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "hermes.spec": 1.8_vs_1.9.

    1 Summary:        An anti-spam SMTP proxy
    2 Name:           hermes
    3 Version:        1.9
    4 Release:        0
    5 License:        GPL
    6 Group:          System Environment/Daemons
    7 Packager:       Veit Wahlich <cru@zodia.de>
    8 URL:            http://www.hermes-project.com/
    9 Source0:        http://www.hermes-project.com/files/%{name}-%{version}.tar.bz2
   10 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root
   11 
   12 %description
   13 hermes is a generic, lightweight, portable and fast anti-spam smtp proxy.
   14 Supports greylisting, dns blacklisting/whitelisting, protocol throttling, banner delaying, spf and some
   15 other tricks to reject most spam before it even enters your system.
   16 
   17 %prep
   18 %setup -q
   19 
   20 %build
   21 %configure --docdir=%{_datadir}/doc/%{name}-%{version}
   22 %__make %{?_smp_mflags}
   23 
   24 %install
   25 %__rm -rf %{buildroot}
   26 %__make DESTDIR=%{buildroot} install
   27 %__mkdir_p %{buildroot}%{_sysconfdir}/rc.d/init.d
   28 %__mkdir_p %{buildroot}%{_sysconfdir}/hermes
   29 %__mkdir_p %{buildroot}%{_localstatedir}/hermes
   30 %__install -m 0755 dists/fc_init %{buildroot}%{_sysconfdir}/rc.d/init.d/hermes
   31 %__install -m 0600 dists/hermesrc.example %{buildroot}%{_sysconfdir}/hermes/hermesrc
   32 
   33 %clean
   34 %__rm -rf %{buildroot}
   35 
   36 %post
   37 /sbin/chkconfig --add hermes
   38 
   39 %preun
   40 if [ $1 = 0 ]; then # execute this only if we are NOT doing an upgrade
   41     %{_sysconfdir}/rc.d/init.d/hermes stop >/dev/null 2>&1
   42     /sbin/chkconfig --del hermes
   43 fi
   44 exit 0
   45 
   46 %files
   47 %defattr(-, root, root, 0755)
   48 %doc ChangeLog TODO AUTHORS dists/hermesrc.example docs/hermes-options.html docs/installing-hermes.txt docs/gpl.txt
   49 %{_bindir}/hermes
   50 %{_sysconfdir}/rc.d/init.d/hermes
   51 %config %{_sysconfdir}/hermes/hermesrc
   52 %dir %attr(0700,nobody,nobody) %{_localstatedir}/hermes
   53 
   54 %changelog
   55 * Thu Jun 14 2007 Juan José Gutiérrez de Quevedo <juanjo@gutierrezdequevedo.com> 1.4
   56 - removed patches, they are now on upstream
   57 
   58 * Fri May 25 2007 Veit Wahlich <cru@zodia.de> 1.3-2
   59 - added patch fix_whether (documentation fixes)
   60 - added patch add_rejectnoresolve (reject on no DNS reverse resolution feature)
   61 - changed RPM group to system daemon standard
   62 
   63 * Sat May 19 2007 Veit Wahlich <cru@zodia.de> 1.3-1
   64 - Made /etc/hermes/hermesrc readonly as it may contain passwords
   65 - Fixed ownership and permissions of /var/hermes to match configuration default
   66 - Silenced setup macro output as required by some distributions
   67 - Fixed docdir to a LSB compliant location, will be replaced by rpmbuild
   68 - Packaged extra documentation
   69 - Removed hermes-options.html.in from docs
   70 - Use directory macros for files section
   71 - Further specfile cleanups and macro usage
   72 
   73 * Tue May 15 2007 Juan José Gutiérrez de Quevedo <juanjo@gutierrezdequevedo.com>
   74 - Fixed rpm to create /var/hermes
   75 
   76 * Fri Apr 11 2007 Juan José Gutiérrez de Quevedo <juanjo@gutierrezdequevedo.com>
   77 - Initial release