-
Notifications
You must be signed in to change notification settings - Fork 9
/
otk.spec
57 lines (42 loc) · 1.16 KB
/
otk.spec
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
%global forgeurl https://github.com/osbuild/otk
Version: 2024.0.0
%forgemeta
Name: otk
Release: 1
License: Apache-2.0
URL: %{forgeurl}
Source0: %{forgesource}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: pyproject-rpm-macros
Summary: The omnifest toolkit
%generate_buildrequires
%pyproject_buildrequires
%description
The omnifest toolkit is a YAML transpiler to take omnifest inputs and
translate them into osbuild manifests.
%prep
%forgeautosetup
%build
%pyproject_wheel
%install
%pyproject_install
# Install the examples
mkdir -p %{buildroot}%{_datadir}/otk/example/
cp -a example/* %{buildroot}%{_datadir}/otk/example/
%files
%license LICENSE
%doc doc
%{_datadir}/otk
%{_bindir}/otk
%{_bindir}/osbuild-gen-depsolve-dnf4
%{_bindir}/osbuild-make-depsolve-dnf4-curl-source
%{_bindir}/osbuild-make-depsolve-dnf4-rpm-stage
%{_bindir}/osbuild-get-dnf4-package-info
%{python3_sitelib}/otk
%{python3_sitelib}/otk_external_osbuild
%{python3_sitelib}/otk-%{version}.dist-info
%changelog
* Wed May 08 2024 Brian C. Lane <bcl@redhat.com> - 2024.0.0-1
- Initial package creation