forked from containers/composefs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposefs.spec.in
87 lines (69 loc) · 2.31 KB
/
composefs.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
%ifarch %{golang_arches}
%bcond man 1
%endif
Name: composefs
Version: @VERSION@
Release: 1%{?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}
%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 \
%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
* Mon Oct 16 2023 Stephen Smoogen <ssmoogen@redhat.com>
- 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 <ssmoogen@redhat.com>
- Update to 1.0.1
- Confirm license is in SPDX format
* Fri Apr 21 2023 Alexander Larsson <alexl@redhat.com>
- Initial version