generated from pool/new_package
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
#
|
|
# spec file for package example-pkg
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: example-pkg
|
|
Version: 1.0
|
|
Release: 0
|
|
Summary: Example PKG
|
|
License: GPL-3.0-or-later
|
|
URL: https://example.org
|
|
Source0: example-1.0.tar.gz
|
|
BuildRequires: python3
|
|
|
|
%description
|
|
Example PKG
|
|
|
|
%prep
|
|
%autosetup -p1 -n example-1.0
|
|
|
|
%build
|
|
|
|
%install
|
|
install -D -m 755 example.py %{buildroot}%{_bindir}/%{name}
|
|
|
|
%check
|
|
exit 1
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|
|
|