libgtkhtml.spec revision 12889
10668N/A#
10668N/A# spec file for package libgtkhtml
10668N/A#
18947N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10668N/A# This file and all modifications and additions to the pristine
10668N/A# package are under the same license as the package itself.
10668N/A#
17185N/A# Owner: jefftsai
10668N/A#
17182N/AName: libgtkhtml
18644N/ALicense: LGPL
17182N/AGroup: System/Libraries/GNOME
10668N/AVersion: 2.11.1
18593N/ARelease: 1
10668N/ADistribution: Java Desktop System
18947N/AVendor: Sun Microsystems, Inc.
10668N/ASummary: Library for HTML support in GNOME
10668N/ASource: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/libgtkhtml-%{version}.tar.bz2
18593N/AURL: http://www.gnome.org
10668N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18947N/ADocdir: %{_docdir}/libgtkhtml
10668N/AAutoreqprov: on
10668N/A
10668N/A%define gtk2_version 2.2.4
10668N/A%define libxml2_version 2.4.23
10668N/A%define gail_version 1.8.0
10668N/A
10668N/ARequires: gtk2 >= %{gtk2_version}
10668N/ARequires: libxml2 >= %{libxml2_version}
10668N/ARequires: gail >= %{gail_version}
10668N/ABuildRequires: gtk2-devel >= %{gtk2_version}
10668N/ABuildRequires: libxml2-devel >= %{libxml2_version}
10668N/ABuildRequires: gail-devel >= %{gail_version}
10668N/A
10668N/A%description
10668N/Alibgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
10668N/A
10668N/A%package devel
10668N/ASummary: Development Library for HTML support in GNOME
10668N/AGroup: Development/Libraries/GNOME
10668N/ARequires: %{name} = %{version}
10668N/ARequires: gtk2-devel >= %{gtk2_version}
10668N/ARequires: libxml2-devel >= %{libxml2_version}
10668N/ARequires: gail-devel >= %{gail_version}
10668N/A
10668N/A%description devel
10668N/Alibgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
10668N/A
10668N/A%prep
10668N/A%setup -q
10668N/A
10668N/A%build
10668N/A%ifos linux
10668N/Aif [ -x /usr/bin/getconf ]; then
10668N/A CPUS=`getconf _NPROCESSORS_ONLN`
10668N/Afi
10668N/A%else
10668N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10668N/A%endif
10668N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10668N/A CPUS=1
10668N/Afi
10668N/A
10668N/Alibtoolize --copy --force
10668N/Aaclocal -I %{_datadir}/aclocal
10668N/Aautomake -a -c -f
10668N/Aautoconf
10668N/ACFLAGS="$RPM_OPT_FLAGS" \
10668N/A./configure --prefix=%{_prefix} \
10668N/A --sysconfdir=%{_sysconfdir}
10668N/Amake -j $CPUS
10668N/A
10668N/A%install
10668N/Amake DESTDIR=$RPM_BUILD_ROOT install
10668N/Arm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.a
10668N/Arm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.la
10668N/A
10668N/A#%check
10668N/Amake check
10668N/A
10668N/A%clean
10668N/Arm -rf $RPM_BUILD_ROOT
10668N/A
10668N/A%post
10668N/A/sbin/ldconfig
10668N/A
10668N/A%postun
10668N/A/sbin/ldconfig
10668N/A
10668N/A%files
18947N/A%defattr(-, root, root)
18947N/A%{_libdir}/*.so.*
16212N/A
16212N/A%files devel
10668N/A%defattr(-, root, root)
10668N/A%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gtkhtml-2.0
%changelog
* Wed Apr 16 2008 - damien.carbery@sun.com
- Add 'make check' call after %install.
* Thu Sep 20 2007 - damien.carbery@sun.com
- Bump to 2.11.1.
* Wed Dec 21 2005 - damien.carbery@sun.com
- Bump to 2.11.0. Remove upstream patch, 01-keynav-crash.
* Wed Jun 15 2005 - laca@sun.com
- Add patch pkgconfig.diff to add glib-2.0 to the list of dependent modules
- autotoolize
* Wed May 18 2005 - glynn.foster@sun.com
- Bump to 2.6.3
* Wed Mar 23 2005 - vinay.mandyakoppal@wipro.com
- Add patch libgtkhtml-07-keynav-crash.diff fixes the issue of yelp
crashing with keynav/mouse highlighting. Fixes #6229854.
* Fri Dec 13 2004 - padraig.obriain@sun.com
- Add patch libgtkhtml-06-toggle-cursor.diff for bugzilla #160705.
* Thu Nov 25 2004 - padraig.obriain@sun.com
- Add patch libgtkhtml-05-link-focus.diff for bug #6190671.
* Fri Nov 05 2004 - matt.keenan@sun.com
- Add patch -04-hand-symbol.diff : #5032857
* Thu Nov 04 2004 - padraig.obriain@sun.com
- Add patch libgtkhtml-03-fix-move.diff for bug #6190222.
* Wed Oct 27 2004 - padraig.obriain@sun.com
- Add patch libgtkhtml-02-fix-crash.diff for bug #6185204.
* Fri Jul 23 2004 - padraig.obriain@sun.com
- Add patch libgtkhtml-01-fix-speech.diff for bugzilla #143502
* Mon Jul 12 2004 - stephen.browne@sun.com
- ported to rpm4
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Tue Jun 08 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.6.2
* Thu May 06 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.6.1
* Mon Apr 05 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.6.0
* Thu Mar 18 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.5.6
* Tue Feb 24 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.5.5
* Thu Feb 05 2004 - <matt.keenan@sun.com>
- Upgrade tarball to 2.5.3
* Tue Dec 16 2003 - <glynn.foster@sun.com>
- Upgrade tarball to 2.5.1
* Tue Oct 14 2003 - <matt.keenan@sun.com>
- Upgrade tarball to 2.4.1 for QS
* Thu Aug 14 2003 - <laca@sun.com>
- remove *.a, *.la
* Tue May 13 2003 - matt.keenan@sun.com
- Initial Sun release