rpms/libgsf113/devel README.fedora, NONE, 1.1 libgsf113.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Nov 28 15:18:00 UTC 2005


Author: jwrdegoede

Update of /cvs/extras/rpms/libgsf113/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31527/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.fedora libgsf113.spec 
Log Message:
auto-import libgsf113-1.13.3-3 on branch devel from libgsf113-1.13.3-3.src.rpm


--- NEW FILE README.fedora ---
This Fedora Extras version (1.13) of libgsf has been installed in its own
prefix to allow it to be installed next to the Fedora Core version.

If you want to build any packages against this version then do:
export PKG_CONFIG_PATH=/usr/lib/libgsf-1.13/lib/pkgconfig
before running ./configure

Note on x86_64 you should do:
export PKG_CONFIG_PATH=/usr/lib64/libgsf-1.13/lib/pkgconfig

In a spec file add the following to the %build section :
export PKG_CONFIG_PATH=%{_libdir}/libgsf-1.13/lib/pkgconfig
Add this line above the %configure line.


--- NEW FILE libgsf113.spec ---
Summary: GNOME Structured File library 1.13
Name: libgsf113
Version: 1.13.3
Release: 3
Group: System Environment/Libraries
License: LGPL
URL: http://freshmeat.net/projects/libgsf/
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libgsf/1.13/libgsf-%{version}.tar.bz2
Source1: README.fedora
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: glib2 >= 2.2.0
Requires: /etc/ld.so.conf.d
BuildRequires: glib2-devel >= 2.2.0
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: gnome-vfs2-devel
BuildRequires: bzip2-devel

%description
A library for reading and writing structured files (eg MS OLE and Zip)

%package devel
Summary: Support files necessary to compile applications with libgsf 1.13
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
# pkgconfig
Requires: glib2-devel
Requires: libxml2-devel
# headers included
Requires: gnome-vfs2-devel

%description devel
Libraries, headers, and support files necessary to compile applications using libgsf.

%define libgsfdir %{_libdir}/libgsf-1.13

%prep
%setup -q -n libgsf-%{version}

%build
export CFLAGS=$RPM_OPT_FLAGS
./configure --enable-gtk-doc --prefix=%{libgsfdir}
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install prefix=$RPM_BUILD_ROOT/%{libgsfdir}

