epiphany-branding-openSUSE/epiphany-branding-openSUSE.spec

65 lines
2.1 KiB
RPMSpec

#
# spec file for package epiphany-branding-openSUSE (Version 11.2)
#
# Copyright (c) 2009 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: epiphany-branding-openSUSE
License: GPL v2 or later
Version: 11.2
Release: 2
Summary: openSUSE branding of epiphany
Group: Productivity/Networking/Web/Browsers
# PATCH-FEATURE-OPENSUSE opensuse-bookmarks.patch vuntz@novell.com -- Add openSUSE bookmarks
Patch0: opensuse-bookmarks.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: epiphany-branding = 2.27.4
Conflicts: otherproviders(epiphany-branding)
Supplements: packageand(epiphany:branding-openSUSE)
BuildArch: noarch
# To be in sync with upstream defaults, do branding as a patch for upstream file.
# WARNING: As this package conflicts with epiphany-branding-openSUSE, you cannot
# reuse build root. You have to build in a clean build root every time!
BuildRequires: epiphany-branding-upstream
# For directory ownership:
BuildRequires: epiphany
%description
This package provides openSUSE Look and Feel for Epiphany.
%prep
cp -a %{_datadir}/epiphany/default-bookmarks.rdf .
%patch0
%build
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/epiphany
# custom bookmarks
install -m0644 default-bookmarks.rdf $RPM_BUILD_ROOT/%{_datadir}/epiphany
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_datadir}/epiphany/default-bookmarks.rdf
%changelog