Blame SPECS/compat-gnome-desktop314.spec

ca9017
%define gtk3_version                      3.3.6
ca9017
%define glib2_version                     2.38.0
ca9017
%define gtk_doc_version                   1.9
ca9017
%define gsettings_desktop_schemas_version 3.5.91
ca9017
%define po_package                        gnome-desktop-3.0
ca9017
ca9017
Summary: Compat package with gnome-desktop 3.14 libraries
ca9017
Name: compat-gnome-desktop314
ca9017
Version: 3.14.2
ca9017
Release: 1%{?dist}
ca9017
URL: http://www.gnome.org
ca9017
Source0: http://download.gnome.org/sources/gnome-desktop/3.14/gnome-desktop-%{version}.tar.xz
ca9017
Patch0: 0001-default-input-sources-Switch-ja_JP-default-to-ibus-k.patch
ca9017
ca9017
License: GPLv2+ and LGPLv2+
ca9017
ca9017
BuildRequires: gnome-common
ca9017
BuildRequires: gtk3-devel >= %{gtk3_version}
ca9017
BuildRequires: gobject-introspection-devel
ca9017
BuildRequires: gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
ca9017
BuildRequires: glib2-devel >= %{glib2_version}
ca9017
BuildRequires: libxkbfile-devel
ca9017
BuildRequires: xkeyboard-config-devel
ca9017
BuildRequires: gettext
ca9017
BuildRequires: gtk-doc >= %{gtk_doc_version}
ca9017
BuildRequires: automake autoconf libtool intltool
ca9017
BuildRequires: itstool
ca9017
BuildRequires: iso-codes-devel
ca9017
ca9017
# Explicitly conflict with older gnome-desktop3 packages that ship libraries
ca9017
# with the same soname as this compat package
ca9017
Conflicts: gnome-desktop3 < 3.18
ca9017
ca9017
%description
ca9017
Compatibility package with gnome-desktop 3.14 librarires.
ca9017
ca9017
%prep
ca9017
%setup -q -n gnome-desktop-%{version}
ca9017
%patch0 -p1
ca9017
ca9017
%build
ca9017
%configure --with-pnp-ids-path="/usr/share/hwdata/pnp.ids"
ca9017
make %{?_smp_mflags}
ca9017
ca9017
%install
ca9017
%make_install
ca9017
ca9017
# stuff we don't want
ca9017
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
ca9017
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
ca9017
ca9017
rm -rf $RPM_BUILD_ROOT%{_includedir}
ca9017
rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/
ca9017
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
ca9017
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.so
ca9017
rm -rf $RPM_BUILD_ROOT%{_libexecdir}
ca9017
rm -rf $RPM_BUILD_ROOT%{_datadir}
ca9017
ca9017
%post -p /sbin/ldconfig
ca9017
ca9017
%postun -p /sbin/ldconfig
ca9017
ca9017
%files
ca9017
%license COPYING COPYING.LIB
ca9017
%{_libdir}/lib*.so.*
ca9017
ca9017
%changelog
ca9017
* Wed Oct 19 2016 Kalev Lember <klember@redhat.com> - 3.14.2-1
ca9017
- Initial gnome-desktop3 3.14 compat package