michael@6: %define name libltdl michael@6: %define version 0.1.3 michael@6: %define release 1 michael@6: michael@6: Summary: GNU portable run time dynamic link library michael@6: Name: %{name} michael@6: Version: %{version} michael@6: Release: %{release} michael@6: Source0: %{name}-%{version}.tar.bz2 michael@6: Patch0: libltdl.patch michael@6: Packager: rufus t firefly michael@6: URL: http://www.gnu.org/software/libtool/ michael@6: License: GPL michael@6: Group: System/Libraries michael@6: BuildRoot: %{_tmppath}/%{name}-buildroot michael@6: BuildRequires: libtool, automake, autoconf, perl michael@6: Prefix: %{_prefix} michael@6: michael@6: %description michael@6: libltdl is an easy-to-use packaging of the GNU portable run time michael@6: dynamic link library. michael@6: michael@6: %package devel michael@6: Summary: GNU portable run time dynamic link library development files michael@6: Group: Development/Other michael@6: michael@6: %description devel michael@6: libltdl is an easy-to-use packaging of the GNU portable run time michael@6: dynamic link library. You will only need this package if you intend michael@6: to develop applications with this library michael@6: michael@6: %prep michael@6: rm -rf $RPM_BUILD_ROOT michael@6: michael@6: %setup -n ltdl michael@6: %patch -p0 michael@6: michael@6: %build michael@6: # fix version number michael@6: perl -pi -e "s|0.0.0|%{version}||g;" configure.in michael@6: michael@6: # actual build michael@6: ./autogen.sh michael@6: %configure --enable-ltdl-install michael@6: make all michael@6: michael@6: %install michael@6: mkdir -p $RPM_BUILD_ROOT%{_libdir} michael@6: %makeinstall PREFIX=$RPM_BUILD_ROOT/usr michael@6: michael@6: %clean michael@6: rm -rf $RPM_BUILD_ROOT michael@6: michael@6: %post michael@6: /sbin/ldconfig michael@6: michael@6: %postun michael@6: /sbin/ldconfig michael@6: michael@6: %files michael@6: %defattr(-,root,root) michael@6: %doc README michael@6: %{_libdir}/libltdl.so michael@6: %{_libdir}/libltdl.so.* michael@6: michael@6: %files devel michael@6: %defattr(-,root,root) michael@6: %{_libdir}/libltdl.a michael@6: %{_libdir}/libltdl.la michael@6: %{_includedir}/ltdl.h michael@6: michael@6: %changelog michael@6: * Tue Nov 07 2000 rufus t firefly michael@6: - v0.1.3-1mdk michael@6: - finalized from CVS michael@6: michael@6: * Mon Sep 11 2000 Lenny Cartier 0.1.2.20000524-3mdk michael@6: - clean spec michael@6: michael@6: * Fri Jul 28 2000 Thierry Vignaud 0.1.2.20000524-2mdk michael@6: - BM michael@6: - fuck rpmlint michael@6: michael@6: * Tue Jun 27 2000 Lenny Cartier 0.1.2.20000524-1mdk michael@6: - fix build by adding --enable-ltdl-install michael@6: - new in contribs michael@6: michael@6: * Wed May 24 2000 rufus t firefly michael@6: - v0.1.2.20000524 (initial packaging) michael@6: