f31039
%global gdk_pixbuf2_version               2.36.5
f31039
%global gtk3_version                      3.3.6
f31039
%global glib2_version                     2.53.0
f31039
%global gtk_doc_version                   1.14
f31039
%global gsettings_desktop_schemas_version 3.27.0
f31039
%global po_package                        gnome-desktop-3.0
f31039
f31039
Name: gnome-desktop3
f31039
Version: 3.28.2
f31039
Release: 2%{?dist}
f31039
Summary: Shared code among gnome-panel, gnome-session, nautilus, etc
f31039
f31039
License: GPLv2+ and LGPLv2+
f31039
URL: http://www.gnome.org
f31039
Source0: http://download.gnome.org/sources/gnome-desktop/3.28/gnome-desktop-%{version}.tar.xz
f31039
f31039
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version}
f31039
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
f31039
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
f31039
BuildRequires: pkgconfig(gobject-introspection-1.0)
f31039
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
f31039
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
f31039
BuildRequires: pkgconfig(iso-codes)
f31039
BuildRequires: pkgconfig(libseccomp)
f31039
BuildRequires: pkgconfig(libudev)
f31039
BuildRequires: pkgconfig(xkeyboard-config)
f31039
BuildRequires: gettext
f31039
BuildRequires: gtk-doc >= %{gtk_doc_version}
f31039
BuildRequires: intltool
f31039
BuildRequires: itstool
f31039
BuildRequires: gnome-desktop3
f31039
f31039
Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version}
f31039
Requires: glib2%{?_isa} >= %{glib2_version}
f31039
# Make sure that gnome-themes-standard gets pulled in for upgrades
f31039
Requires: gnome-themes-standard
f31039
# needed for GnomeWallClock
f31039
Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
f31039
f31039
# Replace standalone bwrap with flatpak's
f31039
Requires: flatpak
f31039
Patch0: 0001-Use-flatpak-s-bwrap.patch
f31039
f31039
# GnomeIdleMonitor API change breaks older gnome-shell versions
f31039
Conflicts: gnome-shell < 3.7.90
f31039
f31039
%if 0%{?fedora}
f31039
# From rhughes-f20-gnome-3-12 copr
f31039
Obsoletes: compat-gnome-desktop310 < 3.12
f31039
%endif
f31039
f31039
%description
f31039
f31039
The %{name} package contains an internal library
f31039
(libgnomedesktop) used to implement some portions of the GNOME
f31039
desktop, and also some data files and other shared components of the
f31039
GNOME user environment.
f31039
f31039
%package devel
f31039
Summary: Libraries and headers for %{name}
f31039
License: LGPLv2+
f31039
Requires: %{name}%{?_isa} = %{version}-%{release}
f31039
f31039
%description devel
f31039
Libraries and header files for the GNOME-internal private library
f31039
libgnomedesktop.
f31039
f31039
%package  tests
f31039
Summary:  Tests for the %{name} package
f31039
Requires: %{name}%{?_isa} = %{version}-%{release}
f31039
f31039
%description tests
f31039
The %{name}-tests package contains tests that can be used to verify
f31039
the functionality of the installed %{name} package.
f31039
f31039
%prep
f31039
%autosetup -p1 -n gnome-desktop-%{version}
f31039
f31039
%build
f31039
%configure --enable-installed-tests
f31039
make %{?_smp_mflags}
f31039
f31039
%install
f31039
%make_install
f31039
f31039
# stuff we don't want
f31039
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
f31039
f31039
# copy over previous soname for temporary ABI compat
f31039
cp -a %{_libdir}/libgnome-desktop-3.so.12* $RPM_BUILD_ROOT%{_libdir}
f31039
f31039
%find_lang %{po_package} --all-name --with-gnome
f31039
f31039
%post -p /sbin/ldconfig
f31039
f31039
%postun -p /sbin/ldconfig
f31039
f31039
%files -f %{po_package}.lang
f31039
%doc AUTHORS NEWS README
f31039
%license COPYING COPYING.LIB
f31039
%{_datadir}/gnome/gnome-version.xml
f31039
%{_libexecdir}/gnome-rr-debug
f31039
# LGPL
f31039
%{_libdir}/libgnome-desktop-3.so.12*
f31039
%{_libdir}/libgnome-desktop-3.so.17*
f31039
%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
f31039
f31039
%files devel
f31039
%{_libdir}/lib*.so
f31039
%{_libdir}/pkgconfig/*
f31039
%{_includedir}/*
f31039
%{_datadir}/gir-1.0/GnomeDesktop-3.0.gir
f31039
%dir %{_datadir}/gtk-doc/
f31039
%dir %{_datadir}/gtk-doc/html/
f31039
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
f31039
f31039
%files tests
f31039
%{_libexecdir}/installed-tests/gnome-desktop
f31039
%{_datadir}/installed-tests
f31039
f31039
%changelog
f31039
* Mon Jun 04 2018 Bastien Nocera <bnocera@redhat.com> - 3.28.2-2
f31039
+ gnome-desktop3-3.28.2-2
f31039
- Bump release to build with flatpak's bwrap
f31039
- Related: #1567479
f31039
f31039
* Thu May 10 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
f31039
- Update to 3.28.2
f31039
- Resolves: #1567479
f31039
f31039
* Wed Apr 19 2017 Rui Matos <rmatos@redhat.com> - 3.22.2-2
f31039
- Fix a crash
f31039
  Resolves: #1437059
f31039
f31039
* Tue Nov 15 2016 Kalev Lember <klember@redhat.com> - 3.22.2-1
f31039
- Update to 3.22.2
f31039
- Resolves: #1386887
f31039
f31039
* Wed Nov 12 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
f31039
- Update to 3.14.2
f31039
- Resolves: #1174444
f31039
f31039
* Fri Jan 31 2014 Ray Strode <rstrode@redhat.com> 3.8.4-4
f31039
- Don't use glibc internal locale archive.
f31039
  Resolves: #1045405
f31039
f31039
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.4-3
f31039
- Mass rebuild 2014-01-24
f31039
f31039
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.4-2
f31039
- Mass rebuild 2013-12-27
f31039
f31039
* Wed Sep  4 2013 Rui Matos <rmatos@redhat.com> - 3.8.4-1
f31039
- Update to 3.8.4
f31039
f31039
* Fri Jun  7 2013 Rui Matos <rmatos@redhat.com> - 3.8.3-1
f31039
- Update to 3.8.3
f31039
f31039
* Tue May 14 2013 Rui Matos <rmatos@redhat.com> - 3.8.2-2
f31039
- Add patch to default to ibus-kkc for Japanese
f31039
f31039
* Mon May 13 2013 Matthias Clasen <mclasen@redahat.com> - 3.8.2-1
f31039
- Update to 3.8.2
f31039
f31039
* Mon Apr 15 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.1-1
f31039
- Update to 3.8.1
f31039
f31039
* Wed Mar 27 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0.1-1
f31039
- Update to 3.8.0.1
f31039
f31039
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
f31039
- Update to 3.8.0
f31039
f31039
* Tue Mar 19 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.92-1
f31039
- Update to 3.7.92
f31039
f31039
* Wed Mar  6 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91.1-1
f31039
- Update to 3.7.91.1
f31039
f31039
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-2
f31039
- Conflict with older gnome-shell versions
f31039
f31039
* Wed Feb 20 2013 Richard Hughes <rhughes@redhat.com> - 3.7.90-1
f31039
- Update to 3.7.90
f31039
f31039
* Tue Feb 05 2013 Richard Hughes <rhughes@redhat.com> - 3.7.5-1
f31039
- Update to 3.7.5
f31039
f31039
* Tue Jan 15 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
f31039
- Update to 3.7.4
f31039
f31039
* Thu Dec 20 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.3-1
f31039
- Update to 3.7.3
f31039
f31039
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 3.7.2-1
f31039
- Update to 3.7.2
f31039
f31039
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.1-1
f31039
- Update to 3.7.1
f31039
f31039
* Wed Oct 17 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.1-1
f31039
- Update to 3.6.1
f31039
f31039
* Wed Sep 26 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0.1-1
f31039
- Update to 3.6.0.1
f31039
f31039
* Tue Sep 25 2012 Richard Hughes <hughsient@gmail.com> - 3.6.0-1
f31039
- Update to 3.6.0
f31039
f31039
* Thu Sep 06 2012 Richard Hughes <hughsient@gmail.com> - 3.5.91-1
f31039
- Update to 3.5.91
f31039
f31039
* Wed Aug 22 2012 Richard Hughes <hughsient@gmail.com> - 3.5.90-1
f31039
- Update to 3.5.90
f31039
f31039
* Tue Aug 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.5-1
f31039
- Update to 3.5.5
f31039
f31039
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.4-2
f31039
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f31039
f31039
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 3.5.4-1
f31039
- Update to 3.5.4
f31039
f31039
* Tue Jun 26 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
f31039
- Update to 3.5.3
f31039
f31039
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-3
f31039
- Add missing files
f31039
f31039
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-2
f31039
- Add missing BRs
f31039
f31039
* Wed Jun 06 2012 Richard Hughes <hughsient@gmail.com> - 3.5.2-1
f31039
- Update to 3.5.2
f31039
f31039
* Mon May 14 2012 Richard Hughes <hughsient@gmail.com> - 3.4.2-1
f31039
- Update to 3.4.2
f31039
f31039
* Mon Apr 16 2012 Daniel Drake <dsd@laptop.org> - 3.4.1-2
f31039
- Add upstream patch to fix crash when the system clock is wrong
f31039
- Fixes GNOME#673551, OLPC#11714
f31039
f31039
* Mon Apr 16 2012 Richard Hughes <hughsient@gmail.com> - 3.4.1-1
f31039
- Update to 3.4.1
f31039
f31039
* Mon Mar 26 2012 Richard Hughes <rhughes@redhat.com> - 3.4.0-1
f31039
- New upstream version.
f31039
f31039
* Mon Mar 19 2012 Richard Hughes <rhughes@redhat.com> 3.3.92-1
f31039
- Update to 3.3.92
f31039
f31039
* Tue Feb  6 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.5-1
f31039
- Update to 3.3.5
f31039
f31039
* Tue Jan 17 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.4-1
f31039
- Update to 3.3.4
f31039
f31039
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-2
f31039
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f31039
f31039
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.3-1
f31039
- Update to 3.3.3
f31039
f31039
* Mon Nov 21 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.2-1
f31039
- Update to 3.3.2
f31039
f31039
* Wed Nov  2 2011 Matthias Clasen <mclasen@redhat.com> - 3.3.1-1
f31039
- Update to 3.3.1
f31039
f31039
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-2
f31039
- Rebuilt for glibc bug#747377
f31039
f31039
* Tue Oct 18 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-1
f31039
- Update to 3.2.1
f31039
f31039
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
f31039
- Update to 3.2.0
f31039
f31039
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.2.0-1
f31039
- Update to 3.2.0
f31039
f31039
* Mon Sep 19 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.92-1
f31039
- Update to 3.1.92
f31039
f31039
* Mon Sep 12 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-3
f31039
- Fix a gnome-screensaver crash
f31039
f31039
* Fri Sep  9 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-2
f31039
- Require gsettings-desktop-schemas
f31039
f31039
* Tue Sep  5 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.91-1
f31039
- Update to 3.1.91
f31039
f31039
* Tue Aug 30 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.90.1-1
f31039
- Update to 3.1.90.1
f31039
f31039
* Tue Aug 16 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.5-1
f31039
- Update to 3.1.5
f31039
f31039
* Mon Jul 25 2011 Matthias Clasen <mclasen@redhat.com> - 3.1.4-1
f31039
- Update to 3.1.4
f31039
f31039
* Mon Jul 04 2011 Bastien Nocera <bnocera@redhat.com> 3.1.3-1
f31039
- Update to 3.1.3
f31039
f31039
* Tue Jun 14 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.2-1
f31039
- Update to 3.1.2
f31039
f31039
* Wed May 11 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.1.1-1
f31039
- Update to 3.1.1
f31039
f31039
* Mon May  2 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-2
f31039
- Prevent segfaults in gnome-rr users on randr-less displays
f31039
f31039
* Tue Apr 26 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.1-1
f31039
- Update to 3.0.1
f31039
f31039
* Fri Apr 15 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-2
f31039
- Require gnome-themes-standard (#674799)
f31039
f31039
* Mon Apr  4 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-1
f31039
- Update to 3.0.0
f31039
f31039
* Thu Mar 24 2011 Christopher Aillon <caillon@redhat.com> - 2.91.93-1
f31039
- Update to 2.91.93
f31039
f31039
* Tue Mar 22 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.92-1
f31039
- Update to 2.91.92
f31039
f31039
* Mon Mar  7 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.91-1
f31039
- Update to 2.91.91
f31039
f31039
* Mon Feb 21 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.90-1
f31039
- 2.91.90
f31039
- Drop obsolete GConf dep
f31039
f31039
* Thu Feb 10 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6.1-4
f31039
- Rebuild against newer gtk
f31039
f31039
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6.1-3
f31039
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f31039
f31039
* Fri Feb 04 2011 Bastien Nocera <bnocera@redhat.com> 2.91.6.1-2
f31039
- Fix refcount issue in GnomeRRLabeler
f31039
f31039
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.6.1-1
f31039
- Update to 2.91.6.1
f31039
f31039
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.6-3
f31039
- Rebuild against newer gtk
f31039
f31039
* Fri Jan 28 2011 Matthias Clasen <mclasen@redhat.com> 2.91.6-2
f31039
- Build with introspection support
f31039
f31039
* Tue Jan 11 2011 Matthias Clasen <mclasen@redhat.com> 2.91.6-1
f31039
- Update to 2.91.6
f31039
f31039
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-1
f31039
- Update to 2.91.5
f31039
f31039
* Fri Jan  7 2011 Matthias Clasen <mclasen@redhat.com> 2.91.4-1
f31039
- Update to 2.91.4
f31039
f31039
* Fri Dec  3 2010 Matthias Clasen <mclasen@redhat.com> 2.91.3-2
f31039
- Rebuild against new gtk
f31039
f31039
* Thu Nov 25 2010 Bastien Nocera <bnocera@redhat.com> 2.91.3-1
f31039
- Update to 2.91.3
f31039
f31039
* Wed Nov 17 2010 Bastien Nocera <bnocera@redhat.com> 2.91.2-1
f31039
- Update to 2.91.2
f31039
f31039
* Thu Nov 11 2010 Bill Nottingham <notting@redhat.com> 2.91.1-3
f31039
- remove some extraneous deps
f31039
f31039
* Thu Nov 11 2010 Bastien Nocera <bnocera@redhat.com> 2.91.1-2
f31039
- Fix a possible double-free crasher
f31039
f31039
* Wed Nov 10 2010 Bastien Nocera <bnocera@redhat.com> 2.91.1-1
f31039
- Update to 2.91.1
f31039
f31039
* Tue Nov  2 2010 Matthias Clasen <mclasen@redhat.com> 2.91.0-3
f31039
- Rebuild against newer gtk3
f31039
f31039
* Thu Oct 28 2010 Bill Nottingham <notting@redhat.com> 2.91.0-2
f31039
- flip background to match F-14
f31039
f31039
* Mon Oct  4 2010 Matthias Clasen <mclasen@redhat.com> 2.91.0-1
f31039
- Update to 2.91.0
f31039
f31039
* Wed Sep 29 2010 jkeating - 2.90.4-4
f31039
- Rebuilt for gcc bug 634757
f31039
f31039
* Wed Sep 22 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-3
f31039
- Rebuild against newer gobject-introspection
f31039
- Rebuild against newer gtk
f31039
f31039
* Thu Aug 19 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-2
f31039
- Prevent file conflict with gnome-desktop
f31039
f31039
* Tue Jun 29 2010 Matthias Clasen <mclasen@redhat.com> 2.90.4-1
f31039
- Update to 2.90.4
f31039
f31039
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> 2.90.2-1
f31039
- 2.90.2
f31039
f31039
* Thu Jun 17 2010 Richard Hughes <richard@hughsie.com> 2.90.1-1
f31039
- Initial build for review.
f31039