compat (libgal2 gtkhtml3) packages for Fedora Extras

Michael A. Peters mpeters at mac.com
Sun Nov 14 08:18:31 UTC 2004


I discovered I needed these two packages to get gnomesword2 to build in  
FC3.

I have since encountered other people with other software that needs  
the older shared libraries, such as monodoc.

Attached are spec files that are based on the FC2 spec files for those  
packages - it would great if *someone* who is a Fedora Extras would be  
willing to adopt them for Fedora Extras since FC3 ships versions that  
are too new for some software. All the build/install dependencies they  
need are already in FC2 (well, the compat-gtkhtml3 requires the compat- 
libgal2, but ...)

Thanks. It will make life for some people easier if it can be done.

-- 
Cheap Linux CD's
http://mpeters.us/linux/

-------------- next part --------------
%define my_build yjl.1

Summary: gtkhtml library compatability version
Name: compat-gtkhtml3
Version: 3.0.10
Epoch: 0
Release: %{epoch}.%{my_build}
Copyright: LGPL
Group: System Environment/Libraries
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml/gtkhtml-%{version}.tar.gz
Patch0: gtkhtml-3.0.9-gtype.patch
Patch1: gtkhtml-3.0.9-xim.patch
BuildRoot: %{_tmppath}/gtkhtml-%{version}-root
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libgnomeprint22-devel >= 2.2.0
BuildRequires: libgnomeprintui22-devel >= 2.2.1
BuildRequires: libglade2-devel >= 2.0
BuildRequires: compat-libgal2-devel >= 0:1.99.10
BuildRequires: gail-devel
BuildRequires: libsoup-devel
BuildRequires: libtool, gettext
Requires:      compat-libgal2

%description
GtkHTML is a lightweight HTML rendering/printing/editing engine.  It
was originally based on KHTMLW, but is now being developed
independently of it.
This is a compatability version to provide libraries for software that
has not yet moved to the newer GtkHTML

%package devel
Summary: Libraries, includes, etc to develop gtkhtml applications
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libgnomeui-devel >= 2.0
Requires: libgnomeprint22-devel >= 2.2.0
Requires: libgnomeprintui22-devel >= 2.2.1
Requires: libglade2-devel >= 2.0
Requires: compat-libgal2-devel >= 0:1.99.9

%description devel
Libraries and include files that can be used to develop GtkHTML applications.
This package is needed to build software that has not yet moved to the newer
version of GtkHTML.

%prep
%setup -q -n gtkhtml-%{version}
#patch0 -p1 -b .gtype
%patch1 -p1 -b .xim

%build
%configure
export tagname=CC
make LIBTOOL=/usr/bin/libtool

%install
rm -rf $RPM_BUILD_ROOT
export tagname=CC
%makeinstall LIBTOOL=/usr/bin/libtool

rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtkhtml/*.la

%find_lang gtkhtml-3.0

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f gtkhtml-3.0.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING TODO
%{_libdir}/*.so.*
%{_libdir}/*.so.*
%{_libdir}/gtkhtml/*.so
%{_libdir}/bonobo/servers/*.server
%{_datadir}/gtkhtml-3.0

%files devel
%defattr(-, root, root)
%{_includedir}/libgtkhtml-3.0
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/gtkhtml/*.a
%{_libdir}/pkgconfig/*.pc

%changelog
* Sat Oct 16 2004 Michael A. Peters <mpeters at mac.com>
- changed name to compat-name for fc3 compatability

* Wed Mar 10 2004 Jeremy Katz <katzj at redhat.com> 3.0.10-1
- 3.0.10

* Thu Feb 19 2004 Jeremy Katz <katzj at redhat.com> - 3.0.9-6
- rebuild

* Thu Sep 25 2003 Jeremy Katz <katzj at redhat.com> 3.0.9-5
- rebuild

* Thu Sep 25 2003 Jeremy Katz <katzj at redhat.com> 3.0.9-4
- add patch for XIM (#91481)

* Tue Sep 23 2003 Jeremy Katz <katzj at redhat.com> 3.0.9-3
- rebuild

* Fri Sep 19 2003 Jeremy Katz <katzj at redhat.com> 3.0.9-2
- add patch to fix crash on ia64

* Fri Sep 19 2003 Jeremy Katz <katzj at redhat.com> 3.0.9-1
- 3.0.9

* Mon Sep  8 2003 Jeremy Katz <katzj at redhat.com> 
- add some buildrequires (#103901)

* Thu Sep  4 2003 Jeremy Katz <katzj at redhat.com> 3.0.8-3
- patch from upstream copy for new libbonobo oddities (#103730)

* Mon Aug  4 2003 Jeremy Katz <katzj at redhat.com> 3.0.8-1
- 3.0.8

* Thu Jul 10 2003 Jeremy Katz <katzj at redhat.com> 3.0.7-1
- 3.0.7

* Wed Jun 11 2003 Jeremy Katz <katzj at redhat.com> 
- add some buildrequires (#97181)

* Tue Jun 10 2003 Jeremy Katz <katzj at redhat.com> 3.0.5-2
- rebuild

* Mon Jun  9 2003 Jeremy Katz <katzj at redhat.com> 3.0.5-1
- 3.0.5

* Wed Jun 5 2003 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Thu Jun  5 2003 Jeremy Katz <katzj at redhat.com> 3.0.4-3
- rebuild

* Mon May 26 2003 Jeremy Katz <katzj at redhat.com> 3.0.4-2
- rebuild to fix deps

* Sun May 25 2003 Jeremy Katz <katzj at redhat.com> 3.0.4-1
- 3.0.4

* Tue May  6 2003 Jeremy Katz <katzj at redhat.com> 3.0.3-1
- 3.0.3

* Wed Apr 16 2003 Jeremy Katz <katzj at redhat.com> 3.0.2-2
- libtool's revenge

* Wed Apr 16 2003 Jeremy Katz <katzj at redhat.com> 3.0.2-1
- update to 3.0.2

* Sun Apr  6 2003 Jeremy Katz <katzj at redhat.com> 1.1.9-1
- update to 1.1.9

* Mon Mar 24 2003 Jeremy Katz <katzj at redhat.com> 1.1.8-6
- rebuild for new gal

* Mon Feb 24 2003 Elliot Lee <sopwith at redhat.com> 1.1.8-5
- debuginfo rebuild

* Thu Feb 20 2003 Jeremy Katz <katzj at redhat.com> 1.1.8-4
- gtkhtml capplet doesn't need to be in the menus; it's configurable 
  from within evolution

* Mon Feb 10 2003 Akira TAGOH <tagoh at redhat.com> 1.1.8-3
- don't use fontset as default. (#83899)
- improve the default font for CJK.

* Sat Feb  8 2003 Akira TAGOH <tagoh at redhat.com> 1.1.8-2
- hack to modify po dynamically to add currect XLFD for CJK.
- re-enable patches.

* Fri Feb  7 2003 Jeremy Katz <katzj at redhat.com> 1.1.8-1
- 1.1.8
- disable tagoh's patch for now.  it's not applied upstream and ends up 
  backing out some translation changes

* Fri Feb  7 2003 Akira TAGOH <tagoh at redhat.com> 1.1.7-4
- gtkhtml-1.1.7-fixfont.patch: applied to allow fontset by default.
- gtkhtml-po.tar.bz2: to changes default display/print fonts for CJK.
  perhaps it should be removed when the upstream will releases the next version.
- gtkhtml-1.1.7-domain.patch: define GNOME_EXPLICIT_TRANSLATION_DOMAIN as gtkhtml-1.1.

* Wed Feb  5 2003 Bill Nottingham <notting at redhat.com> 1.1.7-2
- fix some spewage to stdout/stderr

* Wed Jan 22 2003 Tim Powers <timp at redhat.com>
- rebuilt

* Fri Dec 13 2002 Jeremy Katz <katzj at redhat.com> 1.1.7-1
- update to 1.1.7

* Tue Nov 12 2002 Jeremy Katz <katzj at redhat.com> 1.1.6-1
- update to 1.1.6

* Thu Nov  7 2002 Jeremy Katz <katzj at redhat.com> 1.1.5-3
- rebuild to really fix Xlib paths now that gnome-libs is fixed

* Tue Nov  5 2002 Jeremy Katz <katzj at redhat.com> 1.1.5-2
- rebuild to fix Xlib paths in .pc files

* Fri Nov  1 2002 Jeremy Katz <katzj at redhat.com> 1.1.5-1
- update to 1.1.5

* Thu Oct 24 2002 Jeremy Katz <katzj at redhat.com> 1.1.4-1
- remove unwanted files from buildroot
- update to 1.1.4

* Thu Sep 26 2002 Jeremy Katz <katzj at redhat.com>
- make sure we get all of the stuff from %%{_datadir}/gtkhtml-1.1

* Wed Sep 25 2002 Jeremy Katz <katzj at redhat.com>
- update to 1.1.2

* Tue Jul 23 2002 Owen Taylor <otaylor at redhat.com>
- Fix problem with finding the closest size

* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Wed Jun 19 2002 Jeremy Katz <katzj at redhat.com>
- update to 1.0.4
- remove .la files

* Thu May 23 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Tue May 14 2002 Jeremy Katz <katzj at redhat.com>
- tweak buildrequires for libcapplet0-devel

* Tue Mar 19 2002 Jeremy Katz <katzj at redhat.com>
- update to gtkhtml 1.0.2

* Thu Mar  7 2002 Jeremy Katz <katzj at redhat.com>
- remove superflous capplet entry (#59698)

* Mon Jan 14 2002 Jeremy Katz <katzj at redhat.com>
- rebuild to get rid of ridiculous libgal18 linkage

* Sat Jan 12 2002 Jeremy Katz <katzj at redhat.com>
- update to 1.0.1

* Sun Dec  2 2001 Jeremy Katz <katzj at redhat.com>
- update to 1.0.0

* Sat Nov 17 2001 Jeremy Katz <katzj at redhat.com>
- update to 0.16.1

* Mon Nov  5 2001 Jeremy Katz <katzj at redhat.com>
- updated to 0.16

* Tue Oct 23 2001 Havoc Pennington <hp at redhat.com>
- 0.15

* Thu Oct  4 2001 Havoc Pennington <hp at redhat.com>
- 0.14
- remove --without-bonobo
- langify

* Mon Aug 20 2001 Alexander Larsson <alexl at redhat.com> 0.9.2-9
- Moved gnome-conf file to the devel package
- Fixes SHOULD-FIX bug #49796

* Mon Jul 30 2001 Alexander Larsson <alexl at redhat.com> 
- Added dependencies on -devel packages from the gtkhtml-devel package

* Fri Jul 20 2001 Alexander Larsson <alexl at redhat.com>
- Add more build dependencies

* Thu Jul 17 2001 Bill Nottingham <notting at redhat.com>
- fix devel package requirements

* Sat Jul  7 2001 Tim Powers <timp at redhat.com>
- changed bad groups
- laguified package

* Tue Jul 03 2001 Havoc Pennington <hp at redhat.com>
- fix X11/libraries -> X11/Libraries, #47137 

* Wed Jun 13 2001 Bill Nottingham <notting at redhat.com>
- fix brokenness due to gal damage

* Wed Jun  6 2001 Bill Nottingham <notting at redhat.com>
- adapt included specfile

-------------- next part --------------
%define my_build yjl.1

Name: compat-libgal2
Version: 1.99.11
Epoch: 0
Release: %{epoch}.%{my_build}
Summary: The GNOME Application Library compatability
Group: System Environment/Libraries
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source0: ftp://ftp.gnome.org/pub/gnome/sources/gal/1.99/gal-%{version}.tar.gz
BuildRequires: libxml2-devel
BuildRequires: libgnomeprint22-devel >= 2.2.0
BuildRequires: libgnomeprintui22-devel >= 2.2.1
BuildRequires: libglade2-devel >= 2.0
BuildRequires: libgnomecanvas-devel >= 2.2.0.2
BuildRequires: gtk2-devel >= 2.0
BuildRequires: libgnomeui-devel >= 2.0
Requires: libgnomecanvas >= 2.2.0.2-1

%description
A collection of GNOME widgets and utility functions.
This is a compatability package for software that has not moved to
libgal2.2

%package devel
Summary: Development files for the GNOME Applications library compatability
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}
Requires: libgnomeprint22-devel, libgnomeprintui22-devel, libglade2-devel
Requires: libgnomecanvas-devel, libgnomeui-devel

%description devel
Development files for the GNOME Applications library.
This is a compatability package for building software that has not
moved to libgal2.2

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

%build
%configure
export tagname=CC
make LIBTOOL=/usr/bin/libtool

%install
export tagname=CC
%makeinstall LIBTOOL=/usr/bin/libtool

rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la

%find_lang gal-%{version}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files -f gal-%{version}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS README
%{_datadir}/gal-2.0
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root)
%{_libdir}/*so
%{_libdir}/*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*

%changelog
* Sat Oct 16 2004 Michael A. Peters <mpeters at mac.com>
- changed name and build for FC3 as a compat package
- for gnomesword

* Wed Mar 10 2004 Jeremy Katz <katzj at redhat.com> 2:1.99.11-1
- update to 1.99.11

* Thu Feb 19 2004 Jeremy Katz <katzj at redhat.com> - 2:1.99.10-3
- rebuild

* Tue Sep 23 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.10-2
- rebuild

* Fri Sep 19 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.10-1
- 1.99.10

* Tue Sep 16 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.9-3.1
- fix for multi-level sorting (#103997)

* Wed Aug  6 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.9-3
- include the symlink that ldconfig will create (#101764)

* Sun Aug  3 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.9-1
- 1.99.9

* Thu Jul 10 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.8-1
- 1.99.8

* Tue Jun 10 2003 Jeremy Katz <katzj at redhat.com> 
- update libgnomecanvas-devel buildrequirement

* Mon Jun  9 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.7-2
- rebuild

* Mon Jun  9 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.7-1
- 1.99.7

* Wed Jun 5 2003 Elliot Lee <sopwith at redhat.com>
- rebuilt

* Thu Jun  5 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.6-3
- rebuild

* Mon May 26 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.6-2
- rebuild to fix deps

* Mon May 26 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.6-1
- make libtool=/usr/bin/libtool

* Sun May 25 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.6-1
- 1.99.6

* Tue May  6 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.4-1
- 1.99.4

* Wed Apr 16 2003 Jeremy Katz <katzj at redhat.com> 2:1.99.3-1
- update to 1.99.3
- change package name

* Mon Mar 24 2003 Jeremy Katz <katzj at redhat.com> 1:0.24-1
- update to 0.24 and the fun of new abi

* Fri Feb  7 2003 Jeremy Katz <katzj at redhat.com> 1:0.23-1
- update to 0.23
- fix epoch on dependencies (#74571)
- include more of the deps for the -devel package (#58040)

* Wed Jan 22 2003 Tim Powers <timp at redhat.com>
- rebuilt

* Fri Dec 13 2002 Jeremy Katz <katzj at redhat.com> 0.22-1
- update to 0.22

* Thu Nov  7 2002 Jeremy Katz <katzj at redhat.com> 0.21-2
- rebuild for fixed X11 libdir path

* Fri Nov  1 2002 Jeremy Katz <katzj at redhat.com> 0.21-1
- update to 0.21

* Thu Oct 24 2002 Jeremy Katz <katzj at redhat.com> 0.20.1-1
- update to 0.20.1
- remove files not being installed from build root

* Wed Sep 25 2002 Jeremy Katz <katzj at redhat.com> 0.20-1
- update to 0.20

* Tue Jul 09 2002 Karsten Hopp <karsten at redhat.de> 0.19.2-4
- added missing BuildRequires (#68204)

* Fri Jun 21 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Thu May 23 2002 Tim Powers <timp at redhat.com>
- automated rebuild

* Mon May 13 2002 Jeremy Katz <katzj at redhat.com>
- update to gal 0.19.2

* Wed Apr 10 2002 Jeremy Katz <katzj at redhat.com>
- include patch to not show popups if the entry doesn't have focus

* Tue Mar 19 2002 Jeremy Katz <katzj at redhat.com>
- update to gal 0.19.1

* Wed Feb 27 2002 Jeremy Katz <katzj at redhat.com>
- rebuild in new environment

* Fri Jan 25 2002 Havoc Pennington <hp at redhat.com>
- rebuild in rawhide
- fix a /usr/share -> datadir issue

* Sun Jan 13 2002 Jeremy Katz <katzj at redhat.com>
- include translations (#58291) and other non-included files

* Sat Jan 12 2002 Jeremy Katz <katzj at redhat.com>
- 0.19

* Sat Nov 17 2001 Jeremy Katz <katzj at redhat.com>
- 0.18.1

* Mon Nov  5 2001 Jeremy Katz <katzj at redhat.com>
- 0.18

* Fri Oct 19 2001 Matt Wilson <msw at redhat.com>
- 0.15

* Thu Oct  4 2001 Havoc Pennington <hp at redhat.com>
- 0.13
- add libgal.so.13.0.0 to file list

* Tue Jul 24 2001 Alexander Larsson <alexl at redhat.com>
- Fix libgal-broken.patch to not link libgal.so to -lgal.

* Fri Jul 13 2001 Alexander Larsson <alexl at redhat.com>
- Add build requirements.

* Wed Jun 13 2001 Bill Nottingham <notting at redhat.com>
- fix .la buildroot dainbramage
- fix library dependency dainbramage

* Tue Jun 12 2001 Bill Nottingham <notting at redhat.com>
- gal-devel requires libgal7 (otherwise libgal.so symlink is dangling)
- fix gnomeprint requirement

* Fri Jun  8 2001 Jonathan Blandford <jrb at redhat.com>
- New version
- Upgrade library

* Thu Mar 01 2001 Owen Taylor <otaylor at redhat.com>
- Rebuild for GTK+-1.2.9 include paths

* Fri Dec 29 2000 Matt Wilson <msw at redhat.com>
- de-helixify spec file
- fix vendor/distribution



More information about the fedora-devel-list mailing list