2020-12-03 01:24:59 +01:00
|
|
|
#
|
|
|
|
# spec file for package libfsext
|
|
|
|
#
|
2022-01-22 22:20:12 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2020-12-03 01:24:59 +01: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define lname libfsext1
|
|
|
|
Name: libfsext
|
2022-08-30 17:01:40 +02:00
|
|
|
Version: 20220829
|
2020-12-03 01:24:59 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library and tools to access the Extended File System
|
2021-06-09 11:59:26 +02:00
|
|
|
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
|
2020-12-03 01:24:59 +01:00
|
|
|
Group: Productivity/File utilities
|
2021-06-09 11:59:26 +02:00
|
|
|
URL: https://github.com/libyal/libfsext
|
2021-06-26 13:00:53 +02:00
|
|
|
Source: https://github.com/libyal/libfsext/releases/download/%version/libfsext-experimental-%version.tar.gz
|
2021-11-14 13:45:56 +01:00
|
|
|
Source2: https://github.com/libyal/libfsext/releases/download/%version/libfsext-experimental-%version.tar.gz.asc
|
2021-11-14 15:26:37 +01:00
|
|
|
Source3: %name.keyring
|
2022-01-22 22:20:12 +01:00
|
|
|
BuildRequires: %{python_module devel}
|
2021-06-09 11:59:26 +02:00
|
|
|
BuildRequires: c_compiler
|
2020-12-03 01:24:59 +01:00
|
|
|
BuildRequires: pkg-config
|
2022-01-22 22:20:12 +01:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: pkgconfig(libbfio) >= 20220120
|
|
|
|
BuildRequires: pkgconfig(libcdata) >= 20220115
|
|
|
|
BuildRequires: pkgconfig(libcerror) >= 20220101
|
2022-08-29 11:37:05 +02:00
|
|
|
BuildRequires: pkgconfig(libcfile) >= 20220106
|
2022-01-22 22:20:12 +01:00
|
|
|
BuildRequires: pkgconfig(libclocale) >= 20220107
|
|
|
|
BuildRequires: pkgconfig(libcnotify) >= 20220108
|
|
|
|
BuildRequires: pkgconfig(libcpath) >= 20220108
|
|
|
|
BuildRequires: pkgconfig(libcsplit) >= 20220109
|
|
|
|
BuildRequires: pkgconfig(libcthreads) >= 20220102
|
|
|
|
BuildRequires: pkgconfig(libfcache) >= 20220110
|
2022-11-27 00:53:07 +01:00
|
|
|
BuildRequires: pkgconfig(libfdata) >= 20220111
|
2022-01-22 22:20:12 +01:00
|
|
|
BuildRequires: pkgconfig(libfdatetime) >= 20220112
|
|
|
|
BuildRequires: pkgconfig(libfguid) >= 20220113
|
2022-11-27 00:53:07 +01:00
|
|
|
BuildRequires: pkgconfig(libhmac) >= 20220425
|
|
|
|
BuildRequires: pkgconfig(libuna) >= 20220611
|
2022-01-22 22:20:12 +01:00
|
|
|
%python_subpackages
|
2022-11-27 00:53:07 +01:00
|
|
|
# Various notes: https://en.opensuse.org/libyal
|
2020-12-03 01:24:59 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libfsext is a library to access the Extended File System (ext).
|
|
|
|
|
|
|
|
Read-only supported ext formats:
|
|
|
|
|
|
|
|
* ext2 (version 2)
|
|
|
|
* ext3 (version 3)
|
|
|
|
* ext4 (version 4)
|
|
|
|
|
|
|
|
Supported ext format features:
|
|
|
|
|
|
|
|
* ext4 inline data
|
|
|
|
|
|
|
|
Unsupported ext format features:
|
|
|
|
|
|
|
|
* ext (version 1)
|
|
|
|
* compression
|
|
|
|
* encryption
|
|
|
|
|
|
|
|
%package -n %{lname}
|
|
|
|
Summary: Library to access the Extended File System (ext)
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %{lname}
|
|
|
|
libfsext is a library to access the Extended File System (ext).
|
|
|
|
|
|
|
|
Read-only supported ext formats:
|
|
|
|
|
|
|
|
* ext2 (version 2)
|
|
|
|
* ext3 (version 3)
|
|
|
|
* ext4 (version 4)
|
|
|
|
|
|
|
|
Supported ext format features:
|
|
|
|
|
|
|
|
* ext4 inline data
|
|
|
|
|
|
|
|
Unsupported ext format features:
|
|
|
|
|
|
|
|
* ext (version 1)
|
|
|
|
* compression
|
|
|
|
* encryption
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Tools to access the Extended File System (ext)
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
Group: Productivity/File utilities
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Tools to access the Extended File System. See libfsext for additional details.
|
|
|
|
|
|
|
|
%package devel
|
2021-06-09 11:59:26 +02:00
|
|
|
Summary: Development files for libfsext, Extended File System (ext) library
|
|
|
|
License: GFDL-1.3-or-later AND LGPL-3.0-or-later
|
2020-12-03 01:24:59 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{lname} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libfsext is a library to access the extended file system (ext) format. see libfsext for details.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libfsext.
|
|
|
|
|
|
|
|
%prep
|
2021-06-09 11:59:26 +02:00
|
|
|
%autosetup -p1
|
2020-12-03 01:24:59 +01:00
|
|
|
|
|
|
|
%build
|
2022-01-22 22:20:12 +01:00
|
|
|
%{python_expand #
|
2022-08-09 09:41:32 +02:00
|
|
|
echo "V_%version { global: *; };" >v.sym
|
2022-01-22 22:20:12 +01:00
|
|
|
%configure --disable-static --enable-wide-character-type \
|
2022-08-09 09:41:32 +02:00
|
|
|
--enable-python PYTHON_VERSION="%{$python_bin_suffix}" \
|
|
|
|
LDFLAGS="-Wl,--version-script=$PWD/v.sym"
|
2022-11-27 00:53:07 +01:00
|
|
|
grep ' '' ''local' config.log && exit 1
|
2021-06-09 11:59:26 +02:00
|
|
|
%make_build
|
2022-01-22 22:20:12 +01:00
|
|
|
%make_install DESTDIR="%_builddir/rt"
|
|
|
|
%make_build clean
|
|
|
|
}
|
2020-12-03 01:24:59 +01:00
|
|
|
|
|
|
|
%install
|
2022-11-27 00:53:07 +01:00
|
|
|
mv "%_builddir/rt"/* %buildroot/
|
2020-12-03 01:24:59 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{lname}
|
2021-06-09 11:59:26 +02:00
|
|
|
%license COPYING*
|
2020-12-03 01:24:59 +01:00
|
|
|
%{_libdir}/libfsext.so.*
|
|
|
|
|
2022-01-22 22:20:12 +01:00
|
|
|
%files -n %name-tools
|
2021-06-09 11:59:26 +02:00
|
|
|
%license COPYING*
|
2020-12-03 01:24:59 +01:00
|
|
|
%{_bindir}/fsext*
|
|
|
|
%{_mandir}/man1/fsext*.1*
|
|
|
|
|
2022-01-22 22:20:12 +01:00
|
|
|
%files -n %name-devel
|
2021-06-09 11:59:26 +02:00
|
|
|
%license COPYING*
|
2020-12-03 01:24:59 +01:00
|
|
|
%{_includedir}/libfsext.h
|
|
|
|
%{_includedir}/libfsext/
|
|
|
|
%{_libdir}/libfsext.so
|
|
|
|
%{_libdir}/pkgconfig/libfsext.pc
|
|
|
|
%{_mandir}/man3/libfsext.3*
|
|
|
|
|
2022-01-22 22:20:12 +01:00
|
|
|
%files %python_files
|
2021-06-09 11:59:26 +02:00
|
|
|
%license COPYING*
|
2022-01-22 22:20:12 +01:00
|
|
|
%{python_sitearch}/pyfsext.so
|
2020-12-03 01:24:59 +01:00
|
|
|
|
|
|
|
%changelog
|