libltdl/libltdl.spec

changeset 15
5ae423a55bed
equal deleted inserted replaced
-1:000000000000 0:4d5cc30c544b
1 %define name libltdl
2 %define version 0.1.3
3 %define release 1
4
5 Summary: GNU portable run time dynamic link library
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: %{name}-%{version}.tar.bz2
10 Patch0: libltdl.patch
11 Packager: rufus t firefly <rufus.t.firefly@linux-mandrake.com>
12 URL: http://www.gnu.org/software/libtool/
13 License: GPL
14 Group: System/Libraries
15 BuildRoot: %{_tmppath}/%{name}-buildroot
16 BuildRequires: libtool, automake, autoconf, perl
17 Prefix: %{_prefix}
18
19 %description
20 libltdl is an easy-to-use packaging of the GNU portable run time
21 dynamic link library.
22
23 %package devel
24 Summary: GNU portable run time dynamic link library development files
25 Group: Development/Other
26
27 %description devel
28 libltdl is an easy-to-use packaging of the GNU portable run time
29 dynamic link library. You will only need this package if you intend
30 to develop applications with this library
31
32 %prep
33 rm -rf $RPM_BUILD_ROOT
34
35 %setup -n ltdl
36 %patch -p0
37
38 %build
39 # fix version number
40 perl -pi -e "s|0.0.0|%{version}||g;" configure.in
41
42 # actual build
43 ./autogen.sh
44 %configure --enable-ltdl-install
45 make all
46
47 %install
48 mkdir -p $RPM_BUILD_ROOT%{_libdir}
49 %makeinstall PREFIX=$RPM_BUILD_ROOT/usr
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %post
55 /sbin/ldconfig
56
57 %postun
58 /sbin/ldconfig
59
60 %files
61 %defattr(-,root,root)
62 %doc README
63 %{_libdir}/libltdl.so
64 %{_libdir}/libltdl.so.*
65
66 %files devel
67 %defattr(-,root,root)
68 %{_libdir}/libltdl.a
69 %{_libdir}/libltdl.la
70 %{_includedir}/ltdl.h
71
72 %changelog
73 * Tue Nov 07 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
74 - v0.1.3-1mdk
75 - finalized from CVS
76
77 * Mon Sep 11 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-3mdk
78 - clean spec
79
80 * Fri Jul 28 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.1.2.20000524-2mdk
81 - BM
82 - fuck rpmlint
83
84 * Tue Jun 27 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.1.2.20000524-1mdk
85 - fix build by adding --enable-ltdl-install
86 - new in contribs
87
88 * Wed May 24 2000 rufus t firefly <rufus.t.firefly@linux-mandrake.com>
89 - v0.1.2.20000524 (initial packaging)
90

mercurial