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