]> git.pld-linux.org Git - packages/cryptsetup.git/commitdiff
- libtoolize (fixes build with libtool 2.2) AC-branch auto/ac/cryptsetup-luks-1_0_6-2
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 19 Mar 2008 23:50:03 +0000 (23:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- ghost soname symlink
- GPL v2 (this version text included; no version specified otherwise)

Changed files:
    cryptsetup.spec -> 1.25

cryptsetup.spec

index 33a62869d691a5f55cbcd0e197855ff376027794..f57871517056d868d2da8e61553a410d4e0c3c81 100644 (file)
@@ -2,15 +2,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/
@@ -92,14 +92,15 @@ Static version of cryptsetup library.
 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 \
@@ -113,11 +114,11 @@ rm -rf $RPM_BUILD_ROOT
        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
@@ -125,18 +126,19 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.187696 seconds and 4 git commands to generate.