rypper/rypper.spec

50 lines
1.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package rypper (Version 0.21)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: rypper
BuildRequires: perl
Requires: zypper perl
License: GPL-3.0+
Group: System/Packages
Summary: Wrapper around zypper for managing multiple repositories
Version: 0.21
Release: 1
URL: http://www.adamspiers.org/computing/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: rypper
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