Blame SPECS/compat-gnome-desktop314.spec

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