2016-09-20 05:41:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package libfvde
|
|
|
|
#
|
2019-04-18 00:47:08 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-09-20 05:41:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-18 00:47:08 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-09-20 05:41:16 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define lname libfvde1
|
2019-04-18 00:47:08 +02:00
|
|
|
%define timestamp 20190104
|
2016-09-20 05:41:16 +02:00
|
|
|
Name: libfvde
|
|
|
|
Version: 0~%{timestamp}
|
|
|
|
Release: 0
|
|
|
|
Summary: Library to access the File Vault Drive Encryption format
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: Productivity/File utilities
|
|
|
|
Url: https://github.com/libyal/libfvde/
|
|
|
|
Source: https://github.com/libyal/libfvde/releases/download/%{timestamp}/libfvde-experimental-%{timestamp}.tar.gz
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(fuse)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2017-10-12 00:45:17 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2016-09-20 05:41:16 +02:00
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libbfio) >= 20130721
|
2017-10-12 00:45:17 +02:00
|
|
|
BuildRequires: pkgconfig(libcaes)
|
2016-09-20 05:41:16 +02:00
|
|
|
BuildRequires: pkgconfig(libcdata) >= 20140105
|
|
|
|
BuildRequires: pkgconfig(libcfile) >= 20130609
|
|
|
|
BuildRequires: pkgconfig(libclocale) >= 20130609
|
|
|
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
|
|
|
BuildRequires: pkgconfig(libcpath) >= 20130609
|
|
|
|
BuildRequires: pkgconfig(libcsplit) >= 20130609
|
|
|
|
BuildRequires: pkgconfig(libcsystem) >= 20120425
|
|
|
|
BuildRequires: pkgconfig(libcthreads) >= 20150101
|
|
|
|
BuildRequires: pkgconfig(libfcache) >= 20120405
|
|
|
|
BuildRequires: pkgconfig(libfdata) >= 20120405
|
2017-10-12 00:45:17 +02:00
|
|
|
BuildRequires: pkgconfig(libfguid)
|
2016-09-20 05:41:16 +02:00
|
|
|
BuildRequires: pkgconfig(libfvalue) >= 20150101
|
2017-10-12 00:45:17 +02:00
|
|
|
BuildRequires: pkgconfig(libhmac)
|
2016-09-20 05:41:16 +02:00
|
|
|
BuildRequires: pkgconfig(libuna) >= 20150101
|
|
|
|
#BuildRequires: pkgconfig(libtool)
|
|
|
|
#BuildRequires: pkgconfig(libcerror) >= 20140105
|
|
|
|
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
libfvde is a library to access the File Vault Drive Encryption format.
|
|
|
|
|
|
|
|
%package -n %{lname}
|
|
|
|
Summary: Library to access the File Vault Drive Encryption format
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %{lname}
|
|
|
|
The libfvde library is a library to access the File Vault Drive Encryption format
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Several tools for reading the File Vault Drive Encryption format
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: Productivity/File utilities
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Several tools for reading the File Vault Drive Encryption format
|
|
|
|
|
|
|
|
See libfvde for additional details.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and libraries for developing applications for libfvde
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files and libraries for developing applications for libfvde
|
|
|
|
|
|
|
|
See libfvde for additional details.
|
|
|
|
|
|
|
|
This package contains libraries and header files for developing
|
|
|
|
applications that want to make use of libfvde.
|
|
|
|
|
2017-10-12 00:45:17 +02:00
|
|
|
%package -n python2-%{name}
|
2016-09-20 05:41:16 +02:00
|
|
|
Summary: Python 2 bindings for libfvde
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
BuildRequires: pkgconfig(python2)
|
2019-04-18 00:47:08 +02:00
|
|
|
Obsoletes: python-%{name}
|
2016-09-20 05:41:16 +02:00
|
|
|
|
2017-10-12 00:45:17 +02:00
|
|
|
%description -n python2-%{name}
|
2016-09-20 05:41:16 +02:00
|
|
|
This packinge provides Python 2 bindings for libfvde
|
|
|
|
|
|
|
|
%package -n python3-%{name}
|
|
|
|
Summary: Python 3 bindings for libfvde
|
2019-04-18 00:47:08 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2016-09-20 05:41:16 +02:00
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
Requires: python3
|
|
|
|
BuildRequires: pkgconfig(python3)
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
This packinge provides Python 3 bindings for libfvde
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n libfvde-%{timestamp}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%check
|
|
|
|
# make check
|
|
|
|
|
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{lname}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING NEWS README ChangeLog
|
|
|
|
%{_libdir}/libfvde.so.*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2019-04-18 00:47:08 +02:00
|
|
|
%doc AUTHORS
|
|
|
|
%license COPYING
|
2016-09-20 05:41:16 +02:00
|
|
|
%{_bindir}/fvde*
|
|
|
|
%{_mandir}/man1/fvde*.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2019-04-18 00:47:08 +02:00
|
|
|
%doc AUTHORS
|
|
|
|
%license COPYING
|
2016-09-20 05:41:16 +02:00
|
|
|
%{_includedir}/libfvde.h
|
|
|
|
%{_includedir}/libfvde/
|
|
|
|
%{_libdir}/libfvde.so
|
|
|
|
%{_libdir}/pkgconfig/libfvde.pc
|
|
|
|
%{_mandir}/man3/libfvde.3*
|
|
|
|
|
2017-10-12 00:45:17 +02:00
|
|
|
%files -n python2-%{name}
|
2016-09-20 05:41:16 +02:00
|
|
|
%defattr(-,root,root)
|
2019-04-18 00:47:08 +02:00
|
|
|
%doc AUTHORS
|
|
|
|
%license COPYING
|
2016-09-20 05:41:16 +02:00
|
|
|
%{python_sitearch}/pyfvde.so
|
|
|
|
|
|
|
|
%files -n python3-%{name}
|
|
|
|
%defattr(-,root,root)
|
2019-04-18 00:47:08 +02:00
|
|
|
%doc AUTHORS
|
|
|
|
%license COPYING
|
2016-09-20 05:41:16 +02:00
|
|
|
%{python3_sitearch}/pyfvde.so
|
|
|
|
|
|
|
|
%changelog
|