diff --git a/.dconf-editor.metadata b/.dconf-editor.metadata new file mode 100644 index 0000000..21bbe5e --- /dev/null +++ b/.dconf-editor.metadata @@ -0,0 +1 @@ +ac5b3a2084fe8a27a83afd0a26643793b1689265 SOURCES/dconf-editor-3.28.0.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..71b1445 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dconf-editor-3.28.0.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/dconf-editor-python3.patch b/SOURCES/dconf-editor-python3.patch new file mode 100644 index 0000000..ed55d03 --- /dev/null +++ b/SOURCES/dconf-editor-python3.patch @@ -0,0 +1,8 @@ +--- dconf-editor-3.28.0/meson_post_install.py.python3 2018-03-13 09:18:02.000000000 +0100 ++++ dconf-editor-3.28.0/meson_post_install.py 2018-05-21 21:50:52.401846785 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python3 ++#!/usr/bin/env python2 + + import os + import subprocess diff --git a/SPECS/dconf-editor.spec b/SPECS/dconf-editor.spec new file mode 100644 index 0000000..df9d198 --- /dev/null +++ b/SPECS/dconf-editor.spec @@ -0,0 +1,179 @@ +%global dconf_version 0.26.1 +%global glib2_version 2.55.1 +%global gtk3_version 3.22.27 + +Name: dconf-editor +Version: 3.28.0 +Release: 1%{?dist} +Summary: Configuration editor for dconf + +License: GPLv3+ and CC0 +URL: https://wiki.gnome.org/Projects/dconf +Source0: https://download.gnome.org/sources/dconf-editor/3.28/dconf-editor-%{version}.tar.xz +# Fix the build with Python 2 +Patch0: dconf-editor-python3.patch + +BuildRequires: /usr/bin/appstream-util +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: meson +BuildRequires: pkgconfig(dconf) >= %{dconf_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: vala + +Requires: dconf%{?_isa} >= %{dconf_version} +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gtk3%{?_isa} >= %{gtk3_version} + +# dconf-editor has been split off dconf in 0.23.1 +Conflicts: dconf <= 0.23.1 + +%description +Graphical tool for editing the dconf configuration database. + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%find_lang dconf-editor + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/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 || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || : + +%files -f dconf-editor.lang +%license COPYING +%{_bindir}/dconf-editor +%{_datadir}/applications/ca.desrt.dconf-editor.desktop +%{_datadir}/bash-completion/ +%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service +%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml +%{_datadir}/icons/hicolor/*/apps/ca.desrt.dconf-editor.png +%{_datadir}/icons/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg +%{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml +%{_mandir}/man1/dconf-editor.1* + +%changelog +* Tue Mar 13 2018 Kalev Lember - 3.28.0-1 +- Update to 3.28.0 +- Resolves: #1569718 + +* Mon Mar 6 2017 Marek Kasik - 3.22.3-3 +- Add Requires +- Related: #1388931 + +* Tue Jan 31 2017 Marek Kasik - 3.22.3-2 +- Import dconf-editor package from Fedora 25 +- Add Conflicts tag +- Version BuildRequires +- Update License field +- Resolves: #1388931 + +* Sat Jan 14 2017 Kalev Lember - 3.22.3-1 +- Update to 3.22.3 + +* Wed Oct 12 2016 Kalev Lember - 3.22.1-1 +- Update to 3.22.1 + +* Fri Sep 16 2016 Kalev Lember - 3.21.92-1 +- Update to 3.21.92 + +* Thu Aug 18 2016 Kalev Lember - 3.21.90-1 +- Update to 3.21.90 + +* Wed Jul 20 2016 Richard Hughes - 3.21.4-1 +- Update to 3.21.4 + +* Tue May 03 2016 Kalev Lember - 3.21.1-1 +- Update to 3.21.1 + +* Thu Apr 14 2016 Kalev Lember - 3.20.1-1 +- Update to 3.20.1 + +* Tue Mar 22 2016 Kalev Lember - 3.20.0-1 +- Update to 3.20.0 + +* Tue Mar 15 2016 Richard Hughes - 3.19.92-1 +- Update to 3.19.92 + +* Tue Mar 01 2016 Richard Hughes - 3.19.91-1 +- Update to 3.19.91 + +* Tue Feb 16 2016 Richard Hughes - 3.19.90-1 +- Update to 3.19.90 + +* Wed Feb 03 2016 Fedora Release Engineering - 3.19.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 15 2015 Kalev Lember - 3.19.3-1 +- Update to 3.19.3 + +* Tue Nov 24 2015 Kalev Lember - 3.19.2-1 +- Update to 3.19.2 + +* Fri Nov 13 2015 Kalev Lember - 3.18.2-1 +- Update to 3.18.2 + +* Mon Oct 12 2015 Kalev Lember - 3.18.1-1 +- Update to 3.18.1 + +* Mon Sep 21 2015 Kalev Lember - 3.18.0-1 +- Update to 3.18.0 + +* Tue Sep 15 2015 Kalev Lember - 3.17.92-1 +- Update to 3.17.92 + +* Tue Sep 01 2015 Kalev Lember - 3.17.91-1 +- Update to 3.17.91 + +* Wed Aug 19 2015 Kalev Lember - 3.17.90-1 +- Update to 3.17.90 + +* Wed Jun 17 2015 Fedora Release Engineering - 3.17.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 01 2015 Kalev Lember - 3.17.1-1 +- Update to 3.17.1 + +* Tue Apr 14 2015 Kalev Lember - 3.16.1-1 +- Update to 3.16.1 + +* Mon Mar 23 2015 Kalev Lember - 3.16.0-1 +- Update to 3.16.0 + +* Tue Mar 17 2015 Kalev Lember - 3.15.92-1 +- Update to 3.15.92 +- Ship the man page + +* Tue Mar 03 2015 Kalev Lember - 3.15.91-3 +- Fix unowned HighContrast icon theme directories (#1197898) + +* Tue Mar 03 2015 Kalev Lember - 3.15.91-2 +- Fix appdata screenshot URL +- Validate appdata during %%check + +* Mon Mar 02 2015 Kalev Lember - 3.15.91-1 +- Initial Fedora packaging