Blame SPECS/compat-cheese314.spec

5b6e26
Name:           compat-cheese314
5b6e26
Version:        3.14.2
5b6e26
Release:        1%{?dist}
5b6e26
Summary:        Compat package with cheese 3.14 libraries
5b6e26
5b6e26
License:        GPLv2+
5b6e26
URL:            https://wiki.gnome.org/Apps/Cheese
5b6e26
Source0:        https://download.gnome.org/sources/cheese/3.14/cheese-%{version}.tar.xz
5b6e26
5b6e26
BuildRequires:  chrpath
5b6e26
BuildRequires:  desktop-file-utils
5b6e26
BuildRequires:  docbook-dtds
5b6e26
BuildRequires:  docbook-style-xsl
5b6e26
BuildRequires:  gettext
5b6e26
BuildRequires:  intltool
5b6e26
BuildRequires:  itstool
5b6e26
BuildRequires:  libXtst-devel
5b6e26
BuildRequires:  vala-devel
5b6e26
BuildRequires:  pkgconfig(clutter-1.0)
5b6e26
BuildRequires:  pkgconfig(clutter-gst-2.0)
5b6e26
BuildRequires:  pkgconfig(clutter-gtk-1.0)
5b6e26
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
5b6e26
BuildRequires:  pkgconfig(gio-2.0)
5b6e26
BuildRequires:  pkgconfig(glib-2.0)
5b6e26
BuildRequires:  pkgconfig(gnome-desktop-3.0)
5b6e26
BuildRequires:  pkgconfig(gobject-introspection-1.0)
5b6e26
BuildRequires:  pkgconfig(gtk+-3.0)
5b6e26
BuildRequires:  pkgconfig(gstreamer-pbutils-1.0)
5b6e26
BuildRequires:  pkgconfig(gstreamer-plugins-bad-1.0)
5b6e26
BuildRequires:  pkgconfig(gudev-1.0)
5b6e26
BuildRequires:  pkgconfig(libcanberra-gtk3)
5b6e26
BuildRequires:  pkgconfig(x11)
5b6e26
BuildRequires:  /usr/bin/xsltproc
5b6e26
5b6e26
# Explicitly conflict with older cheese packages that ship libraries
5b6e26
# with the same soname as this compat package
5b6e26
Conflicts: cheese-libs < 2:3.18
5b6e26
5b6e26
%description
5b6e26
Compatibility package with cheese 3.14 librarires.
5b6e26
5b6e26
5b6e26
%prep
5b6e26
%setup -q -n cheese-%{version}
5b6e26
5b6e26
5b6e26
%build
5b6e26
%configure --disable-static
5b6e26
make V=1 %{?_smp_mflags}
5b6e26
5b6e26
5b6e26
%install
5b6e26
%make_install
5b6e26
5b6e26
rm -f %{buildroot}%{_libdir}/libcheese.{a,la}
5b6e26
rm -f %{buildroot}%{_libdir}/libcheese-gtk.{a,la}
5b6e26
5b6e26
rm -rf %{buildroot}%{_bindir}
5b6e26
rm -rf %{buildroot}%{_includedir}
5b6e26
rm -rf %{buildroot}%{_libdir}/girepository-1.0/
5b6e26
rm -rf %{buildroot}%{_libdir}/pkgconfig/
5b6e26
rm -rf %{buildroot}%{_libdir}/*.so
5b6e26
rm -rf %{buildroot}%{_libexecdir}
5b6e26
rm -rf %{buildroot}%{_datadir}
5b6e26
5b6e26
chrpath --delete %{buildroot}%{_libdir}/libcheese-gtk.so.*
5b6e26
5b6e26
5b6e26
%post -p /sbin/ldconfig
5b6e26
5b6e26
%postun -p /sbin/ldconfig
5b6e26
5b6e26
5b6e26
%files
5b6e26
%license COPYING
5b6e26
%{_libdir}/libcheese.so.*
5b6e26
%{_libdir}/libcheese-gtk.so.*
5b6e26
5b6e26
5b6e26
%changelog
5b6e26
* Thu Oct 20 2016 Kalev Lember <klember@redhat.com> - 3.14.2-1
5b6e26
- Initial cheese 3.14 compat package