From 3d5d9378eca44a64899188e89ced4c561f982c37 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 15:44:50 +0300 Subject: [PATCH] import composefs-1.0.5-2.el10 --- .composefs.metadata | 1 + .gitignore | 1 + SPECS/composefs.spec | 87 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) create mode 100644 .composefs.metadata create mode 100644 .gitignore create mode 100644 SPECS/composefs.spec diff --git a/.composefs.metadata b/.composefs.metadata new file mode 100644 index 0000000..d7a745a --- /dev/null +++ b/.composefs.metadata @@ -0,0 +1 @@ +dc6faa76ba673ce5afa12c1bd81a936ffe56269e SOURCES/composefs-1.0.5.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f1b8873 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/composefs-1.0.5.tar.xz diff --git a/SPECS/composefs.spec b/SPECS/composefs.spec new file mode 100644 index 0000000..c6ca6c0 --- /dev/null +++ b/SPECS/composefs.spec @@ -0,0 +1,87 @@ +%ifarch %{golang_arches} +%bcond man 1 +%endif + +Name: composefs +Version: 1.0.5 +Release: 2%{?dist} +Summary: Tools to handle creating and mounting composefs images + +License: GPL-3.0-or-later AND LGPL-2.0-or-later AND Apache-2.0 +URL: https://github.com/containers/composefs +Source0: https://github.com/containers/composefs/releases/download/v%{version}/%{name}-%{version}.tar.xz + +BuildRequires: gcc automake libtool openssl-devel fuse3-devel +%if %{with man} +BuildRequires: go-md2man +%endif + +Requires: %{name}-libs = %{version}-%{release} + +%description +Tools to handle creating and mounting composefs images. The composefs +project combines several underlying Linux features to provide a very +flexible mechanism to support read-only mountable filesystem trees, +stacking on top of an underlying "lower" Linux filesystem. + +Please see https://github.com/containers/composefs for more information. + +%package devel +Summary: Devel files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +Devel files for %{name}. + +%package libs +Summary: Libraries for %{name} +License: LGPL-2.1-or-later AND (GPL-2.0-only OR Apache-2.0) + +%description libs +Library files for %{name}. + +%prep +%autosetup -p1 +# for go-md2man patch +autoreconf -fiv + +%build +%configure \ + --disable-static \ +%if %{with man} + --enable-man \ +%endif + --with-fuse +%make_build + +%install +%make_install +rm -rf %{buildroot}%{_libdir}/libcomposefs.la + +%files devel +%{_includedir}/libcomposefs +%{_libdir}/libcomposefs.so +%{_libdir}/pkgconfig/%{name}.pc + +%files libs +%license COPYING COPYING.LIB COPYING.LESSERv3 COPYINGv3 LICENSE.Apache-2.0 BSD-2-Clause.txt +%{_libdir}/libcomposefs.so.* + +%files +%license COPYING COPYING.LIB COPYING.LESSERv3 COPYINGv3 LICENSE.Apache-2.0 BSD-2-Clause.txt +%doc README.md +%{_bindir}/mkcomposefs +%{_bindir}/composefs-info +%{_sbindir}/mount.composefs +%if %{with man} +%{_mandir}/man*/* +%endif + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 1.0.5-2 +- Rebuilt for MSVSphere 10 + +* Mon Aug 19 2024 Jindrich Novy - 1.0.5-2 +- update to the latest upstream release https://github.com/containers/composefs/releases/tag/v1.0.5 +- Related: RHEL-39410