a03712
%define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
a03712
%define python_lib_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
a03712
cvsdist b1dcca
Summary: GNOME Structured File library
cvsdist 9e50bc
Name: libgsf
54820e
Version: 1.14.3
fa4a8e
Release: 4%{?dist}
cvsdist b1dcca
Group: System Environment/Libraries
cvsdist 9e50bc
License: LGPL
56259f
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.14/%{name}-%{version}.tar.bz2
56259f
URL: http://www.gnome.org/projects/libgsf/
56259f
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
56259f
BuildRequires: glib2-devel, perl-XML-Parser
9c4a43
BuildRequires: libtool, libxml2-devel, gnome-vfs2-devel, bzip2-devel, gettext
89bc91
BuildRequires: libbonobo-devel, pygtk2-devel
d1fb8c
cvsdist b1dcca
%description
cvsdist b1dcca
A library for reading and writing structured files (eg MS OLE and Zip)
cvsdist b1dcca
54820e
%package gnome
54820e
Summary: GNOME integration bits for libgsf
54820e
Group: System Environment/Libraries
54820e
Requires: libgsf = %{version}-%{release}
54820e
Requires: gnome-vfs2
54820e
54820e
%description gnome
54820e
Libraries for using libgsf in conjunction with the GNOME applications
54820e
cvsdist b1dcca
%package devel
56259f
Summary: Support files necessary to compile applications with libgsf
cvsdist b1dcca
Group: Development/Libraries
56259f
Requires: libgsf = %{version}-%{release}, glib2-devel, libxml2-devel
56259f
Requires: pkgconfig
cvsdist b1dcca
cvsdist b1dcca
%description devel
56259f
Libraries, headers, and support files necessary to compile applications using 
56259f
libgsf.
cvsdist b1dcca
54820e
%package gnome-devel
54820e
Summary: Support files necessary to compile applications with libgsf and GNOME
54820e
Group: Development/Libraries
56259f
Requires: libgsf-devel = %{version}-%{release}, gnome-vfs2-devel
54820e
54820e
%description gnome-devel
54820e
Libraries, headers, and support files necessary to compile applications using
54820e
libgsf and GNOME libraries
54820e
632e10
%package python
632e10
Summary: Python bindings for libgsf
632e10
Group: Development/Libraries
632e10
632e10
%description python
632e10
Python bindings for libgsf
632e10
cvsdist b1dcca
%prep
cvsdist 9e50bc
%setup -q
cvsdist b1dcca
cvsdist b1dcca
%build
56259f
%configure --disable-gtk-doc --disable-static
807f9f
make %{?_smp_mflags}
cvsdist b1dcca
cvsdist b1dcca
%install
cvsdist 9e50bc
rm -rf $RPM_BUILD_ROOT
56259f
make DESTDIR=$RPM_BUILD_ROOT install
670c3d
%find_lang libgsf
cvsdist 9e50bc
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
a03712
rm -f $RPM_BUILD_ROOT/%{python_lib_sitearch}/gsf/*.la
cvsdist 9e50bc
cvsdist 9e50bc
%post -p /sbin/ldconfig
cvsdist 9e50bc
cvsdist 9e50bc
%postun -p /sbin/ldconfig
cvsdist b1dcca
670c3d
%files -f libgsf.lang
56259f
%defattr(-,root,root,-)
cvsdist b1dcca
%doc AUTHORS COPYING README
54820e
%{_libdir}/libgsf-1.so.*
9180a7
%{_bindir}/gsf-office-thumbnailer
9180a7
%{_sysconfdir}/gconf/schemas/gsf-office-thumbnailer.schemas
72344a
%{_mandir}/man1/gsf-office-thumbnailer.1.gz
cvsdist b1dcca
54820e
%files gnome
56259f
%defattr(-,root,root,-)
54820e
%{_libdir}/libgsf-gnome-1.so.*
54820e
56259f
%post gnome -p /sbin/ldconfig
56259f
56259f
%postun gnome -p /sbin/ldconfig
56259f
cvsdist b1dcca
%files devel
56259f
%defattr(-,root,root,-)
632e10
%{_bindir}/gsf
632e10
%{_bindir}/gsf-vba-dump
54820e
%{_libdir}/libgsf-1.so
54820e
%{_libdir}/pkgconfig/libgsf-1.pc
fa4a8e
%dir %{_includedir}/libgsf-1
54820e
%{_includedir}/libgsf-1/gsf
54820e
%{_includedir}/libgsf-1/gsf-win32
807f9f
%{_datadir}/gtk-doc/html/gsf
cvsdist b1dcca
54820e
%files gnome-devel
56259f
%defattr(-,root,root,-)
54820e
%{_libdir}/libgsf-gnome-1.so
54820e
%{_libdir}/pkgconfig/libgsf-gnome-1.pc
54820e
%{_includedir}/libgsf-1/gsf-gnome
54820e
632e10
%files python
56259f
%defattr(-,root,root,-)
a03712
%dir %{python_py_sitearch}/gsf
a03712
%{python_py_sitearch}/gsf/__init__.*
a03712
%dir %{python_lib_sitearch}/gsf
a03712
%{python_lib_sitearch}/gsf/*.so
632e10
cvsdist b1dcca
%clean
cvsdist b1dcca
rm -r $RPM_BUILD_ROOT
cvsdist b1dcca
cvsdist b1dcca
%changelog
fa4a8e
* Sun Mar 25 2007 Caolan McNamara <caolanm@redhat.com> 1.14.3-4
fa4a8e
- Resolves rhbz#233862 unowned directory fix from Michael Schwendt
fa4a8e
56259f
* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> 1.14.3-3
56259f
- some spec cleanups
56259f
9d4210
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 1.14.3-2
9d4210
- rebuild for python 2.5
9d4210
54820e
* Thu Nov 09 2006 Caolan McNamara <caolanm@redhat.com> 1.14.3-1
54820e
- bump to 1.14.3
54820e
54820e
* Wed Nov  1 2006 Dan Williams <dcbw@redhat.com> - 1.14.2-2
54820e
- Split to remove gnome-vfs2 dependency on core sub-packages
54820e
632e10
* Mon Oct 09 2006 Caolan McNamara <caolanm@redhat.com> - 1.14.2-1
632e10
- bump to 1.14.2
632e10
d1fb8c
* Fri Jul 14 2006 Bill Nottingham <notting@redhat.com> - 1.14.1-6
d1fb8c
- gnome-vfs2-devel no longer requires libbonobo-devel; add it as a buildreq
d1fb8c
9c4a43
* Wed Jul 13 2006 Jesse Keating <jkeating@redhat.com> - 1.14.1-5
5f8d22
- rebuild
9c4a43
- add missing br gettext
5f8d22
a6948b
* Mon May 29 2006 Caolan McNamara <caolanm@redhat.com> 1.14.1-4
a6948b
- rh#193417# Add BuildRequires perl-XML-Parser
a6948b
546c1d
* Tue May 23 2006 Caolan McNamara <caolanm@redhat.com> 1.14.1-3
5dcc19
- rh#192707# disable rebuilding of gtk-doc so as to allow multi-arch devel
5dcc19
fb1ed4
* Wed May 10 2006 Matthias Clasen <mclasen@redhat.com> 1.14.1-2
fb1ed4
- Update to 1.14.1
fb1ed4
f20f81
* Mon Mar 20 2006 Caolan McNamara <caolanm@redhat.com> 1.14.0-1
f20f81
- next version
f20f81
11bf1f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.13.3-2.2.1
11bf1f
- bump again for double-long bug on ppc(64)
11bf1f
95ae93
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.13.3-2.2
95ae93
- rebuilt for new gcc4.1 snapshot and glibc changes
95ae93
966340
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
966340
- rebuilt
966340
e96caf
* Mon Dec  5 2005 Caolan McNamara <caolanm@redhat.com> 1.13.3-2
e96caf
- rh#172062# Obsolete extras libgsf113
e96caf
94b43d
* Fri Dec  2 2005 Matthias Clasen <mclasen@redhat.com> 1.13.3-1
94b43d
- Update to 1.13.3
94b43d
6b5ea5
* Tue Sep 20 2005 Caolan McNamara <caolanm@redhat.com> 1.12.3-1
6b5ea5
- bump to next version
72344a
- add manpage for gsf-office-thumbnailer
6b5ea5
cf1a8a
* Fri Aug 26 2005 Caolan McNamara <caolanm@redhat.com> 1.12.2-1
cf1a8a
- bump to latest version
cf1a8a
5d6589
* Wed Jun 15 2005 Caolan McNamara <caolanm@redhat.com> 1.12.1-1
5d6589
- bump to latest version
5d6589
49230b
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 1.12.0-1
49230b
- bump to latest version
807f9f
- clean spec
49230b
c334f7
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 1.11.1-2
1eab22
- rebuild with gcc4
1eab22
7b6b7d
* Thu Dec 16 2004 Caolan McNamara <caolanm@redhat.com> 1.11.1-1
7b6b7d
- upgrade to 1.11.1
7b6b7d
cvsdist 599b30
* Tue Aug 31 2004 Caolan McNamara <caolanm@redhat.com> 1.10.1-1
cvsdist 599b30
- upgrade to 1.10.1
cvsdist 599b30
cvsdist a45bc7
* Wed Aug 18 2004 Caolan McNamara <caolanm@redhat.com> 1.10.0-1
cvsdist a45bc7
- upgrade to 1.10.0
cvsdist a45bc7
cvsdist e90639
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist e90639
- rebuilt
cvsdist e90639
cvsdist 78c662
* Thu May  6 2004 Dams <anvil[at]livna.org> 1.9.0-2
cvsdist 78c662
- -devel now requires libgsf=version-release
cvsdist 78c662
- Added smp_mflags
cvsdist 78c662
- Fixed double included .so files
cvsdist 78c662
cvsdist 78c662
* Wed May 5 2004 Caolan McNamara <caolanm@redhat.com> 1.9.0-1
cvsdist 78c662
* upgrade to 1.9.0 to get crash fixes
cvsdist 78c662
cvsdist 78c662
* Sun Apr 11 2004 Warren Togami <wtogami@redhat.com> 1.8.2-3
cvsdist 78c662
- BR libtool libxml2-devel gnome-vfs2-devel bzip2-devel
cvsdist 78c662
- -devel req glib2-devel libxml2-devel gnome-vfs2-devel
cvsdist 78c662
cvsdist 06f5e8
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 06f5e8
- rebuilt
cvsdist 06f5e8
cvsdist 06f5e8
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 06f5e8
- rebuilt
cvsdist 06f5e8
cvsdist 06f5e8
* Mon Jan 12 2004 Jonathan Blandford <jrb@redhat.com> 1.8.2-1
cvsdist 06f5e8
- make $includedir/libgsf-1 owned by -devel
cvsdist 06f5e8
cvsdist 9e50bc
* Fri Sep 19 2003 Havoc Pennington <hp@redhat.com> 1.8.2-1
cvsdist 9e50bc
- 1.8.2
cvsdist 9e50bc
cvsdist 9e50bc
* Wed Aug 13 2003 Jonathan Blandford <jrb@redhat.com>
cvsdist 9e50bc
- rebuild
cvsdist 9e50bc
cvsdist 9e50bc
* Wed Aug  6 2003 Elliot Lee <sopwith@redhat.com> 1.8.1-5
cvsdist 9e50bc
- Fix libtool
cvsdist 9e50bc
cvsdist 9e50bc
* Sat Jul 12 2003 Jeremy Katz <katzj@redhat.com> 1.8.1-4
cvsdist 9e50bc
- use system libtool so that lib64 library deps are correct
cvsdist 9e50bc
cvsdist 9e50bc
* Thu Jul 10 2003 Jeremy Katz <katzj@redhat.com> 1.8.1-3
cvsdist 9e50bc
- forcibly disable gtk-doc (openjade is broken on s390)
cvsdist 9e50bc
cvsdist 9e50bc
* Mon Jul  7 2003 Jeremy Katz <katzj@redhat.com> 1.8.1-2
cvsdist 9e50bc
- ldconfig in %%post/%%postun
cvsdist c10541
cvsdist 9e50bc
* Sun Jul  6 2003 Jeremy Katz <katzj@redhat.com> 1.8.1-1
cvsdist 9e50bc
- use standard macros
cvsdist 9e50bc
- build for Red Hat Linux
cvsdist b1dcca
cvsdist 9e50bc
* Tue May 13 2003 Rui M. Seabra <rms@407.org>
cvsdist 9e50bc
- fix spec to reflect current stat of the build
cvsdist b1dcca
cvsdist b1dcca
* Tue Jun 18 2002 Rui M. Seabra <rms@407.org>
cvsdist b1dcca
- set permission correctly
cvsdist b1dcca
- fix common mistake of Copyright flag into License flag.
cvsdist b1dcca
cvsdist b1dcca
* Thu May 23 2002 Jody Goldberg <jody@gnome.org>
cvsdist b1dcca
- Initial version