2 # rpm package description file for building
3 # Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; exactly version 2 of June 1991 is required
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 # Temporary cludge before full 'devel' package gets deployed
20 %define _unpackaged_files_terminate_build 0
22 Summary: UDP packets gatewaying utility
27 Group: Applications/Communications
28 Packager: Jan Kratochvil <project-udpgate@jankratochvil.net>
29 URL: http://www.jankratochvil.net/project/udpgate/
30 Source: http://www.jankratochvil.net/project/udpgate/dist/@PACKAGE@-@VERSION@.tar.gz
32 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
35 BuildRequires: glib2-devel
37 BuildRequires: libgnomeui-devel
41 Utility will transparently provide virtual MMS center on your personal
42 computer. As GSM operators usually block all the alternate service gateways
43 they should not be able to block all the personal gateways of all their
51 --enable-shared --disable-static \
57 make DESTDIR=$RPM_BUILD_ROOT install-strip
60 rm -rf $RPM_BUILD_ROOT
63 %{_bindir}/@PACKAGE@ --text --startup-on || true
66 %{_bindir}/@PACKAGE@ --text --startup-off || true
70 %doc README NEWS AUTHORS
71 %attr(644,root,root) %{_mandir}/man?/@PACKAGE@.*
72 # Do not: /etc/rc.d/init.d/...
73 # to comply with http://www.linuxbase.org/spec/booksets/LSB-Core/LSB-Core.html#INITSRCINSTRM
74 %attr(755,root,root) %{_sysconfdir}/init.d/@PACKAGE@
75 # %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@
77 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo