Blame SPECS/compat-cogl114.spec

21ac67
Name:          compat-cogl114
21ac67
Version:       1.14.0
21ac67
Release:       3%{?dist}
21ac67
Summary:       Compat package with cogl 1.14 libraries
21ac67
21ac67
Group:         Development/Libraries
21ac67
License:       LGPLv2+
21ac67
URL:           http://www.clutter-project.org/
21ac67
Source0:       http://download.gnome.org/sources/cogl/1.14/cogl-%{version}.tar.xz
21ac67
# Updates to a git snapshot of the 1.4 branch of Cogl as of 2013-05-01,
21ac67
# since there is no 1.4.1 yet. Fixes, among other things
21ac67
# https://bugzilla.gnome.org/show_bug.cgi?id=699431
21ac67
# extra BRs just because we're touching Makefile.am in this patch
21ac67
Patch0: cogl-1.14.0-21-ge26464f.patch
21ac67
# Don't disable copy_sub_buffer on llvmpipe
21ac67
Patch1: cogl-1.14.0-swrast-copy-sub-buffer.patch
21ac67
21ac67
# Support for quadbuffer stereo (patches upstream as of the Cogl 1.20
21ac67
# development branch)
21ac67
Patch10: Add-support-for-setting-up-stereo-CoglOnscreens.patch
21ac67
Patch11: CoglTexturePixmapX11-add-support-for-stereo-content.patch
21ac67
21ac67
BuildRequires: autoconf automake libtool gettext-devel
21ac67
21ac67
BuildRequires: cairo-devel
21ac67
BuildRequires: gdk-pixbuf2-devel
21ac67
BuildRequires: glib2-devel
21ac67
BuildRequires: gobject-introspection-devel
21ac67
BuildRequires: gtk-doc
21ac67
BuildRequires: libXrandr-devel
21ac67
BuildRequires: libXcomposite-devel
21ac67
BuildRequires: libXdamage-devel
21ac67
BuildRequires: libXext-devel
21ac67
BuildRequires: libXfixes-devel
21ac67
BuildRequires: mesa-libGL-devel
21ac67
BuildRequires: pango-devel
21ac67
BuildRequires: pkgconfig
21ac67
21ac67
%description
21ac67
Compatibility package with cogl 1.14 librarires.
21ac67
21ac67
%package -n compat-libcogl12
21ac67
Summary: Compat package with cogl 1.14 libraries
21ac67
Conflicts: cogl < 1.15
21ac67
21ac67
%description -n compat-libcogl12
21ac67
Compatibility package with cogl 1.14 librarires.
21ac67
21ac67
%package -n compat-libcogl-pango12
21ac67
Summary: Compat package with cogl 1.14 libraries
21ac67
Conflicts: cogl < 1.15
21ac67
Requires: compat-libcogl12 = %{version}-%{release}
21ac67
21ac67
%description -n compat-libcogl-pango12
21ac67
Compatibility package with cogl 1.14 librarires.
21ac67
21ac67
%prep
21ac67
%setup -q -n cogl-%{version}
21ac67
%patch0 -p1
21ac67
%patch1 -p1
21ac67
21ac67
%patch10 -p1
21ac67
%patch11 -p1
21ac67
21ac67
%build
21ac67
CFLAGS="$RPM_OPT_FLAGS -fPIC"
21ac67
autoreconf -vif
21ac67
%configure --enable-cairo=yes --enable-gdk-pixbuf=yes --enable-cogl-pango=yes --enable-glx=yes --enable-gtk-doc --enable-introspection=yes
21ac67
21ac67
make V=1
21ac67
21ac67
%install
21ac67
make install DESTDIR=%{buildroot} INSTALL='install -p'
21ac67
21ac67
#Remove libtool archives.
21ac67
find %{buildroot} -name '*.la' -exec rm -f {} ';'
21ac67
21ac67
rm -rf %{buildroot}%{_includedir}
21ac67
rm -rf %{buildroot}%{_libdir}/girepository-1.0/
21ac67
rm -rf %{buildroot}%{_libdir}/*.so
21ac67
rm -rf %{buildroot}%{_libdir}/pkgconfig/
21ac67
rm -rf %{buildroot}%{_datadir}
21ac67
21ac67
%post -n compat-libcogl12 -p /sbin/ldconfig
21ac67
%postun -n compat-libcogl12 -p /sbin/ldconfig
21ac67
21ac67
%post -n compat-libcogl-pango12 -p /sbin/ldconfig
21ac67
%postun -n compat-libcogl-pango12 -p /sbin/ldconfig
21ac67
21ac67
%files -n compat-libcogl12
21ac67
%doc COPYING
21ac67
%{_libdir}/libcogl.so.*
21ac67
21ac67
%files -n compat-libcogl-pango12
21ac67
%doc COPYING
21ac67
%{_libdir}/libcogl-pango.so.*
21ac67
21ac67
%changelog
21ac67
* Fri May 22 2015 Florian Müllner <fmuellner@redhat.com> - 1.14.0-3
21ac67
- Add explicit requirement to subpackage
21ac67
  Related: #1184209
21ac67
21ac67
* Fri Nov 07 2014 Kalev Lember <kalevlember@gmail.com> - 1.14.0-2
21ac67
- Add missing ldconfig calls
21ac67
21ac67
* Thu Nov 06 2014 Kalev Lember <kalevlember@gmail.com> - 1.14.0-1
21ac67
- Cogl 1.14 compat package for el7-gnome-3-14 copr