PID is now also tried to be stored to: /tmp
[udpgate.git] / udpgate.spec.in
index 6d20589..2b33d9a 100644 (file)
@@ -26,6 +26,7 @@ Version: @VERSION@
 Release: %{release}
 Group: Applications/Communications
 Packager: Jan Kratochvil <project-udpgate@jankratochvil.net>
+URL: http://www.jankratochvil.net/project/udpgate/
 Source: http://www.jankratochvil.net/project/udpgate/dist/@PACKAGE@-@VERSION@.tar.gz
 Copyright: GPL
 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
@@ -37,15 +38,10 @@ BuildRequires: libgnomeui-devel
 Requires: libgnomeui
 
 %description
-Existing binary Microsoft Windows file system drivers were exploited
-for accessing drives with possibly proprietary file system data structures.
-Open file system API is provided to access these file system drivers.
-Microsoft Windows system components required by these drivers
-were analyzed and successfuly emulated in the GNU/Linux operating system.
-
-The implementation allows applications running under the GNU/Linux operating
-system to access NTFS drives. File system driver compatibility with VFAT,
-ISO9660 and EXT2 is also provided.
+Utility will transparently provide virtual MMS center on your personal
+computer.  As GSM operators usually block all the alternate service gateways
+they should not be able to block all the personal gateways of all their
+customers.
 
 %prep
 %setup
@@ -64,16 +60,18 @@ make DESTDIR=$RPM_BUILD_ROOT install-strip
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%{_bindir}/@PACKAGE@ --text --startup-on
+%{_bindir}/@PACKAGE@ --text --startup-on  || true
 
 %preun
-%{_bindir}/@PACKAGE@ --text --startup-off
+%{_bindir}/@PACKAGE@ --text --startup-off || true
 
 %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@
+# Do not: /etc/rc.d/init.d/...
+# to comply with http://www.linuxbase.org/spec/booksets/LSB-Core/LSB-Core.html#INITSRCINSTRM
+%attr(755,root,root) %{_sysconfdir}/init.d/@PACKAGE@
 # %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@
 %{_bindir}/@PACKAGE@
 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo