f9b3c9
Name:           gnome-screenshot
f9b3c9
Version:        3.26.0
f9b3c9
Release:        1%{?dist}
f9b3c9
Summary:        A screenshot utility for GNOME
f9b3c9
f9b3c9
License:        GPLv2+
f9b3c9
URL:            http://www.gnome.org
f9b3c9
Source0:        http://download.gnome.org/sources/gnome-screenshot/3.26/gnome-screenshot-%{version}.tar.xz
f9b3c9
f9b3c9
# Fix the build with Python 2
f9b3c9
Patch0:         gnome-screenshot-python2.patch
f9b3c9
f9b3c9
BuildRequires:  desktop-file-utils
f9b3c9
BuildRequires:  gettext
f9b3c9
BuildRequires:  gtk3-devel
f9b3c9
BuildRequires:  libappstream-glib-devel
f9b3c9
BuildRequires:  libcanberra-devel
f9b3c9
BuildRequires:  meson
f9b3c9
f9b3c9
Obsoletes: gnome-utils <= 1:3.3
f9b3c9
Obsoletes: gnome-utils-libs <= 1:3.3
f9b3c9
Obsoletes: gnome-utils-devel <= 1:3.3
f9b3c9
f9b3c9
%description
f9b3c9
gnome-screenshot lets you take pictures of your screen.
f9b3c9
f9b3c9
f9b3c9
%prep
f9b3c9
%setup -q
f9b3c9
%patch0 -p1
f9b3c9
f9b3c9
f9b3c9
%build
f9b3c9
%meson
f9b3c9
%meson_build
f9b3c9
f9b3c9
f9b3c9
%install
f9b3c9
%meson_install
f9b3c9
f9b3c9
%find_lang %{name}
f9b3c9
f9b3c9
f9b3c9
%check
f9b3c9
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Screenshot.desktop
f9b3c9
f9b3c9
f9b3c9
%postun
f9b3c9
if [ $1 -eq 0 ]; then
f9b3c9
  glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
f9b3c9
fi
f9b3c9
f9b3c9
f9b3c9
%posttrans
f9b3c9
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
f9b3c9
f9b3c9
%files -f %{name}.lang
f9b3c9
%license COPYING
f9b3c9
%{_bindir}/gnome-screenshot
f9b3c9
%{_datadir}/GConf/gsettings/gnome-screenshot.convert
f9b3c9
%{_datadir}/metainfo/org.gnome.Screenshot.metainfo.xml
f9b3c9
%{_datadir}/applications/org.gnome.Screenshot.desktop
f9b3c9
%{_datadir}/dbus-1/services/org.gnome.Screenshot.service
f9b3c9
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-screenshot.gschema.xml
f9b3c9
%{_mandir}/man1/gnome-screenshot.1*
f9b3c9
f9b3c9
%changelog
f9b3c9
* Wed Nov 01 2017 Kalev Lember <klember@redhat.com> - 3.26.0-1
f9b3c9
- Update to 3.26.0
f9b3c9
- Resolves: #1568233
f9b3c9
f9b3c9
* Thu Feb 23 2017 Matthias Clasen <mclasen@redhat.com> - 3.22.0-1
f9b3c9
- Rebase to 3.22.0
f9b3c9
  Resolves: rhbz#1386956
