%define major 0 Summary: Library for compound documents in GNOME2 Name: gal2-0 Version: 0.0.7 Release: 1mdk License: LGPL Group: System/Libraries URL: http://www.gnome.org/ BuildRequires: libgnomeui2_0-devel BuildRequires: libgnomeprintui2-2-devel BuildRequires: libglade2.0-devel Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gal2-0/0.0/%{name}-%{version}.tar.bz2 Patch: gal2-0-0.0.7-gnomeprint-detection.patch.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-2-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 %patch -p1 %build autoconf %configure2_5x #parallel compilation is broken make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -f %buildroot%_libdir/libgal*a %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 Dec 2 2002 Götz Waschk <waschk@linux-mandrake.com> 0.0.7-1mdk - spec fixes - patch to fix requires for new gnomeprint - new version * Mon Sep 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.0.6-1mdk - GNOME 2 port of gal