Cosmetic: Force the bundle disable.
authorshort <>
Sun, 23 May 2004 21:32:47 +0000 (21:32 +0000)
committershort <>
Sun, 23 May 2004 21:32:47 +0000 (21:32 +0000)
+postinst/preuninst script autostart.
+Init script RPM listing.

udpgate.spec.in

index aa30ca4..6d20589 100644 (file)
@@ -53,7 +53,8 @@ ISO9660 and EXT2 is also provided.
 %build
 %configure \
                --enable-shared --disable-static \
-               --enable-man-pages
+               --enable-man-pages \
+               --disable-bundle
 make
 
 %install
@@ -62,9 +63,17 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%{_bindir}/@PACKAGE@ --text --startup-on
+
+%preun
+%{_bindir}/@PACKAGE@ --text --startup-off
+
 %files
 %defattr(-,root,root)
 %doc README NEWS AUTHORS
 %attr(644,root,root) %{_mandir}/man?/@PACKAGE@.*
+%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/@PACKAGE@
+# %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@
 %{_bindir}/@PACKAGE@
 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo