SPECS: cryptsetup-luks.spec - libtoolize (fixes build with libtool...

qboosh qboosh at pld-linux.org
Thu Mar 20 00:50:08 CET 2008


Author: qboosh                       Date: Wed Mar 19 23:50:08 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libtoolize (fixes build with libtool 2.2)
- ghost soname symlink
- GPL v2 (this version text included; no version specified otherwise)

---- Files affected:
SPECS:
   cryptsetup-luks.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/cryptsetup-luks.spec
diff -u SPECS/cryptsetup-luks.spec:1.24 SPECS/cryptsetup-luks.spec:1.25
--- SPECS/cryptsetup-luks.spec:1.24	Wed Mar 19 11:31:50 2008
+++ SPECS/cryptsetup-luks.spec	Thu Mar 20 00:50:03 2008
@@ -3,15 +3,15 @@
 # Conditonal build:
 %bcond_with	static	# link cryptsetup statically
 #
-%define	_realname	cryptsetup
+%define	realname	cryptsetup
 Summary:	LUKS for dm-crypt implemented in cryptsetup
 Summary(pl.UTF-8):	LUKS dla dm-crypta zaimplementowany w cryptsetup
 Name:		cryptsetup-luks
 Version:	1.0.6
 Release:	2
-License:	GPL
+License:	GPL v2
 Group:		Base
-Source0:	http://luks.endorphin.org/source/%{_realname}-%{version}.tar.bz2
+Source0:	http://luks.endorphin.org/source/%{realname}-%{version}.tar.bz2
 # Source0-md5:	00d452eb7a76e39f5749545d48934a10
 Patch1:		%{name}-nostatic.patch
 URL:		http://luks.endorphin.org/
@@ -93,14 +93,15 @@
 Statyczna wersja biblioteki cryptsetup.
 
 %prep
-%setup -q -n %{_realname}-%{version}
+%setup -q -n %{realname}-%{version}
 %patch1 -p1
 
 %build
 %{__gettextize}
-%{__autoheader}
+%{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
 	--enable-static \
@@ -114,11 +115,11 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT/%{_lib}
-mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.*.*.* $RPM_BUILD_ROOT/%{_lib}
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcryptsetup.so.*.*.*) \
+mv -f $RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libcryptsetup.so.*.*.*) \
 	$RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
 
-%find_lang %{_realname}
+%find_lang %{realname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -126,18 +127,19 @@
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files -f %{_realname}.lang
+%files -f %{realname}.lang
 %defattr(644,root,root,755)
-%doc ChangeLog
+%doc AUTHORS ChangeLog TODO
 %attr(755,root,root) %{_sbindir}/cryptsetup
 %attr(755,root,root) /%{_lib}/libcryptsetup.so.*.*.*
-%{_mandir}/man8/*
+%attr(755,root,root) %ghost /%{_lib}/libcryptsetup.so.0
+%{_mandir}/man8/cryptsetup.8*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcryptsetup.so
 %{_libdir}/libcryptsetup.la
-%{_includedir}/*.h
+%{_includedir}/libcryptsetup.h
 
 %files static
 %defattr(644,root,root,755)
@@ -149,6 +151,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-03-19 23:50:03  qboosh
+- libtoolize (fixes build with libtool 2.2)
+- ghost soname symlink
+- GPL v2 (this version text included; no version specified otherwise)
+
 Revision 1.24  2008-03-19 10:31:50  glen
 - release 2 (1 for ac)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cryptsetup-luks.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list