# $Id$ # rpm package description file for building # Copyright (C) 2004 Jan Kratochvil # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; exactly version 2 of June 1991 is required # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Temporary cludge before full 'devel' package gets deployed %define _unpackaged_files_terminate_build 0 Summary: UDP packets gatewaying utility Name: @PACKAGE@ %define release 0 Version: @VERSION@ Release: %{release} Group: Applications/Communications Packager: Jan Kratochvil URL: http://www.jankratochvil.net/project/udpgate/ Source: http://www.jankratochvil.net/project/udpgate/dist/@PACKAGE@-@VERSION@.tar.gz License: GPL BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root BuildRequires: popt Requires: popt BuildRequires: glib2-devel Requires: glib2 BuildRequires: libgnomeui-devel Requires: libgnomeui %description 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 %build %configure \ --enable-shared --disable-static \ --enable-man-pages \ --disable-bundle make %install make DESTDIR=$RPM_BUILD_ROOT install-strip %clean rm -rf $RPM_BUILD_ROOT %post %{_bindir}/@PACKAGE@ --text --startup-on || true %preun %{_bindir}/@PACKAGE@ --text --startup-off || true %files %defattr(-,root,root) %doc README NEWS AUTHORS %attr(644,root,root) %{_mandir}/man?/@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