libltdl/libltdl.spec

changeset 6
961c83bf7b99
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libltdl/libltdl.spec	Sat Feb 21 16:34:22 2009 +0100
     1.3 @@ -0,0 +1,90 @@
     1.4 +%define name    libltdl 
     1.5 +%define version 0.1.3
     1.6 +%define release 1
     1.7 +
     1.8 +Summary: GNU portable run time dynamic link library 
     1.9 +Name: %{name}
    1.10 +Version: %{version}
    1.11 +Release: %{release}
    1.12 +Source0: %{name}-%{version}.tar.bz2
    1.13 +Patch0:  libltdl.patch
    1.14 +Packager: rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    1.15 +URL: http://www.gnu.org/software/libtool/
    1.16 +License: GPL
    1.17 +Group: System/Libraries
    1.18 +BuildRoot: %{_tmppath}/%{name}-buildroot
    1.19 +BuildRequires:  libtool, automake, autoconf, perl
    1.20 +Prefix: %{_prefix}
    1.21 +
    1.22 +%description
    1.23 +libltdl is an easy-to-use packaging of the GNU portable run time
    1.24 +dynamic link library.
    1.25 +
    1.26 +%package devel
    1.27 +Summary: GNU portable run time dynamic link library development files 
    1.28 +Group: Development/Other
    1.29 +
    1.30 +%description devel
    1.31 +libltdl is an easy-to-use packaging of the GNU portable run time
    1.32 +dynamic link library. You will only need this package if you intend
    1.33 +to develop applications with this library
    1.34 +
    1.35 +%prep
    1.36 +rm -rf $RPM_BUILD_ROOT
    1.37 +
    1.38 +%setup -n ltdl
    1.39 +%patch -p0
    1.40 +
    1.41 +%build
    1.42 +# fix version number
    1.43 +perl -pi -e "s|0.0.0|%{version}||g;" configure.in
    1.44 +
    1.45 +# actual build
    1.46 +./autogen.sh
    1.47 +%configure --enable-ltdl-install
    1.48 +make all
    1.49 +
    1.50 +%install
    1.51 +mkdir -p $RPM_BUILD_ROOT%{_libdir}
    1.52 +%makeinstall PREFIX=$RPM_BUILD_ROOT/usr 
    1.53 +
    1.54 +%clean
    1.55 +rm -rf $RPM_BUILD_ROOT
    1.56 +
    1.57 +%post
    1.58 +/sbin/ldconfig
    1.59 +
    1.60 +%postun
    1.61 +/sbin/ldconfig
    1.62 +
    1.63 +%files
    1.64 +%defattr(-,root,root)
    1.65 +%doc README
    1.66 +%{_libdir}/libltdl.so
    1.67 +%{_libdir}/libltdl.so.*
    1.68 +
    1.69 +%files devel
    1.70 +%defattr(-,root,root)
    1.71 +%{_libdir}/libltdl.a
    1.72 +%{_libdir}/libltdl.la
    1.73 +%{_includedir}/ltdl.h
    1.74 +
    1.75 +%changelog
    1.76 +* Tue Nov 07 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    1.77 +  - v0.1.3-1mdk
    1.78 +  - finalized from CVS
    1.79 +
    1.80 +* Mon Sep 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-3mdk
    1.81 +  - clean spec
    1.82 +
    1.83 +* Fri Jul 28 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.1.2.20000524-2mdk
    1.84 +  - BM
    1.85 +  - fuck rpmlint
    1.86 +
    1.87 +* Tue Jun 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-1mdk
    1.88 +  - fix build by adding --enable-ltdl-install
    1.89 +  - new in contribs
    1.90 +
    1.91 +* Wed May 24 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
    1.92 +  - v0.1.2.20000524 (initial packaging)
    1.93 +

mercurial