Compare commits

...

12 Commits

Author SHA1 Message Date
3d28420e4f automatic update by autodist [release 2.7.5-1mamba;Tue Dec 31 2024] 2024-12-31 17:17:50 +01:00
14621e04a2 automatic update by autodist [release 2.7.2-1mamba;Sat Apr 27 2024] 2024-04-28 10:26:29 +02:00
81e392f9d0 automatic update by autodist [release 2.7.1-1mamba;Sun Mar 24 2024] 2024-03-24 20:26:49 +01:00
f797cde6ab automatic update by autodist [release 2.7.0-1mamba;Sun Feb 11 2024] 2024-02-12 09:03:58 +01:00
ca4363ba41 automatic update by autodist [release 2.6.1-1mamba;Sun Oct 29 2023] 2024-01-06 04:02:46 +01:00
3e703c8851 automatic version update by autodist [release 2.4.3-1mamba;Wed Aug 10 2022] 2024-01-06 04:02:45 +01:00
18f4fc34a5 update to 2.4.2 [release 2.4.2-1mamba;Sat Dec 25 2021] 2024-01-06 04:02:45 +01:00
49d1c138dd obsolete cryptsetup4 legacy packages [release 2.3.4-3mamba;Sat May 01 2021] 2024-01-06 04:02:44 +01:00
4436cabd5c automatic version update by autodist [release 2.3.4-1mamba;Sat Sep 05 2020] 2024-01-06 04:02:44 +01:00
d33f7e034d automatic version update by autodist [release 2.3.3-1mamba;Sat May 30 2020] 2024-01-06 04:02:44 +01:00
8f563b75f5 automatic version update by autodist [release 2.3.2-1mamba;Fri May 01 2020] 2024-01-06 04:02:44 +01:00
191a96e688 automatic version update by autodist [release 2.3.1-1mamba;Fri Mar 13 2020] 2024-01-06 04:02:44 +01:00

View File

@ -1,29 +1,32 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libcryptsetup
Epoch: 1
Version: 2.3.0
Version: 2.7.5
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/
URL: https://gitlab.com/cryptsetup/cryptsetup/-/wikis/home
Source: https://www.kernel.org/pub/linux/utils/cryptsetup/v%{majver}/cryptsetup-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libblkid-devel
BuildRequires: libdevmapper-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgpg-error-devel
BuildRequires: libjson-c-devel
BuildRequires: libopenssl-devel
BuildRequires: libpopt-devel
BuildRequires: libssh-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: ruby-asciidoctor
Provides: %{name}-luks
Obsoletes: %{name}-luks
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: %{name}-luks < 1:2.3.4-2mamba
Obsoletes: libcryptsetup4 < 1:2.3.4
%description
This package contains the cryptsetup shared library.
@ -36,7 +39,8 @@ Requires: libdevmapper-devel
Requires: libgcrypt-devel
Requires: libuuid-devel
Provides: %{name}-luks-devel
Obsoletes: %{name}-luks-devel
Obsoletes: %{name}-luks-devel < 1:2.3.4-2mamba
Obsoletes: libcryptsetup4-devel < 1:2.3.4
%description devel
This package contain libraries and header files used for writing code that makes use of encrypted filesystems.
@ -45,20 +49,20 @@ This package contain libraries and header files used for writing code that makes
Group: System/Tools
Summary: A utility for setting up encrypted filesystems
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: cryptsetup4 < 1:2.3.4
%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
#iconv -f latin1 -t utf8 ChangeLog > ChangeLog.new
#mv -f ChangeLog.new ChangeLog
%build
%configure \
--sbindir=/sbin \
--libdir=/%{_lib}
%configure
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
@ -69,26 +73,20 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
rm -rf %{buildroot}/%{_lib}/*.la %{buildroot}/%{_lib}/cryptsetup
pushd %{buildroot}/%{_lib}
rm libcryptsetup.so
mkdir -p %{buildroot}%{_libdir}
find libcryptsetup.so.*\.*\.* -exec ln -s /%{_lib}/{} %{buildroot}%{_libdir}/libcryptsetup.so \;
mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
popd
rm -rf %{buildroot}%{_libdir}/*.la
#%{buildroot}/%{_lib}/cryptsetup
%find_lang cryptsetup
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
/%{_lib}/libcryptsetup.so.*
%{_libdir}/libcryptsetup.so.*
%dir %{_libdir}/cryptsetup
%{_libdir}/cryptsetup/libcryptsetup-token-ssh.*
%doc AUTHORS COPYING
%files devel
@ -96,21 +94,60 @@ popd
%{_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
/sbin/cryptsetup-reencrypt
/sbin/integritysetup
%{_prefix}/lib/tmpfiles.d/cryptsetup.conf
%{_sbindir}/cryptsetup
%{_sbindir}/cryptsetup-ssh
%{_sbindir}/veritysetup
#%{_sbindir}/cryptsetup-reencrypt
%{_sbindir}/integritysetup
%{_tmpfilesdir}/cryptsetup.conf
%{_mandir}/man8/cryptsetup.8*
%{_mandir}/man8/cryptsetup-reencrypt.8*
%{_mandir}/man8/cryptsetup-*.8*
%{_mandir}/man8/veritysetup.8*
%{_mandir}/man8/integritysetup.8*
%changelog
* Tue Dec 31 2024 Automatic Build System <autodist@openmamba.org> 2.7.5-1mamba
- automatic update by autodist
* Sat Apr 27 2024 Automatic Build System <autodist@openmamba.org> 2.7.2-1mamba
- automatic update by autodist
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 2.7.1-1mamba
- automatic update by autodist
* Sun Feb 11 2024 Automatic Build System <autodist@openmamba.org> 2.7.0-1mamba
- automatic update by autodist
* Sun Oct 29 2023 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic update by autodist
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 2.4.3-1mamba
- automatic version update by autodist
* Sat Dec 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
- update to 2.4.2
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-3mamba
- obsolete cryptsetup4 legacy packages
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-2mamba
- rebuilt in /usr
* Sat Sep 05 2020 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Sat May 30 2020 Automatic Build System <autodist@mambasoft.it> 2.3.3-1mamba
- automatic version update by autodist
* Fri May 01 2020 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Mon Feb 03 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist