Mercurial > sm-archive
comparison sm-archive.spec.in @ 19:b24369330483 stable-1-0-7
Fedora 9 compile and const correctness.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 12 Jun 2008 18:17:33 -0700 |
parents | 8ebecad6530f |
children | 09564d4acd9e |
comparison
equal
deleted
inserted
replaced
18:e1a028daceb9 | 19:b24369330483 |
---|---|
7 License: GPLv3+ | 7 License: GPLv3+ |
8 Group: System Environment/Daemons | 8 Group: System Environment/Daemons |
9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz | 9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz |
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | 10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
11 URL: http://www.five-ten-sg.com/%{name}/ | 11 URL: http://www.five-ten-sg.com/%{name}/ |
12 AutoReqProv: no | |
13 | 12 |
14 Requires(pre): /usr/sbin/useradd | 13 Requires(pre): /usr/sbin/useradd |
15 Requires(pre): /usr/bin/getent | 14 Requires(pre): /usr/bin/getent |
16 Requires(postun): /usr/sbin/userdel | 15 Requires(postun): /usr/sbin/userdel |
17 Requires(post,preun): /sbin/chkconfig | 16 Requires(post,preun): /sbin/chkconfig |
18 Requires(post,preun): /sbin/service | 17 Requires(post,preun): /sbin/service |
19 BuildRequires: sendmail-devel >= 8.12.1 | 18 BuildRequires: sendmail-devel >= 8.12.1 |
20 Requires: sendmail >= 8.12.1 | 19 Requires: sendmail >= 8.12.1 |
21 Requires: sendmail-cf | 20 Requires: sendmail-cf |
22 Requires: libc.so.6, libgcc_s.so.1, libm.so.6, libpthread.so.0, libstdc++.so.6 | |
23 | 21 |
24 | 22 |
25 %description | 23 %description |
26 This milter adds recipient addresses to messages passing thru it, based | 24 This milter adds recipient addresses to messages passing thru it, based |
27 on a configuration file. | 25 on a configuration file. |
42 | 40 |
43 %install | 41 %install |
44 rm -rf $RPM_BUILD_ROOT | 42 rm -rf $RPM_BUILD_ROOT |
45 make DESTDIR=$RPM_BUILD_ROOT install | 43 make DESTDIR=$RPM_BUILD_ROOT install |
46 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | 44 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
47 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/sm-archive/sm-archive $RPM_BUILD_ROOT/etc/rc.d/init.d | 45 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d |
48 mkdir -p $RPM_BUILD_ROOT/var/run/%{name} | 46 mkdir -p $RPM_BUILD_ROOT/var/run/%{name} |
49 | 47 |
50 | 48 |
51 %pre | 49 %pre |
52 /usr/bin/getent passwd sm-archive >/dev/null || useradd -r -d /etc/sm-archive -M -c "sm-archive pseudo-user" -s /sbin/nologin sm-archive >/dev/null | 50 /usr/bin/getent passwd sm-archive >/dev/null || useradd -r -d /etc/sm-archive -M -c "sm-archive pseudo-user" -s /sbin/nologin sm-archive >/dev/null |
83 /etc/rc.d/init.d/%{name} | 81 /etc/rc.d/init.d/%{name} |
84 %dir %attr(0750,%{name},root) /var/run/%{name} | 82 %dir %attr(0750,%{name},root) /var/run/%{name} |
85 | 83 |
86 | 84 |
87 %changelog | 85 %changelog |
88 * Fri Mar 21 2008 Carl Byington <carl@five-ten-sg.com> - 1.6 | 86 * Thu Jun 12 2008 Carl Byington <carl@five-ten-sg.com> - 1.7-1 |
87 - Fedora 9 compile and const correctness. | |
88 | |
89 * Fri Mar 21 2008 Carl Byington <carl@five-ten-sg.com> - 1.6-1 | |
89 - changes for Fedora packaging guidelines | 90 - changes for Fedora packaging guidelines |
90 | 91 |
91 * Fri Mar 10 2006 Carl Byington <carl@five-ten-sg.com> -1.0 | 92 * Fri Mar 10 2006 Carl Byington <carl@five-ten-sg.com> -1.0 |
92 - use autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html | 93 - use autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html |