Package init
This commit is contained in:
parent
8ae7b6a04b
commit
a2b5e16725
BIN
epiphany-3.36.4.tar.xz
Normal file
BIN
epiphany-3.36.4.tar.xz
Normal file
Binary file not shown.
52
epiphany-default-bookmarks.patch
Normal file
52
epiphany-default-bookmarks.patch
Normal file
@ -0,0 +1,52 @@
|
||||
From fd32feaeb87b10c65c20bb99ac1cbd6b03cc3a2d Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@igalia.com>
|
||||
Date: Thu, 12 May 2016 20:04:16 -0500
|
||||
Subject: [PATCH] Fedora bookmarks
|
||||
|
||||
---
|
||||
data/default-bookmarks.rdf.in | 25 +++++++++++++++++++++++++
|
||||
1 file changed, 25 insertions(+)
|
||||
|
||||
diff --git a/data/default-bookmarks.rdf.in b/data/default-bookmarks.rdf.in
|
||||
index 6c3440e..a0c08e1 100644
|
||||
--- a/data/default-bookmarks.rdf.in
|
||||
+++ b/data/default-bookmarks.rdf.in
|
||||
@@ -7,5 +7,10 @@
|
||||
<rdf:Seq>
|
||||
<rdf:li rdf:resource="https://www.gnome.org/"/>
|
||||
+ <rdf:li rdf:resource="https://www.redhat.com/"/>
|
||||
+ <rdf:li rdf:resource="https://www.fedoraproject.org/"/>
|
||||
+ <rdf:li rdf:resource="https://fedoramagazine.org/"/>
|
||||
+ <rdf:li rdf:resource="https://ask.fedoraproject.org/"/>
|
||||
+ <rdf:li rdf:resource="https://docs.fedoraproject.org/"/>
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
</channel>
|
||||
@@ -18,4 +23,24 @@
|
||||
<title>GNOME</title>
|
||||
<link>https://www.gnome.org/</link>
|
||||
</item>
|
||||
+ <item rdf:about="https://www.redhat.com/">
|
||||
+ <title>Red Hat</title>
|
||||
+ <link>https://www.redhat.com/</link>
|
||||
+ </item>
|
||||
+ <item rdf:about="https://www.fedoraproject.org/">
|
||||
+ <title>Fedora</title>
|
||||
+ <link>https://www.fedoraproject.org/</link>
|
||||
+ </item>
|
||||
+ <item rdf:about="https://fedoramagazine.org/">
|
||||
+ <title>Fedora Magazine</title>
|
||||
+ <link>https://fedoramagazine.org/</link>
|
||||
+ </item>
|
||||
+ <item rdf:about="https://ask.fedoraproject.org/">
|
||||
+ <title>Ask Fedora</title>
|
||||
+ <link>https://ask.fedoraproject.org/</link>
|
||||
+ </item>
|
||||
+ <item rdf:about="https://docs.fedoraproject.org/">
|
||||
+ <title>Fedora Documentation</title>
|
||||
+ <link>https://docs.fedoraproject.org/</link>
|
||||
+ </item>
|
||||
</rdf:RDF>
|
||||
--
|
||||
2.7.4
|
||||
|
||||
21
epiphany-dont-make-compulsory.patch
Normal file
21
epiphany-dont-make-compulsory.patch
Normal file
@ -0,0 +1,21 @@
|
||||
From: Jeremy Bicha <jbicha@debian.org>
|
||||
Date: Sun, 18 Feb 2018 15:24:30 -0500
|
||||
Subject: Since Epiphany is not our default browser,
|
||||
|
||||
allow users to uninstall it using the GNOME Software app
|
||||
---
|
||||
data/org.gnome.Epiphany.appdata.xml.in.in | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/data/org.gnome.Epiphany.appdata.xml.in.in b/data/org.gnome.Epiphany.appdata.xml.in.in
|
||||
index 220d9bd..f8bf74b 100644
|
||||
--- a/data/org.gnome.Epiphany.appdata.xml.in.in
|
||||
+++ b/data/org.gnome.Epiphany.appdata.xml.in.in
|
||||
@@ -32,7 +32,6 @@
|
||||
<kudo>UserDocs</kudo>
|
||||
</kudos>
|
||||
<project_group>GNOME</project_group>
|
||||
- <compulsory_for_desktop>GNOME</compulsory_for_desktop>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<developer_name>The GNOME Project</developer_name>
|
||||
<url type="bugtracker">https://gitlab.gnome.org/GNOME/epiphany/issues</url>
|
||||
80
epiphany.spec
Normal file
80
epiphany.spec
Normal file
@ -0,0 +1,80 @@
|
||||
%global glib2_version 2.61.2
|
||||
%global gtk3_version 3.24.0
|
||||
%global webkit2gtk3_version 2.27.3
|
||||
Name: epiphany
|
||||
Epoch: 1
|
||||
Version: 3.36.4
|
||||
Release: 1
|
||||
Summary: Web browser for GNOME
|
||||
License: GPL-3.0+ and LGPL-2.1 and MIT and GPL+ and ISC
|
||||
URL: https://wiki.gnome.org/Apps/Web
|
||||
Source0: https://download.gnome.org/sources/epiphany/3.36/%{name}-%{version}.tar.xz
|
||||
Patch0: epiphany-default-bookmarks.patch
|
||||
Patch1: epiphany-dont-make-compulsory.patch
|
||||
BuildRequires: desktop-file-utils gcc gettext-devel iso-codes-devel itstool
|
||||
BuildRequires: libappstream-glib-devel meson pkgconfig(cairo) pkgconfig(evince-document-3.0)
|
||||
BuildRequires: pkgconfig(gcr-3) pkgconfig(gdk-3.0) >= %{gtk3_version}
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) pkgconfig(gio-unix-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||
BuildRequires: pkgconfig(gtk+-unix-print-3.0) >= %{gtk3_version} pkgconfig(hogweed)
|
||||
BuildRequires: pkgconfig(icu-uc) pkgconfig(json-glib-1.0) pkgconfig(libdazzle-1.0)
|
||||
BuildRequires: pkgconfig(libhandy-0.0) pkgconfig(libnotify) pkgconfig(libsecret-1)
|
||||
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(libxml-2.0) pkgconfig(libxslt)
|
||||
BuildRequires: pkgconfig(nettle) pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk3_version}
|
||||
BuildRequires: pkgconfig(webkit2gtk-web-extension-4.0) >= %{webkit2gtk3_version}
|
||||
Requires: %{name}-runtime%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%description
|
||||
Epiphany is the web browser for the GNOME desktop. Its goal is to be
|
||||
simple and easy to use. Epiphany ties together many GNOME components
|
||||
in order to let you focus on the Web content, instead of the browser
|
||||
application.
|
||||
|
||||
%package runtime
|
||||
Summary: Epiphany runtime suitable for web applications
|
||||
Requires: gsettings-desktop-schemas gtk3%{?_isa} >= %{gtk3_version} iso-codes
|
||||
Requires: webkit2gtk3%{?_isa} >= %{webkit2gtk3_version}
|
||||
%description runtime
|
||||
This package provides a runtime for web applications without actually
|
||||
installing the epiphany application itself.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name} --with-gnome
|
||||
|
||||
%check
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{_libexecdir}/epiphany-search-provider
|
||||
%{_datadir}/applications/org.gnome.Epiphany.desktop
|
||||
%{_datadir}/dbus-1/services/org.gnome.Epiphany.SearchProvider.service
|
||||
%{_datadir}/metainfo/org.gnome.Epiphany.appdata.xml
|
||||
%dir %{_datadir}/gnome-shell/
|
||||
%dir %{_datadir}/gnome-shell/search-providers/
|
||||
%{_datadir}/gnome-shell/search-providers/org.gnome.Epiphany.SearchProvider.ini
|
||||
|
||||
%files runtime
|
||||
%license COPYING
|
||||
%doc NEWS README.md
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gnome.Epiphany*
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.epiphany.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.Epiphany.enums.xml
|
||||
%{_bindir}/epiphany
|
||||
%{_libexecdir}/epiphany/
|
||||
%{_libdir}/epiphany/
|
||||
%{_datadir}/epiphany
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Nov 5 2020 Liu wei bo <liuweibo10@huawei.com> - 3.36.4-1
|
||||
- package init
|
||||
BIN
epiphany.tar
Normal file
BIN
epiphany.tar
Normal file
Binary file not shown.
4
epiphany.yaml
Normal file
4
epiphany.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: gitlab.gnome
|
||||
src_repo: epiphany
|
||||
tag_prefix: ""
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user