c04a584540
- Update to 0.24 - Fix parsing of zypper lr -d, which now lists a gpg check field OBS-URL: https://build.opensuse.org/request/show/432574 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/rypper?expand=0&rev=7
58 lines
1.8 KiB
RPMSpec
58 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package rypper
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX 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: rypper
|
|
BuildRequires: perl
|
|
Requires: perl
|
|
Requires: zypper
|
|
Summary: Wrapper around zypper for managing multiple repositories
|
|
License: GPL-3.0+
|
|
Group: System/Packages
|
|
Version: 0.24
|
|
Release: 0
|
|
Url: http://www.adamspiers.org/computing/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source0: https://raw.github.com/aspiers/SUSE-dist/master/bin/rypper
|
|
Source1: COPYING
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
rypper is a wrapper around zypper for performing repository operations
|
|
in batch. It allows selection of which repositories to operate on via
|
|
a number of different repository selection specifiers.
|
|
|
|
%prep
|
|
|
|
%build
|
|
pod2man --section=8 $RPM_SOURCE_DIR/rypper > rypper.8
|
|
cp $RPM_SOURCE_DIR/COPYING .
|
|
|
|
%install
|
|
install -d %{buildroot}%{_prefix}/bin
|
|
install -d %{buildroot}%{_mandir}/man8
|
|
install $RPM_SOURCE_DIR/rypper %{buildroot}%{_prefix}/bin
|
|
install -m 644 rypper.8 %{buildroot}%{_mandir}/man8
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/rypper
|
|
%{_mandir}/man8/*.8.gz
|
|
%doc COPYING
|
|
|
|
%changelog
|