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