a759257
%global majorversion %(cut -d "." -f 1-2 <<<%{version})
a759257
a759257
Name:           gnome-tweaks
7024bf3
Version:        3.34.1
7024bf3
Release:        1%{?dist}
a759257
Summary:        Customize advanced GNOME 3 options
a759257
a759257
# Software is GPLv3, Appdata file is CC0-1.0
a759257
License:        GPLv3 and CC0
a759257
URL:            https://wiki.gnome.org/action/show/Apps/Tweaks
a759257
Source0:        https://download.gnome.org/sources/%{name}/%{majorversion}/%{name}-%{version}.tar.xz
a759257
dcc4bcc
# Fix opening system installed extensions in gnome-software
dcc4bcc
# https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/25
dcc4bcc
Patch0:         0001-extensions-Fix-opening-system-installed-extensions-i.patch
0c2a1cc
# Fix extension preferences with gnome-extensions instead of
0c2a1cc
# gnome-shell-extension-prefs
0c2a1cc
# https://bugzilla.redhat.com/show_bug.cgi?id=1820396#c2
0c2a1cc
Patch1:         0002-extensions-Fix-preferences-opening.patch
dcc4bcc
a759257
BuildRequires:  desktop-file-utils
a759257
BuildRequires:  gettext
a759257
BuildRequires:  libappstream-glib
a759257
BuildRequires:  meson
a759257
BuildRequires:  python3-devel
a759257
Requires:       gnome-desktop3
a759257
Requires:       gnome-settings-daemon
0c2a1cc
Requires:       gnome-shell
a759257
Requires:       gnome-shell-extension-user-theme
a759257
Requires:       gobject-introspection
57c6128
Requires:       gsettings-desktop-schemas
57c6128
Requires:       gtk3
ad34e52
Requires:       libhandy
a759257
Requires:       libnotify
a759257
Requires:       libsoup
a759257
Requires:       mutter
a759257
Requires:       pango
a759257
Requires:       python3dist(pygobject)
f8f19cd
Provides:       gnome-tweak-tool = %{version}-%{release}
a759257
Obsoletes:      gnome-tweak-tool < 3.27.3-4
a759257
BuildArch:      noarch
a759257
a759257
%description
a759257
GNOME Tweaks allows adjusting advanced configuration settings in GNOME 3. This
a759257
includes things like the fonts used in user interface elements, alternative user
a759257
interface themes, changes in window management behavior, GNOME Shell appearance
a759257
and extension, etc.
a759257
a759257
a759257
%prep
dcc4bcc
%autosetup -p1
a759257
a759257
a759257
%build
a759257
%meson
a759257
%meson_build
a759257
a759257
a759257
%install
a759257
%meson_install
a759257
a759257
# Update the screenshot shown in the software center
a759257
#
a759257
# NOTE: It would be *awesome* if this file was pushed upstream.
a759257
#
a759257
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
a759257
#
a759257
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.tweaks.appdata.xml \
a759257
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/a.png \
a759257
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/b.png
a759257
a759257
%find_lang %{name}
a759257
a759257
a759257
%check
a759257
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
a759257
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.appdata.xml
a759257
a759257
a759257
%files -f %{name}.lang
a759257
%doc AUTHORS NEWS README.md
a759257
%license LICENSES/
a759257
%{_bindir}/%{name}
a759257
%{_libexecdir}/gnome-tweak-tool-lid-inhibitor
a759257
%{python3_sitelib}/gtweak/
a759257
%{_datadir}/metainfo/*.appdata.xml
a759257
%{_datadir}/applications/*.desktop
a759257
%{_datadir}/%{name}/
0ba4cf2
%{_datadir}/icons/hicolor/*/apps/org.gnome.tweaks.svg
0ba4cf2
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.tweaks-symbolic.svg
a759257
a759257
a759257
%changelog
7024bf3
* Fri Dec 11 2020 Kalev Lember <klember@redhat.com> - 3.34.1-1
7024bf3
- Update to 3.34.1
7024bf3
e620da5
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-6
e620da5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e620da5
6a0621b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.34.0-5
6a0621b
- Rebuilt for Python 3.9
6a0621b
0c2a1cc
* Sat Apr 04 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.34.0-4
0c2a1cc
- Fix extension preferences opening (RHBZ #1820396)
0c2a1cc
5cd5545
* Sat Mar 28 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.34.0-3
5cd5545
- Add dependency on gnome-extensions-app (RHBZ #1812779)
5cd5545
8bf89e0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-2
8bf89e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8bf89e0
efa7fab
* Fri Sep 27 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
efa7fab
- Update to 3.34.0
efa7fab
426772c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.33.90-2
426772c
- Rebuilt for Python 3.8
426772c
ad34e52
* Fri Aug 09 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.33.90-1
ad34e52
- Update to 3.33.90
ad34e52
0e7ca5d
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-3
0e7ca5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0e7ca5d
f8f19cd
* Wed Jun 19 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.32.0-2
f8f19cd
- Fix typo in Provides version (RHBZ #1721864)
f8f19cd
20c2b11
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
20c2b11
- Update to 3.32.0
20c2b11
cac9d7e
* Wed Feb 06 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
cac9d7e
- Update to 3.31.90
cac9d7e
7d44969
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.3-2
7d44969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7d44969
0ba4cf2
* Wed Jan 23 2019 Kalev Lember <klember@redhat.com> - 3.31.3-1
0ba4cf2
- Update to 3.31.3
0ba4cf2
47d3695
* Wed Dec 19 2018 Kalev Lember <klember@redhat.com> - 3.30.2-1
47d3695
- Update to 3.30.2
dcc4bcc
- Fix opening system installed extensions in gnome-software
47d3695
7f4e881
* Fri Sep 28 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
7f4e881
- Update to 3.30.1
7f4e881
72f3724
* Thu Sep 06 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.30.0-1
72f3724
- Update to 3.30.0
72f3724
57c6128
* Wed Aug 29 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.29.92-1
57c6128
- Update to 3.29.92
57c6128
389e0f4
* Mon Aug 13 2018 Kalev Lember <klember@redhat.com> - 3.29.91.1-1
389e0f4
- Update to 3.29.91.1
389e0f4
Mohamed El Morabity 777a133
* Fri Aug 03 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.29.90.1-1
Mohamed El Morabity 777a133
- Update to 3.29.90.1
Mohamed El Morabity 777a133
17aa3c5
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.29.2-3
17aa3c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
17aa3c5
9e95264
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.29.2-2
9e95264
- Rebuilt for Python 3.7
9e95264
0c7a7f4
* Mon May 21 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.29.2-1
0c7a7f4
- Update to 3.29.2
0c7a7f4
3a719e8
* Sun Apr 08 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
3a719e8
- Update to 3.28.1
3a719e8
4b77f8d
* Mon Mar 12 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.28.0-1
4b77f8d
- Update to 3.28.0
4b77f8d
a759257
* Fri Mar 09 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.27.92-1
a759257
- Initial RPM release, based on gnome-tweak-tool.spec