gtkhtml.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6320 8ed6768dabe7
child 6399 666cd5b85f78
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.

#
# spec file for package gtkhtml
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

Name:         gtkhtml
License:      LGPL
Group:        System/Libraries/GNOME
Version:      3.8.2
Release:      1
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      Library for HTML support in Evolution
Source:       http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.8/%{name}-%{version}.tar.bz2
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/gtkhtml
Autoreqprov:  on
Prereq:       /sbin/ldconfig

%define major_version 3.8

%define libgnomeprint_version 2.3.0
%define libgnomeprintui_version 2.3.0
%define libgnomeui_version 2.4.0.1
%define libsoup_version 2.2.0

Requires:       libgnomeui >= %{libgnomeui_version}
Requires:       libgnomeprint >= %{libgnomeprint_version}
Requires:       libgnomeprintui >= %{libgnomeprintui_version}
Requires:       libsoup >= %{libsoup_version}

BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
BuildRequires:  libgnomeprintui-devel >= %{libgnomeprintui_version}
BuildRequires:  libgnomeprint-devel >= %{libgnomeprint_version}
BuildRequires:  libsoup-devel >= %{libsoup_version}

%description
gtkhtml is a library providing HTML support for Evolution.

%package devel
Summary:      Development Library for HTML support in Evolution
Group:        Development/Libraries/GNOME
Autoreqprov:  on
Requires:     %name = %version
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libgnomeprintui-devel >= %{libgnomeprint_version}
BuildRequires: libgnomeprint-devel >= %{libgnomeprintui_version}
BuildRequires: libsoup-devel >= %{libsoup_version}

%description devel
This package contains the development libraries for gtkhtml, a 
library providing HTML support for Evolution.

%prep
%setup -q

%build
libtoolize --force
intltoolize --copy --force --automake
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_FLAGS" \
  ./configure \
    --prefix=%{_prefix} \
    --libexecdir=%{_libexecdir} \
    --sysconfdir=%{_sysconfdir}

make

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make -i install DESTDIR=$RPM_BUILD_ROOT
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
rm $RPM_BUILD_ROOT%{_libdir}/*.a
rm $RPM_BUILD_ROOT%{_libdir}/*.la
rm $RPM_BUILD_ROOT%{_libdir}/gtkhtml/*.la
rm $RPM_BUILD_ROOT%{_libdir}/gtkhtml/*.a

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*
%{_libdir}/bonobo/servers/*.server
%{_libdir}/gtkhtml/*.so
%{_datadir}/gtkhtml-%{major_version}/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo

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

%changelog
* Thu Dec 01 2005 - [email protected]
- Call intltoolize, needed to process intltool-*.in.

* Tue Nov 29 2005 - [email protected]
- Bump to 3.8.2.

* Mon Oct 10 2005 - [email protected]
- Bump to 3.8.1.

* Wed Sep  7 2005 - [email protected]
- Bump to 3.8.0.

* Wed Aug 31 2005 - [email protected]
- Remove Patch1 since it is already there.

* Wed Aug 31 2005 - [email protected]
- Bump 3.7.7.

* Mon Aug 15 2005 - [email protected]
- Bump 3.7.6.

* Tue Jul 12 2005 - [email protected]
- Add patch to build on Solaris (remove 'return' from void function).
  Bugzilla #309785. Remove when tarball bumped.

* Tue May 17 2005 - [email protected]
- Bump to 3.6.2

* Tue Nov 23 2004 - [email protected]
- Bump to 3.2.3

* Thu Jun 17 2004 - [email protected]
- rpm4'ified

* Tue Jun 08 2004 - [email protected]
- Bump to 3.1.16

* Fri May 21 2004 - [email protected]
- Bump to 3.1.14

* Tue Apr 20 2004 - [email protected]
- Bump to 3.1.12

* Mon Apr 19 2004 - [email protected]
- Initial spec file for gtkhtml 3.1.x