File rpmrebuild.spec of Package rpmrebuild
#
# spec file for package rpmrebuild
#
# Copyright (c) 2011 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: rpmrebuild
Version: 2.6
Release: 1
License: GPLv2+
Summary: A tool to build a rpm file from the rpm database
Url: http://rpmrebuild.sourceforge.net
Group: System/Packages
Source: %{name}-%{version}.tar.bz2
Requires: bash
Requires: coreutils
Requires: cpio
Requires: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
rpmrebuild allows to build an rpm file from an installed rpm, or from
another rpm file, with or without changes (batch or interactive). It
can be extended by a plugin system. A typical use is to easy repackage
a software after some configuration's change.
%prep
%setup -q -c
%build
%__make %{?_smp_mflags};
%install
%makeinstall "DESTDIR=%{buildroot}"
mv %{buildroot}%{_mandir}/fr_FR.UTF-8/ %{buildroot}%{_mandir}/fr
rm -rf %{buildroot}%{_mandir}/fr_FR/
%files
%defattr(-,root,root)
%{_bindir}/rpmrebuild
%{_prefix}/lib/rpmrebuild
%{_mandir}/fr/man1/*
%{_mandir}/man1/*
%changelog