File hello.spec of Package hello
#
# spec file for package hello
#
# Copyright (c) 2024 Christopher B Miller
#
# 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: hello
Version: 2.12.1
Release: 0
Summary: A hello world package
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: GPL-3.0-or-later
URL: https://www.gnu.org/software/hello/
Source: ftp://ftp.gnu.org/pub/gnu/hello/%{name}-%{version}.tar.gz
%description
The GNU Hello program produces a familiar, friendly greeting. Yes, this is another implementation of the classic program that prints “Hello, world!” when you run it.
%lang_package
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
%find_lang %{name}
%files
%license COPYING
%doc ChangeLog README
%{_bindir}/hello
%{_infodir}/hello.info%{?ext_info}
# %%{_datadir}/locale/*/LC_MESSAGES/hello.mo
%{_mandir}/man1/hello.1%{?ext_man}
%files lang -f %{name}.lang
%license COPYING
%changelog