From c6110069f3a6e738955fa8fa6711b74ec418d4c69ee36c0128439f809829a41a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 11 Aug 2008 02:31:01 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epiphany-branding-openSUSE?expand=0&rev=1 --- .gitattributes | 23 +++++++++ epiphany-branding-openSUSE.changes | 6 +++ epiphany-branding-openSUSE.spec | 76 ++++++++++++++++++++++++++++++ opensuse-bookmarks.patch | 24 ++++++++++ ready | 0 5 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 epiphany-branding-openSUSE.changes create mode 100644 epiphany-branding-openSUSE.spec create mode 100644 opensuse-bookmarks.patch create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/epiphany-branding-openSUSE.changes b/epiphany-branding-openSUSE.changes new file mode 100644 index 0000000..abf07cc --- /dev/null +++ b/epiphany-branding-openSUSE.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Tue Jul 29 16:00:03 CEST 2008 - vuntz@novell.com + +- New package. +- Add openSUSE documentation bookmark. (fate#305003) + diff --git a/epiphany-branding-openSUSE.spec b/epiphany-branding-openSUSE.spec new file mode 100644 index 0000000..8320ff2 --- /dev/null +++ b/epiphany-branding-openSUSE.spec @@ -0,0 +1,76 @@ +# +# spec file for package epiphany-branding-openSUSE (Version 11.0) +# +# 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: epiphany-branding-openSUSE +License: GPL v2 or later +Version: 11.0 +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.22.2 +Supplements: packageand(branding-openSUSE:epiphany) +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 . +%patch + +%build + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/epiphany/chrome/branding +# custom bookmarks +install -m0644 default-bookmarks.rdf $RPM_BUILD_ROOT/%{_datadir}/epiphany +# chrome branding +sed "s;\(vendorShortName *\)\"GNOME\";\1\"openSUSE\";" %{_datadir}/epiphany/chrome/branding/brand.dtd > brand.dtd +install -m0644 brand.dtd $RPM_BUILD_ROOT/%{_datadir}/epiphany/chrome/branding +sed "s;vendorShortName=GNOME;vendorShortName=openSUSE;" %{_datadir}/epiphany/chrome/branding/brand.properties > brand.properties +install -m0644 brand.properties $RPM_BUILD_ROOT/%{_datadir}/epiphany/chrome/branding + +%clean +rm -rf $RPM_BUILD_ROOT + +%post + +%postun + +%files +%defattr(-,root,root) +%{_datadir}/epiphany/default-bookmarks.rdf +%{_datadir}/epiphany/chrome/branding/* + +%changelog +* Tue Jul 29 2008 vuntz@novell.com +- New package. +- Add openSUSE documentation bookmark. (fate#305003) diff --git a/opensuse-bookmarks.patch b/opensuse-bookmarks.patch new file mode 100644 index 0000000..f3a3f00 --- /dev/null +++ b/opensuse-bookmarks.patch @@ -0,0 +1,24 @@ +--- default-bookmarks.rdf.old 2008-07-30 03:43:13.000000000 +0200 ++++ default-bookmarks.rdf 2008-07-30 03:43:24.000000000 +0200 +@@ -6,6 +6,8 @@ + + + ++ ++ + + + +@@ -20,4 +22,12 @@ + "http://www.google.nl" and "http://www.google.nl/search?q=%s" --> + http://www.google.com/search?q=%s&ie=UTF-8&oe=UTF-8 + ++ ++ openSUSE News ++ http://news.opensuse.org ++ ++ ++ openSUSE Documentation ++ http://www.opensuse.org/documentation/ ++ + diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4