f9b3c9
f9b3c9
* Mon Feb  8 2016 Rui Matos <rmatos@redhat.com> - 3.14.0-3
f9b3c9
- Update Italian translation
f9b3c9
Resolves: #1272498
f9b3c9
f9b3c9
* Thu May 14 2015 Rui Matos <rmatos@redhat.com> - 3.14.0-2
f9b3c9
- Don't use colons in filenames
f9b3c9
Resolves: #1162647
f9b3c9
f9b3c9
* Tue Sep 23 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
f9b3c9
- Update to 3.14.0
f9b3c9
f9b3c9
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.92-1
f9b3c9
- Update to 3.13.92
f9b3c9
f9b3c9
* Fri Sep 05 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-2.gitcbdd3f5
f9b3c9
- Update to today's git snapshot (#1136959)
f9b3c9
f9b3c9
* Thu Aug 21 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.90-1
f9b3c9
- Update to 3.13.90
f9b3c9
- Validate the desktop file
f9b3c9
f9b3c9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-3
f9b3c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f9b3c9
f9b3c9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.12.0-2
f9b3c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f9b3c9
f9b3c9
* Tue Mar 25 2014 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
f9b3c9
- Update to 3.12.0
f9b3c9
f9b3c9
* Tue Feb 18 2014 Richard Hughes <rhughes@redhat.com> - 3.11.90-1
f9b3c9
- Update to 3.11.90
f9b3c9
f9b3c9
* Tue Nov 19 2013 Richard Hughes <rhughes@redhat.com> - 3.10.1-1
f9b3c9
- Update to 3.10.1
f9b3c9
f9b3c9
* Wed Sep 25 2013 Kalev Lember <kalevlember@gmail.com> - 3.10.0-1
f9b3c9
- Update to 3.10.0
f9b3c9
f9b3c9
* Thu Aug 22 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.90-1
f9b3c9
- Update to 3.9.90
f9b3c9
f9b3c9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.4-2
f9b3c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f9b3c9
f9b3c9
* Tue Jul 16 2013 Richard Hughes <rhughes@redhat.com> - 3.9.4-1
f9b3c9
- Update to 3.9.4
f9b3c9
f9b3c9
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.9.3-1
f9b3c9
- Update to 3.9.3
f9b3c9
f9b3c9
* Tue May 14 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
f9b3c9
- Update to 3.8.2
f9b3c9
f9b3c9
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
f9b3c9
- Update to 3.8.1
f9b3c9
f9b3c9
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
f9b3c9
- Update to 3.8.0
f9b3c9
f9b3c9
* Thu Feb 07 2013 Richard Hughes <rhughes@redhat.com> - 3.7.5-1
f9b3c9
- Update to 3.7.5
f9b3c9
f9b3c9
* Wed Jan 16 2013 Richard Hughes <hughsient@gmail.com> - 3.7.4-1
f9b3c9
- Update to 3.7.4
f9b3c9
f9b3c9
* Mon Nov 12 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
f9b3c9
- Update to 3.6.1
f9b3c9
f9b3c9
* Tue Sep 25 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.6.0-1
f9b3c9
- Update to 3.6.0
f9b3c9
f9b3c9
* Wed Sep 19 2012 Richard Hughes <hughsient@gmail.com> - 3.5.92-1
f9b3c9
- Update to 3.5.92
f9b3c9
f9b3c9
* Wed Sep 05 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.5.91-1
f9b3c9
- Update to 3.5.91
f9b3c9
f9b3c9
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
f9b3c9
- Update to 3.5.90
f9b3c9
f9b3c9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.4-2
f9b3c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f9b3c9
f9b3c9
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 3.5.4-1
f9b3c9
- Update to 3.5.4
f9b3c9
f9b3c9
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-1
f9b3c9
- Update to 3.5.2
f9b3c9
f9b3c9
* Tue Apr 24 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-2
f9b3c9
- Silence rpm scriptlet output
f9b3c9
f9b3c9
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.4.1-1
f9b3c9
- Update to 3.4.1
f9b3c9
f9b3c9
* Mon Apr  2 2012 Matthias Clasen <mclasen@redhat.com> - 3.4.0-2
f9b3c9
- Add missing gsettings scriptlets (#808462)
f9b3c9
f9b3c9
* Mon Mar 26 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.4.0-1
f9b3c9
- Update to 3.4.0
f9b3c9
f9b3c9
* Tue Mar 20 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.3.92-1
f9b3c9
- Update to 3.3.92
f9b3c9
f9b3c9
* Tue Mar  6 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.91-1
f9b3c9
- Update to 3.3.91
f9b3c9
f9b3c9
* Tue Feb  7 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.2-1
f9b3c9
- Update to 3.3.2
f9b3c9
f9b3c9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.1-3
f9b3c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f9b3c9
f9b3c9
* Wed Dec 21 2011 Matthias Clasen <mclasen@redhat.com> 3.3.1-2
f9b3c9
- Fix the obsoletes to take epoch into account
f9b3c9
f9b3c9
* Wed Nov 23 2011 Matthias Clasen <mclasen@redhat.com> 3.3.1-1
f9b3c9
- Initial packaging