libgal.spec
author dermotm
Mon, 24 Jul 2006 12:30:39 +0000
branchgnome-2-10
changeset 19949 94f49bf19351
parent 19693 ecfa915b40d9
permissions -rw-r--r--
access control test #4

#
# spec file for package libgal
#
# 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:         libgal
License:      LGPL
Group:        System/Libraries/GNOME
Version:      2.4.3
Release:      1
Distribution: Java Desktop System
Vendor:       Sun Microsystems, Inc.
Summary:      GNOME Applications Library
Source:       http://ftp.gnome.org/pub/GNOME/sources/gal/2.4/gal-%{version}.tar.bz2
URL:          http://www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/gal
Autoreqprov:  on
Prereq:       /sbin/ldconfig
Epoch:	      1

%define gtk_doc_version 1.1
%define libgnomeprint_version 2.3.0
%define libgnomeprintui_version 2.3.0
%define libgnomeui_version 2.4.0.1

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

BuildRequires:  gtk-doc >= %{gtk_doc_version}
BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
BuildRequires:  libgnomeprintui-devel >= %{libgnomeprintui_version}
BuildRequires:  libgnomeprint-devel >= %{libgnomeprint_version}

Obsoletes:	libgal2.0_1
Obsoletes:	libgal2.0_0

%description
libgal is a set of GNOME user interface widgets, primarily used by
Evolution.

%package devel
Summary:      GNOME Applications Development Library
Group:        Development/Libraries/GNOME
Autoreqprov:  on
Requires:     %name = %epoch:%version
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libgnomeprintui-devel >= %{libgnomeprint_version}
BuildRequires: libgnomeprint-devel >= %{libgnomeprintui_version}

%description devel
This package contains the development libraries for libgal, the GNOME 
Applications Library.

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

%build
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

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr (-, root, root)
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
%{_libdir}/*.so.*
%{_datadir}/gal-2.4/%{version}
%{_datadir}/locale/*/LC_MESSAGES/*.mo

%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gal-2.4/*
%{_datadir}/gtk-doc/*

%changelog -n libgal
* Wed Jun 15 2005 - [email protected]
- Bump to gal 2.4.3

* Mon May 16 2005 - [email protected]
- Bump to gal 2.4.2

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

* Thu Jul 08 2004 - [email protected]
- undid -j $CPUS for this module

* Wed Jul 07 2004 - [email protected]
- added "-j $CPUS" to make to speed up builds

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

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

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

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

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