libgtkhtml.spec revision 11283
12366N/A#
12366N/A# spec file for package libgtkhtml
12366N/A#
12366N/A# Copyright (c) 2005 Sun Microsystems, Inc.
12366N/A# This file and all modifications and additions to the pristine
12366N/A# package are under the same license as the package itself.
12366N/A#
17225N/A# Owner: jefftsai
12366N/A#
12366N/AName: libgtkhtml
17182N/ALicense: LGPL
17182N/AGroup: System/Libraries/GNOME
12366N/AVersion: 2.11.1
12366N/ARelease: 1
12366N/ADistribution: Java Desktop System
18625N/AVendor: Sun Microsystems, Inc.
12366N/ASummary: Library for HTML support in GNOME
12366N/ASource: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/libgtkhtml-%{version}.tar.bz2
18616N/AURL: http://www.gnome.org
12366N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
12366N/ADocdir: %{_docdir}/libgtkhtml
12451N/AAutoreqprov: on
12366N/A
12366N/A%define gtk2_version 2.2.4
12366N/A%define libxml2_version 2.4.23
12366N/A%define gail_version 1.8.0
12366N/A
12366N/ARequires: gtk2 >= %{gtk2_version}
12366N/ARequires: libxml2 >= %{libxml2_version}
12366N/ARequires: gail >= %{gail_version}
12366N/ABuildRequires: gtk2-devel >= %{gtk2_version}
12366N/ABuildRequires: libxml2-devel >= %{libxml2_version}
12366N/ABuildRequires: gail-devel >= %{gail_version}
12366N/A
12366N/A%description
12366N/Alibgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
12366N/A
12366N/A%package devel
12366N/ASummary: Development Library for HTML support in GNOME
12366N/AGroup: Development/Libraries/GNOME
12366N/ARequires: %{name} = %{version}
12366N/ARequires: gtk2-devel >= %{gtk2_version}
12366N/ARequires: libxml2-devel >= %{libxml2_version}
12366N/ARequires: gail-devel >= %{gail_version}
12366N/A
12366N/A%description devel
12366N/Alibgtkhtml is a library to provide extensions for GTK+ to handle HTML format.
12366N/A
12366N/A%prep
18625N/A%setup -q
18625N/A
18543N/A%build
18543N/A%ifos linux
17225N/Aif [ -x /usr/bin/getconf ]; then
17225N/A CPUS=`getconf _NPROCESSORS_ONLN`
17210N/Afi
17210N/A%else
17193N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17193N/A%endif
17144N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
17144N/A CPUS=1
15364N/Afi
15364N/A
12573N/Alibtoolize --copy --force
12573N/Aaclocal -I %{_datadir}/aclocal
12504N/Aautomake -a -c -f
12504N/Aautoconf
12451N/ACFLAGS="$RPM_OPT_FLAGS" \
12451N/A./configure --prefix=%{_prefix} \
12443N/A --sysconfdir=%{_sysconfdir}
12443N/Amake -j $CPUS
12366N/A
12366N/A%install
12366N/Amake DESTDIR=$RPM_BUILD_ROOT install
12366N/Arm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.a
rm $RPM_BUILD_ROOT/%{_libdir}/libgtkhtml-2.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gtkhtml-2.0
%changelog
* 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