%define version 0.6.1 %define release 2mdk %define major 2 %define libname %mklibname ast %{major} Summary: LibAST is the Library of Assorted Spiffy Things Name: libast Version: %{version} Release: %{release} URL: http://www.eterm.org/ Group: System/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot License: BSD Source: %{name}-%{version}.tar.bz2 BuildRequires: imlib2-devel BuildRequires: pcre-devel %package -n %{libname} Summary: LibAST is the Library of Assorted Spiffy Things Group: System/Libraries Provides: %{name} = %{version}-%{release} %package -n %{libname}-devel Summary: Development related files for LibAST Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version}-%{release} %description LibAST is the Library of Assorted Spiffy Things. It contains various handy routines and drop-in substitutes for some good-but-non-portable functions. It currently has a built-in memory tracking subsystem as well as some debugging aids and other similar tools. %description -n %{libname} LibAST is the Library of Assorted Spiffy Things. It contains various handy routines and drop-in substitutes for some good-but-non-portable functions. It currently has a built-in memory tracking subsystem as well as some debugging aids and other similar tools. %description -n %{libname}-devel Install this package if you need to compile applications that needs %{name}. %prep %setup -q %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %multiarch_binaries %{buildroot}%{_bindir}/*-config %multiarch_includes %{buildroot}%{_includedir}/libast/sysdefs.h %clean rm -rf %{buildroot} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) %doc README %{_libdir}/lib*.so.* %files -n %{libname}-devel %defattr(-,root,root) %doc README %{_libdir}/lib*.a %{_libdir}/lib*.la %{_libdir}/lib*.so %{_includedir}/* %multiarch %{multiarch_includedir}/libast/sysdefs.h %{_datadir}/aclocal/*.m4 %{_bindir}/*-config %multiarch %{multiarch_bindir}/*-config %changelog * Wed Feb 03 2005 Abel Cheung <deaddog@mandrake.org> 0.6.1-2mdk - Remove mmx toggling, Eterm already has mmx support included into package for ages and nobody complained. I wonder who is running Eterm inside a non-MMX pentium I. * Thu Feb 03 2005 Abel Cheung <deaddog@mandrake.org> 0.6.1-1mdk - New version - Remove patch (upstream) - multiarch * Sat May 29 2004 Abel Cheung <deaddog@deaddog.org> 0.5-4mdk - Patch0: automake 1.8 compatibility * Mon Sep 1 2003 Abel Cheung <deaddog@deaddog.org> 0.5-3mdk - mklibname - various spec tweaks - rasterman stuff are using BSD license * Sun Apr 20 2003 Stefan van der Eijk <stefan@eijk.nu> 0.5-2mdk - BuildRequires: gettext-devel * Fri Jan 24 2003 Vincent Danen <vdanen@mandrakesoft.com> 0.5-1mdk - 0.5 - remove cleaning patch - some spec cleanups - don't do "make test".. the author's spec doesn't and one test fails * Sun Nov 17 2002 Stefan van der Eijk <stefan@eijk.nu> 0.4-4mdk - BuildRequires * Thu Oct 10 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.4-3mdk - Costlessly make check in %%build - Patch0: Clean configure of any reference to -I/usr/include or -L/usr/lib. Assume, we have a prefix of /usr here. * Fri Jun 14 2002 Frederic Lepied <flepied@mandrakesoft.com> 0.4-2mdk - added requires - recompiled for libintl2 * Thu Nov 22 2001 Vincent Guardiola <vguardiola@mandrakesoft.com> 0.4-1mdk - Initial packaging