2024-01-06 04:02:43 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libcryptsetup
|
2024-01-06 04:02:43 +01:00
|
|
|
Version: 1.6.6
|
2024-01-06 04:02:43 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library for setting up encrypted filesystems
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://code.google.com/p/cryptsetup/
|
|
|
|
Source: ftp://ftp.kernel.org/pub/linux/utils/cryptsetup/v%{majver}/cryptsetup-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libdevmapper-devel
|
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libpopt-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
Provides: %{name}-luks
|
|
|
|
Obsoletes: %{name}-luks
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the cryptsetup shared library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: libdevmapper-devel
|
|
|
|
Requires: libgcrypt-devel
|
|
|
|
Requires: libuuid-devel
|
|
|
|
Provides: %{name}-luks-devel
|
|
|
|
Obsoletes: %{name}-luks-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contain libraries and header files used for writing code that makes use of encrypted filesystems.
|
|
|
|
|
|
|
|
%package -n cryptsetup
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: A utility for setting up encrypted filesystems
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n cryptsetup
|
|
|
|
This package contains cryptsetup, a utility for setting up encrypted filesystems using Device Mapper and the dm-crypt target.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n cryptsetup-%{version}
|
|
|
|
|
|
|
|
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
|
|
|
|
mv -f ChangeLog.new ChangeLog
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--libdir=/%{_lib}
|
|
|
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_lib}/*.la %{buildroot}/%{_lib}/cryptsetup
|
|
|
|
|
|
|
|
pushd %{buildroot}/%{_lib}
|
|
|
|
rm libcryptsetup.so
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) %{buildroot}%{_libdir}/libcryptsetup.so
|
|
|
|
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
|
|
|
|
popd
|
|
|
|
|
|
|
|
%find_lang cryptsetup
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/%{_lib}/libcryptsetup.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libcryptsetup.h
|
|
|
|
%{_libdir}/libcryptsetup.so
|
|
|
|
%{_libdir}/pkgconfig/libcryptsetup.pc
|
|
|
|
%doc ChangeLog FAQ TODO
|
|
|
|
|
|
|
|
%files -n cryptsetup -f cryptsetup.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/sbin/cryptsetup
|
|
|
|
/sbin/veritysetup
|
|
|
|
%{_mandir}/man8/cryptsetup.8.gz
|
|
|
|
%{_mandir}/man8/veritysetup.8.gz
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:02:43 +01:00
|
|
|
* Fri Aug 22 2014 Automatic Build System <autodist@mambasoft.it> 1.6.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Mon Jul 07 2014 Automatic Build System <autodist@mambasoft.it> 1.6.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:02:43 +01:00
|
|
|
* Sat Mar 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-1mamba
|
|
|
|
- update to 1.6.4
|
|
|
|
|
|
|
|
* Sun Dec 22 2013 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 04 2013 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 10 2013 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- update to 1.5.0
|
|
|
|
|
|
|
|
* Wed Nov 30 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- update to 1.4.1
|
|
|
|
|
|
|
|
* Thu Dec 09 2010 gil <puntogil@libero.it> 1.2.0-1mamba
|
|
|
|
- package created by autospec
|