Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 4139ca479c520fdd136fec80f31cbbb3 > files > 2

gal2-0-0.0.6-1mdk.src.rpm

%define major 0

Summary: Library for compound documents in GNOME2
Name: gal2-0
Version: 0.0.6
Release: 1mdk
License: LGPL
Group: System/Libraries
URL: http://www.gnome.org/
BuildRequires: libgnomeui2_0-devel
BuildRequires: libgnomeprintui2.0-devel
BuildRequires: libglade2.0-devel
Source0: ftp://ftp.gnome.org/pub/GNOME/2.0.1/sources/gal2/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

%description
This the G App Libs (GAL).

This module contains some library functions that came from Gnumeric
and Evolution.  The idea is to reuse those widgets across various
larger GNOME applications that might want to use these widgets.
%package -n lib%{name}_%{major}
Summary: %{summary}
Group: %{group}

%description  -n lib%{name}_%{major}
This the G App Libs (GAL).

This module contains some library functions that came from Gnumeric
and Evolution.  The idea is to reuse those widgets across various
larger GNOME applications that might want to use these widgets.

%package -n lib%{name}_%{major}-devel
Summary: Libraries and include files for gal
Group: Development/C
Requires: lib%{name}_%{major} = %{version}-%{release}
Provides: lib%{name}-devel = %{version}-%{release}
Requires: libglade2.0-devel
Requires: libgnomeprint2.0-devel

%description  -n lib%{name}_%{major}-devel
This package provides the necessary development libraries and include
files to allow you to develop programs using gal.

%prep
%setup -q

%build

%configure2_5x

#parallel compilation is broken
make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%post -n lib%{name}_%{major} -p /sbin/ldconfig

%postun -n lib%{name}_%{major} -p /sbin/ldconfig

%files -n lib%{name}_%{major}
%defattr(-,root,root,-)
%doc README NEWS AUTHORS MAINTAINERS ChangeLog
%{_libdir}/*.so.*
%{_datadir}/gal-2-0

%files -n lib%{name}_%{major}-devel
%defattr(-,root,root,-)
%doc %{_datadir}/gal/html
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*


%changelog
* Mon Sep 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.0.6-1mdk
- GNOME 2 port of gal