6d20589ff5ebd4304911322e27aa6048f78f0066
[udpgate.git] / udpgate.spec.in
1 # $Id$
2 # rpm package description file for building
3 # Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
4
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
8
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.
13
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
17
18
19 # Temporary cludge before full 'devel' package gets deployed
20 %define _unpackaged_files_terminate_build 0
21
22 Summary: UDP packets gatewaying utility
23 Name: @PACKAGE@
24 %define release 0
25 Version: @VERSION@
26 Release: %{release}
27 Group: Applications/Communications
28 Packager: Jan Kratochvil <project-udpgate@jankratochvil.net>
29 Source: http://www.jankratochvil.net/project/udpgate/dist/@PACKAGE@-@VERSION@.tar.gz
30 Copyright: GPL
31 BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
32 BuildRequires: popt
33 Requires: popt
34 BuildRequires: glib2-devel
35 Requires: glib2
36 BuildRequires: libgnomeui-devel
37 Requires: libgnomeui
38
39 %description
40 Existing binary Microsoft Windows file system drivers were exploited
41 for accessing drives with possibly proprietary file system data structures.
42 Open file system API is provided to access these file system drivers.
43 Microsoft Windows system components required by these drivers
44 were analyzed and successfuly emulated in the GNU/Linux operating system.
45
46 The implementation allows applications running under the GNU/Linux operating
47 system to access NTFS drives. File system driver compatibility with VFAT,
48 ISO9660 and EXT2 is also provided.
49
50 %prep
51 %setup
52
53 %build
54 %configure \
55                 --enable-shared --disable-static \
56                 --enable-man-pages \
57                 --disable-bundle
58 make
59
60 %install
61 make DESTDIR=$RPM_BUILD_ROOT install-strip
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %{_bindir}/@PACKAGE@ --text --startup-on
68
69 %preun
70 %{_bindir}/@PACKAGE@ --text --startup-off
71
72 %files
73 %defattr(-,root,root)
74 %doc README NEWS AUTHORS
75 %attr(644,root,root) %{_mandir}/man?/@PACKAGE@.*
76 %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/@PACKAGE@
77 # %config(noreplace) %{_sysconfdir}/sysconfig/@PACKAGE@
78 %{_bindir}/@PACKAGE@
79 %{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo