@ install -d $(DESTDIR)/$(ETCDIR)/$(APPN)/
@ install -d $(DESTDIR)/$(LIBDIR)/$(APPN)/
@ install -d $(DESTDIR)/$(SBINDIR)/
+ @ install -d $(DESTDIR)/$(SPOOLDIR)/$(APPN)/
@ cp -a \
bin/* \
$(DESTDIR)/$(SBINDIR)/
LIBDIR = /usr/lib
DATADIR = /usr/share
SBINDIR = /usr/sbin
+SPOOLDIR= /var/spool
ETCDIR = /etc
CURDIR = $(shell pwd)
#--------------------------------------------------------------------
#-----------------------------------------------------------------------------
%{?!dist: %define dist @@DIST@@}
+%define spooldir %{_localstatedir}/spool/
#-----------------------------------------------------------------------------
Name : @@APPN@@
Version : @@VERSION@@
%{_sbindir}/receiver
%{_sbindir}/sender
%{_sbindir}/sorter
-%attr(0755,root,root) %{_libdir}/%{name}/shell/*.sh
+%attr(0754,root,root) %{_libdir}/%{name}/shell/*.sh
+%attr(0754,root,root) %{_libdir}/%{name}/support/starting.sh
+%dir %{spooldir}/%{name}
#-----------------------------------------------------------------------------