+postinst/preuninst script autostart.
+Init script RPM listing.
%build
%configure \
--enable-shared --disable-static \
- --enable-man-pages
+ --enable-man-pages \
+ --disable-bundle
make
%install
%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