Mercurial > dnsbl
comparison dnsbl.spec.in @ 207:2d8690ba9693
more changes for packaging, %doc seems to remove the doc directory before copying the files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 05 Mar 2008 00:12:00 -0800 |
parents | e9c05e8460b0 |
children | ec5cb59a7368 |
comparison
equal
deleted
inserted
replaced
206:e9c05e8460b0 | 207:2d8690ba9693 |
---|---|
52 | 52 |
53 %install | 53 %install |
54 rm -rf $RPM_BUILD_ROOT | 54 rm -rf $RPM_BUILD_ROOT |
55 make DESTDIR=$RPM_BUILD_ROOT install | 55 make DESTDIR=$RPM_BUILD_ROOT install |
56 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | 56 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
57 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} | |
57 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d | 58 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d |
58 mkdir -p %{buildroot}/var/run/%{name} | 59 mv -f AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version} |
60 mkdir -p $RPM_BUILD_ROOT/var/run/%{name} | |
59 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autowhite | 61 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/autowhite |
60 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/.spamassassin | 62 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/.spamassassin |
61 | 63 |
62 | 64 |
63 %pre | 65 %pre |
85 %files | 87 %files |
86 %defattr(-,root,root,-) | 88 %defattr(-,root,root,-) |
87 %{_sbindir}/* | 89 %{_sbindir}/* |
88 %{_mandir}/man1/* | 90 %{_mandir}/man1/* |
89 %{_mandir}/man5/* | 91 %{_mandir}/man5/* |
90 %doc AUTHORS COPYING ChangeLog NEWS README | |
91 %docdir %{_datadir}/doc/%{name}-%{version} | 92 %docdir %{_datadir}/doc/%{name}-%{version} |
92 %doc %{_datadir}/doc/%{name}-%{version}/* | |
93 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name} | 93 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name} |
94 /etc/rc.d/init.d/%{name} | 94 /etc/rc.d/init.d/%{name} |
95 %dir %attr(0750,%{name},root) /var/run/%{name} | 95 %dir %attr(0750,%{name},root) /var/run/%{name} |
96 | 96 |
97 | 97 |