# The .mo file also removed in core, which I used as a base dunno why.
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/share/locale/es/LC_MESSAGES/libgsf.mo
# .la files must die.
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/lib/*.la
# gsf-office-thumbnailer is an app which is not needed for building against
# libgsf. gsf-office-thumbnailer version 1.2 is provided by the core package.
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/bin/gsf-office-thumbnailer
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/etc/gconf/schemas/gsf-office-thumbnailer.schemas
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/share/man/man1/gsf-office-thumbnailer.1
# remove unneeded static lib.
rm -f $RPM_BUILD_ROOT/%{libgsfdir}/lib/*.a
# remove docs, this is duplicate with the core package.
rm -rf $RPM_BUILD_ROOT/%{libgsfdir}/share/gtk-doc/html/gsf

mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
echo "%{libgsfdir}/lib" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/libgsf113-%{_arch}.conf

# rpm doesn't seem to like putting %{SOURCE1} after %doc, so fix it this way
cp %{SOURCE1} .

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README README.fedora
%{libgsfdir}/lib/lib*.so.*
%config /etc/ld.so.conf.d/libgsf113-%{_arch}.conf

%files devel
%defattr(-,root,root)
%{libgsfdir}/lib/*.so
%{libgsfdir}/lib/pkgconfig/*.pc
%{libgsfdir}/include/libgsf-1

%clean
rm -r $RPM_BUILD_ROOT

%changelog
* Mon Nov 28 2005 Hans de Goede <j.w.r.degoede at hhs.nl> 1.13.3-3
- add README.fedora describing howto use libgsf-1.13 when compiling

* Mon Nov 28 2005 Hans de Goede <j.w.r.degoede at hhs.nl> 1.13.3-2
- Add URL tag (kinda strange but the best I could do)
- make configfile %%config
- add comments to file removal part of %%install

* Sat Nov 26 2005 Hans de Goede <j.w.r.degoede at hhs.nl> 1.13.3-1
- fork of a seperate (newer) libgsf113 package for extras this is needed
  for recent gnumeric and gnucash releases.

* Tue Sep 20 2005 Caolan McNamara <caolanm at redhat.com> 1.12.3-1
- bump to next version
- add manpage for gsf-office-thumbnailer

* Fri Aug 26 2005 Caolan McNamara <caolanm at redhat.com> 1.12.2-1
- bump to latest version

* Wed Jun 15 2005 Caolan McNamara <caolanm at redhat.com> 1.12.1-1
- bump to latest version

* Wed Mar  2 2005 Caolan McNamara <caolanm at redhat.com> 1.12.0-1
- bump to latest version
- clean spec

* Wed Mar  2 2005 Caolan McNamara <caolanm at redhat.com> 1.11.1-2
- rebuild with gcc4

* Thu Dec 16 2004 Caolan McNamara <caolanm at redhat.com> 1.11.1-1
- upgrade to 1.11.1

* Tue Aug 31 2004 Caolan McNamara <caolanm at redhat.com> 1.10.1-1
- upgrade to 1.10.1

* Wed Aug 18 2004 Caolan McNamara <caolanm at redhat.com> 1.10.0-1
- upgrade to 1.10.0

* Tue Jun 15 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Thu May  6 2004 Dams <anvil[AT]livna.org> 1.9.0-2
- -devel now requires libgsf=version-release
- Added smp_mflags
- Fixed double included .so files

* Wed May 5 2004 Caolan McNamara <caolanm at redhat.com> 1.9.0-1
* upgrade to 1.9.0 to get crash fixes

* Sun Apr 11 2004 Warren Togami <wtogami at redhat.com> 1.8.2-3
- BR libtool libxml2-devel gnome-vfs2-devel bzip2-devel
- -devel req glib2-devel libxml2-devel gnome-vfs2-devel

* Tue Mar 02 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Mon Jan 12 2004 Jonathan Blandford <jrb at redhat.com> 1.8.2-1
- make $includedir/libgsf-1 owned by -devel

* Fri Sep 19 2003 Havoc Pennington <hp at redhat.com> 1.8.2-1
- 1.8.2

* Wed Aug 13 2003 Jonathan Blandford <jrb at redhat.com>
- rebuild

* Wed Aug  6 2003 Elliot Lee <sopwith at redhat.com> 1.8.1-5
- Fix libtool

* Sat Jul 12 2003 Jeremy Katz <katzj at redhat.com> 1.8.1-4
- use system libtool so that lib64 library deps are correct

* Thu Jul 10 2003 Jeremy Katz <katzj at redhat.com> 1.8.1-3
- forcibly disable gtk-doc (openjade is broken on s390)

* Mon Jul  7 2003 Jeremy Katz <katzj at redhat.com> 1.8.1-2
- ldconfig in %%post/%%postun

* Sun Jul  6 2003 Jeremy Katz <katzj at redhat.com> 1.8.1-1
- use standard macros
- build for Red Hat Linux

* Tue May 13 2003 Rui M. Seabra <rms at 407.org>
- fix spec to reflect current stat of the build

* Tue Jun 18 2002 Rui M. Seabra <rms at 407.org>
- set permission correctly
- fix common mistake of Copyright flag into License flag.

* Thu May 23 2002 Jody Goldberg <jody at gnome.org>
- Initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libgsf113/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	28 Nov 2005 15:17:20 -0000	1.1
+++ .cvsignore	28 Nov 2005 15:17:58 -0000	1.2
@@ -0,0 +1 @@
+libgsf-1.13.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libgsf113/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	28 Nov 2005 15:17:20 -0000	1.1
+++ sources	28 Nov 2005 15:17:58 -0000	1.2
@@ -0,0 +1 @@
+b35e95f6bd7b8add9981b6cf6336674a  libgsf-1.13.3.tar.bz2




More information about the fedora-extras-commits mailing list