diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:44:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:44:41 +0000 |
commit | 668ef5825d6d50b32a8702d13f1a9f8f8103e6c4 (patch) | |
tree | a35c141322ff99deceadfe627e26a5d61e32a6e8 | |
parent | 1f7e0358b2c0b77438e30d3561e219b18650ade0 (diff) |
automatic import of composefsopeneuler24.03_LTS
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | composefs.spec | 84 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/composefs-1.0.3.tar.xz diff --git a/composefs.spec b/composefs.spec new file mode 100644 index 0000000..12a4cc2 --- /dev/null +++ b/composefs.spec @@ -0,0 +1,84 @@ +%ifarch %{golang_arches} +%bcond man 1 +%endif + +Name: composefs +Version: 1.0.3 +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 +* Thu Feb 01 2024 Colin Walters <walters@verbum.org> - 1.0.3-2 +- Initial fork from c10s + Resolves: #RHELPLAN-169060 @@ -0,0 +1 @@ +dea99fe1917fe889530884a2f54b0664 composefs-1.0.3.tar.xz |