From a01e9028b84d40006fc8613eea5934ee3a2c39af Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 25 Oct 2023 15:05:06 -0400 Subject: [PATCH] Initial Build of the composefs package. Import of source code of 1.0.1 and spec file. Test of build for rawhide. TODO: move to %auto items Signed-off-by: Stephen Smoogen --- .gitignore | 1 + composefs.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 .gitignore create mode 100644 composefs.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7b15e0d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/composefs-1.0.1.tar.xz diff --git a/composefs.spec b/composefs.spec new file mode 100644 index 0000000..c5b0a27 --- /dev/null +++ b/composefs.spec @@ -0,0 +1,76 @@ +Name: composefs +Version: 1.0.1 +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 yajl-devel pandoc fuse3-devel +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} + +%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 + +%build +%configure \ + --disable-static \ + --enable-man \ + --with-yajl \ + --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 +%doc README.md +%{_bindir}/mkcomposefs +%{_bindir}/composefs-info +%{_sbindir}/mount.composefs +%{_mandir}/man*/* + +%changelog +* Mon Oct 16 2023 Stephen Smoogen - 1.0.1-2 +- Take in fixes from reviwers to fix man page compression types +- Take in fixes from reviwers to move licenses to lib subpackage + +* Fri Oct 13 2023 Stephen Smoogen - 1.0.1-1 +- Update to 1.0.1 +- Confirm license is in SPDX format + +* Fri Apr 21 2023 Alexander Larsson +- Initial version diff --git a/sources b/sources new file mode 100644 index 0000000..ddf4df8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (composefs-1.0.1.tar.xz) = 0df27af756f70a9a4961a6dd839e354359efffede2f7f8d21c40ddf6dd5d750d52d56b90b4a6d4f48ffa8fb1b3df6b4efd43508a330342de4753fcc35427b9e7