Blame SPECS/gnome-tweaks.spec

c1b792
%global majorversion %(cut -d "." -f 1-2 <<<%{version})
c1b792
c1b792
Name:           gnome-tweaks
c1b792
Version:        3.28.1
c1b792
Release:        7%{?dist}
c1b792
Summary:        Customize advanced GNOME 3 options
c1b792
c1b792
# Software is GPLv3, Appdata file is CC0-1.0
c1b792
License:        GPLv3 and CC0
c1b792
URL:            https://wiki.gnome.org/action/show/Apps/Tweaks
c1b792
Source0:        https://download.gnome.org/sources/%{name}/%{majorversion}/%{name}-%{version}.tar.xz
c1b792
Patch0:         reflect-extensions-status.patch
c1b792
Patch1:         0001-extensions-Fix-opening-system-installed-extensions-i.patch
c1b792
Patch2:         0002-settings-Drop-override-settings-support.patch
c1b792
Patch3:         drop-app-menu-option.patch
c1b792
Patch4:         extension-enable-state.patch
c1b792
c1b792
BuildRequires:  desktop-file-utils
c1b792
BuildRequires:  gettext
c1b792
BuildRequires:  libappstream-glib
c1b792
BuildRequires:  meson
c1b792
BuildRequires:  python3-devel
c1b792
Requires:       gnome-desktop3
c1b792
Requires:       gnome-settings-daemon
c1b792
Requires:       gnome-shell >= 3.24
c1b792
Requires:       gnome-shell-extension-user-theme
c1b792
Requires:       gobject-introspection
c1b792
Requires:       gsettings-desktop-schemas >= 3.27.90
c1b792
Requires:       gtk3 >= 3.12
c1b792
Requires:       libnotify
c1b792
Requires:       libsoup
c1b792
Requires:       mutter
c1b792
Requires:       pango
c1b792
Requires:       python3dist(pygobject)
c1b792
Provides:       gnome-tweak-tool = %{version}.%{release}
c1b792
Obsoletes:      gnome-tweak-tool < 3.27.3-4
c1b792
BuildArch:      noarch
c1b792
c1b792
%description
c1b792
GNOME Tweaks allows adjusting advanced configuration settings in GNOME 3. This
c1b792
includes things like the fonts used in user interface elements, alternative user
c1b792
interface themes, changes in window management behavior, GNOME Shell appearance
c1b792
and extension, etc.
c1b792
c1b792
c1b792
%prep
c1b792
%autosetup -p1
c1b792
c1b792
c1b792
%build
c1b792
%meson
c1b792
%meson_build
c1b792
c1b792
c1b792
%install
c1b792
%meson_install
c1b792
c1b792
# Update the screenshot shown in the software center
c1b792
#
c1b792
# NOTE: It would be *awesome* if this file was pushed upstream.
c1b792
#
c1b792
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
c1b792
#
c1b792
appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.tweaks.appdata.xml \
c1b792
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/a.png \
c1b792
  https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/gnome-tweak-tool/b.png
c1b792
c1b792
%find_lang %{name}
c1b792
c1b792
c1b792
%check
c1b792
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
c1b792
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.appdata.xml
c1b792
c1b792
c1b792
%files -f %{name}.lang
c1b792
%doc AUTHORS NEWS README.md
c1b792
%license LICENSES/
c1b792
%{_bindir}/%{name}
c1b792
%{_libexecdir}/gnome-tweak-tool-lid-inhibitor
c1b792
%{python3_sitelib}/gtweak/
c1b792
%{_datadir}/metainfo/*.appdata.xml
c1b792
%{_datadir}/applications/*.desktop
c1b792
%{_datadir}/%{name}/
c1b792
%{_datadir}/icons/hicolor/*/apps/*.png
c1b792
%{_datadir}/icons/hicolor/scalable/apps/*.svg
c1b792
c1b792
c1b792
%changelog
c1b792
* Tue Feb 18 2020 Milan Crha <mcrha@redhat.com> - 3.28.1-7
c1b792
- extensions: Incorrectly shows enabled extensions as disabled after enable-all
c1b792
- Resolves: #1804123
c1b792
c1b792
* Thu Jul 04 2019 Milan Crha <mcrha@redhat.com> - 3.28.1-6
c1b792
- top-bar: Drop ApplicationMenu tweak
c1b792
- Resolves: #1726656
c1b792
c1b792
* Tue Jul 02 2019 Milan Crha <mcrha@redhat.com> - 3.28.1-5
c1b792
- settings: Drop override settings support
c1b792
- Resolves: #1725741
c1b792
c1b792
* Tue Jun 18 2019 Milan Crha <mcrha@redhat.com> - 3.28.1-4
c1b792
- extensions: Fix opening system installed extensions in gnome-software
c1b792
- Resolves: #1721575
c1b792
c1b792
* Fri Apr 26 2019 Carlos Soriano <csoriano@redhat.com> - 3.28.1-3
c1b792
- Fix reflect extension status in the UI
c1b792
- Resolves: #1679127
c1b792
c1b792
* Tue Apr 23 2019 Carlos Soriano <csoriano@redhat.com> - 3.28.1-2
c1b792
- Reflect extension status in the UI
c1b792
- Resolves: #1679127
c1b792
c1b792
* Sun Apr 08 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
c1b792
- Update to 3.28.1
c1b792
c1b792
* Mon Mar 12 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.28.0-1
c1b792
- Update to 3.28.0
c1b792
c1b792
* Fri Mar 09 2018 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.27.92-1
c1b792
- Initial RPM release, based on gnome-tweak-tool.spec