File rpmrebuild.spec of Package rpmrebuild

#
# spec file for package rpmrebuild (Version 2.2.3)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           rpmrebuild
License:        GPL v2 or later
Group:          System/Packages
AutoReqProv:    on
Version:        2.2.3
Release:        1
Summary:        A tool to build a rpm file from the rpm database
Url:            http://rpmrebuild.sourceforge.net
Source:         %name-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Requires:       bash cpio coreutils sed

%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.



Authors:
--------
    Eric Gerbier <gerbier@users.sourceforge.net>
    Valery Reznic <valery_reznic@users.sourceforge.net>

%prep
%setup -q -c

%build
make

%install
make "DESTDIR=$RPM_BUILD_ROOT" install
mv $RPM_BUILD_ROOT%_mandir/fr_FR.UTF-8/ $RPM_BUILD_ROOT%_mandir/fr
rm -rf $RPM_BUILD_ROOT%_mandir/fr_FR/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%_bindir/rpmrebuild
%_prefix/lib/rpmrebuild
%_mandir/fr/man1/*
%_mandir/man1/*

%changelog
* Mon Sep 08 2008 hvogel@suse.de
- Update to version 2.2.3
  * fix a problem with new rpm security
  * fix a bug when working on package file with path
* Thu Apr 03 2008 hvogel@suse.de
- Update to version 2.2.1
  * fix bug on uid/gid with --pug-from-fs option
  * demo plugin : better error message
  * do not remove /etc/popt : it does not belong our package
  * add new set_tag plugin
  * new demofiles plugin
* Tue Dec 11 2007 hvogel@suse.de
- Initial Package, Version 2.2.0
openSUSE Build Service is sponsored by