b95af99620
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval https://github.com/containers/composefs/pull/229
77 lines
2.1 KiB
RPMSpec
77 lines
2.1 KiB
RPMSpec
Name: composefs
|
|
Version: 1.0.1
|
|
Release: 4%{?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
|
|
# Use go-md2man instead of pandoc for building manpages
|
|
# https://github.com/containers/composefs/pull/227 (backported)
|
|
Patch0: 227.patch
|
|
|
|
BuildRequires: gcc automake libtool openssl-devel yajl-devel go-md2man fuse3-devel
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
|
ExcludeArch: %{ix86}
|
|
|
|
%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 \
|
|
--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
|
|
%autochangelog
|