File rembrand.spec of Package rembrand
#
# spec file for package rembrand (Version 1.2)
#
# 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: rembrand
BuildRequires: libbz2-devel libelf0-devel rpm-devel zlib-devel
License: GPL v2 or later
Group: System/Management
AutoReqProv: on
Version: 1.2
Release: 111
Summary: A tool to remove SUSE/Novell branding from openSUSE
Source: file://suse/mls/rpminjectfile-1.0.tar.gz
Source1: file://suse/jw/src/rembrand/rpm-rembrand.pl
Source2: file://suse/jw/src/rembrand/defaults.tar.gz
Patch: rpminjectfile-vendor.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: rpminjectfile rpm-rembrand
Requires: perl libelf jpeg
%description
A tool to remove SUSE/Novell branding from openSUSE. Contains
rpminjectfile.
Further details see
http://en.opensuse.org/Making_a_SUSE_based_distribution
Authors:
--------
jw@suse.de
mls@suse.de
%prep
%setup -n rpminjectfile-1.0
cp %{S:1} .
tar zxvf %{S:2}
%patch0 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" make
%install
BINDIR=$RPM_BUILD_ROOT/usr/bin
LIBDIR=$RPM_BUILD_ROOT/usr/share/rembrand/defaults
mkdir -p $BINDIR
mkdir -p $LIBDIR
install -m 755 rpm-rembrand.pl $BINDIR/rpm-rembrand
install -m 755 rpminjectfile $BINDIR
install -m 644 defaults/* $LIBDIR
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/bin/*
/usr/share/*
%changelog
* Wed Oct 22 2008 mrueckert@suse.de
- add zlib and bzip2 devel packages to buildrequires
* Mon Jul 02 2007 tiwai@suse.de
- changed from libelf to libelf0-devel in buildrequires.
* Tue Dec 05 2006 jw@suse.de
- Fixed some white PNG's that were flagged optional.
- Added option -n
- One level of magic subdirectory expansion is now supported.
* Mon Dec 04 2006 jw@suse.de
- added some gnome splash and wallpapers.
* Mon Dec 04 2006 jw@suse.de
- bugzilla #225146
titlebar_decor.png found.
A bit of convenience: directories allowed instead of rpm list.
Optional files skipped per default. Option -a added to get them all.
* Fri Dec 01 2006 jw@suse.de
- creating directories when needed.
- added missing mng files in kdebase3
* Fri Dec 01 2006 jw@suse.de
- added jpeg dependency
* Fri Dec 01 2006 jw@suse.de
- added BMP support for patching OOo.
- added dummy MNG, SVG, EPS support.
* Fri Nov 24 2006 jw@suse.de
- initial version 1.0
- contains rpminjectfile and a wrapper script.
- list of Trademark-Files to be done.
- bugzilla #180391