Mercurial > sm-archive
comparison sm-archive.spec.in @ 2:32b57406b656
initial version
author | carl |
---|---|
date | Fri, 10 Mar 2006 10:47:12 -0800 |
parents | 45c8592d5d13 |
children | 311e331f1bab |
comparison
equal
deleted
inserted
replaced
1:45c8592d5d13 | 2:32b57406b656 |
---|---|
57 datadir=$RPM_BUILD_ROOT%{_datadir} \ | 57 datadir=$RPM_BUILD_ROOT%{_datadir} \ |
58 includedir=$RPM_BUILD_ROOT%{_includedir} \ | 58 includedir=$RPM_BUILD_ROOT%{_includedir} \ |
59 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install | 59 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install |
60 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | 60 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
61 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ | 61 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ |
62 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/sm-archive $RPM_BUILD_ROOT/etc/rc.d/init.d | 62 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/sm-archive/sm-archive $RPM_BUILD_ROOT/etc/rc.d/init.d |
63 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ | 63 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ |
64 mkdir -p %{buildroot}/var/run/@PACKAGE@ | 64 mkdir -p %{buildroot}/var/run/@PACKAGE@ |
65 | 65 |
66 | 66 |
67 %pre | 67 %pre |
68 /usr/bin/getent passwd sm-archive >/dev/null || | 68 /usr/bin/getent passwd sm-archive >/dev/null || |