Blame SPECS/compat-cogl114.spec

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