2 %define version @VERSION@
6 Summary: GNOME Structured File library
11 Group: System Environment/Libraries
14 Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/libgsf/%{name}-%{version}.tar.gz
15 Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
16 URL: http://www.gnumeric.org
18 Requires: glib2 >= 2.6.0
19 BuildRequires: glib2-devel >= 2.6.0
22 A library for reading and writing structured files (eg MS OLE and Zip)
25 Summary: Support files necessary to compile applications with libgsf.
26 Group: Development/Libraries
30 Libraries, headers, and support files necessary to compile applications using libgsf.
38 MYARCH_FLAGS="--host=alpha-redhat-linux"
41 if [ ! -f configure ]; then
42 CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix}
44 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
47 if [ "$SMP" != "" ]; then
48 (make "MAKE=make -k -j $SMP"; exit 0)
55 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
56 mkdir -p $RPM_BUILD_ROOT%{prefix}
57 make prefix=$RPM_BUILD_ROOT%{prefix} install
60 %defattr(644,root,root,755)
61 %doc AUTHORS COPYING README
62 %{prefix}/lib/lib*.so*
65 %defattr(644,root,root,755)
67 %{prefix}/lib/pkgconfig/libgsf-*1.pc
68 %{prefix}/include/libgsf-1/*
69 %{prefix}/share/doc/libgsf/html/*
75 * Tue May 13 2003 Rui M. Seabra <rms@407.org>
76 - fix spec to reflect current stat of the build
78 * Tue Jun 18 2002 Rui M. Seabra <rms@407.org>
79 - set permission correctly
80 - fix common mistake of Copyright flag into License flag.
82 * Thu May 23 2002 Jody Goldberg <jody@gnome.org>