File leapup.spec of Package leapup
#
# spec file for package leapup
#
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: leapup
Version: 1.1
Release: 1
License: GPL-3.0
Summary: A tool to prepare openSUSE Leap for version upgrades
Url: https://github.com/lemmy04/leapup
Group: system
Source: %{name}-%{version}.tar.xz
BuildRequires: coreutils
BuildRequires: gzip
Provides: /usr/sbin/leapup
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
leapup prepares your openSUSE system for seamless upgrades from one version to the next.
%prep
%setup -q
%build
echo nothing to do
%install
install -m 755 -D leapup.sh %{buildroot}/%{_sbindir}/leapup
install -m 755 -D leapup.8 %{buildroot}/%{_mandir}/man8/leapup.8
%files
%defattr(-,root,root)
%doc README.md LICENSE
%{_sbindir}/leapup
%{_mandir}/man8/leapup.8.gz
%changelog