parent
9887080db9
commit
3e3a5b57d1
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/dconf-editor-3.15.91.tar.xz
|
26
dconf-editor-appdata-screenshot-url.patch
Normal file
26
dconf-editor-appdata-screenshot-url.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 4ef6f66673e45ca62aa0ef6a68ba1cb69e0fb01b Mon Sep 17 00:00:00 2001
|
||||||
|
From: David King <amigadave@amigadave.com>
|
||||||
|
Date: Tue, 3 Mar 2015 08:35:12 +0000
|
||||||
|
Subject: [PATCH] Update AppData screenshot URL
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=745501
|
||||||
|
---
|
||||||
|
editor/ca.desrt.dconf-editor.appdata.xml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/editor/ca.desrt.dconf-editor.appdata.xml b/editor/ca.desrt.dconf-editor.appdata.xml
|
||||||
|
index f1ce2f0..c4ac9f2 100644
|
||||||
|
--- a/editor/ca.desrt.dconf-editor.appdata.xml
|
||||||
|
+++ b/editor/ca.desrt.dconf-editor.appdata.xml
|
||||||
|
@@ -12,7 +12,7 @@
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
- <screenshot type="default" width="640" height="360">https://git.gnome.org/browse/dconf/plain/editor/screenshot.png</screenshot>
|
||||||
|
+ <screenshot type="default" width="640" height="360">https://git.gnome.org/browse/dconf-editor/plain/editor/screenshot.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<url type="homepage">https://wiki.gnome.org/Projects/dconf</url>
|
||||||
|
</application>
|
||||||
|
--
|
||||||
|
2.3.1
|
||||||
|
|
78
dconf-editor.spec
Normal file
78
dconf-editor.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
Name: dconf-editor
|
||||||
|
Version: 3.15.91
|
||||||
|
Release: 3%{?dist}
|
||||||
|
Summary: Configuration editor for dconf
|
||||||
|
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: https://wiki.gnome.org/Projects/dconf
|
||||||
|
Source0: https://download.gnome.org/sources/dconf-editor/3.15/dconf-editor-%{version}.tar.xz
|
||||||
|
Patch0: dconf-editor-appdata-screenshot-url.patch
|
||||||
|
|
||||||
|
BuildRequires: /usr/bin/appstream-util
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: pkgconfig(dconf)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gmodule-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: vala
|
||||||
|
|
||||||
|
%description
|
||||||
|
Graphical tool for editing the dconf configuration database.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%find_lang dconf
|
||||||
|
|
||||||
|
%check
|
||||||
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml
|
||||||
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ca.desrt.dconf-editor.desktop
|
||||||
|
|
||||||
|
%post
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
touch --no-create %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/HighContrast &>/dev/null || :
|
||||||
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
|
|
||||||
|
%files -f dconf.lang
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/dconf-editor
|
||||||
|
%{_datadir}/appdata/ca.desrt.dconf-editor.appdata.xml
|
||||||
|
%{_datadir}/applications/ca.desrt.dconf-editor.desktop
|
||||||
|
%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service
|
||||||
|
%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/dconf-editor.png
|
||||||
|
%{_datadir}/icons/HighContrast/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-3
|
||||||
|
- Fix unowned HighContrast icon theme directories (#1197898)
|
||||||
|
|
||||||
|
* Tue Mar 03 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-2
|
||||||
|
- Fix appdata screenshot URL
|
||||||
|
- Validate appdata during %%check
|
||||||
|
|
||||||
|
* Mon Mar 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.15.91-1
|
||||||
|
- Initial Fedora packaging
|
Loading…
Reference in New Issue
Block a user