2017-03-15 14:08:05 +01:00
|
|
|
#
|
|
|
|
# spec file for package product-builder
|
|
|
|
#
|
2021-02-08 16:58:17 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2017-03-15 14:08:05 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2017-04-27 11:52:49 +02:00
|
|
|
|
2018-08-24 14:37:19 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-03-15 14:08:05 +01:00
|
|
|
#
|
2017-04-27 11:52:49 +02:00
|
|
|
|
|
|
|
|
2017-03-15 14:08:05 +01:00
|
|
|
Summary: SUSE Product Builder
|
2018-03-02 09:32:52 +01:00
|
|
|
License: GPL-2.0-only
|
2017-04-11 17:20:56 +02:00
|
|
|
Group: System/Management
|
2020-02-05 13:10:31 +01:00
|
|
|
URL: http://github.com/openSUSE/product-builder
|
2017-04-27 11:52:49 +02:00
|
|
|
Name: product-builder
|
|
|
|
Conflicts: kiwi
|
|
|
|
Conflicts: kiwi-instsource
|
2021-06-28 10:49:24 +02:00
|
|
|
Version: 1.3.4
|
2017-04-11 17:20:56 +02:00
|
|
|
Release: 0
|
2017-04-27 11:52:49 +02:00
|
|
|
Provides: kiwi-schema = 6.2
|
2017-03-15 14:08:05 +01:00
|
|
|
Source: product-builder-%version.tar.xz
|
|
|
|
|
2017-04-11 17:20:56 +02:00
|
|
|
Requires: libxslt
|
2017-04-27 11:52:49 +02:00
|
|
|
Requires: perl >= %{perl_version}
|
2017-03-15 14:08:05 +01:00
|
|
|
Requires: perl-Class-Singleton
|
|
|
|
Requires: perl-Config-IniFiles >= 2.49
|
|
|
|
Requires: perl-File-Slurp
|
|
|
|
Requires: perl-JSON
|
|
|
|
Requires: perl-Readonly
|
|
|
|
Requires: perl-XML-LibXML
|
|
|
|
Requires: perl-XML-LibXML-Common
|
|
|
|
Requires: perl-XML-SAX
|
|
|
|
Requires: perl-libwww-perl
|
|
|
|
|
|
|
|
Provides: kiwi-packagemanager:instsource
|
2017-07-11 14:35:09 +02:00
|
|
|
Provides: system-packages:kiwi-product
|
2017-03-15 14:08:05 +01:00
|
|
|
Requires: build
|
2017-04-27 11:52:49 +02:00
|
|
|
Requires: checkmedia
|
2017-03-15 14:08:05 +01:00
|
|
|
Requires: inst-source-utils
|
2018-03-08 09:49:23 +01:00
|
|
|
Requires: mkisofs
|
2017-03-15 14:08:05 +01:00
|
|
|
Requires: product-builder-plugin
|
|
|
|
%ifarch %ix86 x86_64
|
|
|
|
Requires: syslinux
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
The SUSE product builder, builds product media (CD/DVD) for
|
|
|
|
the SUSE product portfolio. Based on kiwi perl implementation.
|
|
|
|
|
2017-09-04 14:55:56 +02:00
|
|
|
To be used only for product medias for Leap 15 and SLE 15.
|
2017-03-15 14:08:05 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
test -e /.buildenv && . /.buildenv
|
2019-09-16 10:33:58 +02:00
|
|
|
make CFLAGS="%{optflags}"
|
2017-03-15 14:08:05 +01:00
|
|
|
|
|
|
|
%install
|
2017-05-22 10:17:53 +02:00
|
|
|
make buildroot="%{buildroot}" \
|
|
|
|
doc_prefix="%{buildroot}/%{_defaultdocdir}" \
|
|
|
|
man_prefix="%{buildroot}/%{_mandir}" \
|
2017-03-15 14:08:05 +01:00
|
|
|
install
|
2017-05-22 10:17:53 +02:00
|
|
|
./.version >"%{buildroot}/%{_datadir}/kiwi/.revision"
|
2017-03-15 14:08:05 +01:00
|
|
|
|
2019-09-16 10:33:58 +02:00
|
|
|
%if 0%{?is_opensuse}
|
|
|
|
mv %{buildroot}%{_bindir}/product-builder{.pl,}
|
|
|
|
%else
|
|
|
|
# install SLE wrapper as entry point. It doesn't really harm as the
|
|
|
|
# build flavor detected is very specific, but to avoid waste...
|
|
|
|
ln -s product-builder-sle.sh %{buildroot}%{_bindir}/product-builder
|
|
|
|
%endif
|
|
|
|
|
2017-03-15 14:08:05 +01:00
|
|
|
%files
|
|
|
|
%dir %{_datadir}/kiwi
|
2018-06-04 15:36:16 +02:00
|
|
|
%license LICENSE
|
2017-03-15 14:08:05 +01:00
|
|
|
%{_datadir}/kiwi/.revision
|
2017-06-27 16:19:14 +02:00
|
|
|
%{_datadir}/kiwi/metadata
|
2017-03-15 14:08:05 +01:00
|
|
|
%{_datadir}/kiwi/modules
|
|
|
|
%{_datadir}/kiwi/xsl
|
2019-09-16 10:33:58 +02:00
|
|
|
%{_bindir}/product-builder*
|
2017-03-15 14:08:05 +01:00
|
|
|
|
|
|
|
%changelog
|