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