2013-03-14 03:27:54 +00:00
|
|
|
%if 0%{?fedora}
|
|
|
|
%global with_wayland 1
|
|
|
|
%endif
|
|
|
|
|
2011-06-16 13:04:44 +00:00
|
|
|
Name: cogl
|
2013-03-25 20:35:39 +00:00
|
|
|
Version: 1.14.0
|
2013-05-22 17:05:21 +00:00
|
|
|
Release: 2%{?dist}
|
2011-06-16 13:04:44 +00:00
|
|
|
Summary: A library for using 3D graphics hardware to draw pretty pictures
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://www.clutter-project.org/
|
2013-03-25 20:35:39 +00:00
|
|
|
Source0: http://download.gnome.org/sources/cogl/1.14/cogl-%{version}.tar.xz
|
2012-09-17 18:32:20 +00:00
|
|
|
|
2013-05-22 17:05:21 +00:00
|
|
|
# extra BRs just because we're touching Makefile.am in this patch
|
|
|
|
Patch0: cogl-1.14.0-21-ge26464f.patch
|
|
|
|
BuildRequires: autoconf automake libtool gettext-devel
|
|
|
|
|
2011-06-16 13:04:44 +00:00
|
|
|
BuildRequires: cairo-devel
|
2011-10-17 15:32:54 +00:00
|
|
|
BuildRequires: gdk-pixbuf2-devel
|
2011-06-16 13:04:44 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
2013-02-21 16:52:28 +00:00
|
|
|
BuildRequires: libXrandr-devel
|
2011-06-16 13:04:44 +00:00
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: mesa-libGL-devel
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
2013-03-14 03:27:54 +00:00
|
|
|
%if %{with_wayland}
|
|
|
|
BuildRequires: libwayland-client-devel
|
|
|
|
BuildRequires: libwayland-cursor-devel
|
|
|
|
BuildRequires: libwayland-egl-devel
|
|
|
|
BuildRequires: libxkbcommon-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
2011-06-16 13:04:44 +00:00
|
|
|
%description
|
|
|
|
Cogl is a small open source library for using 3D graphics hardware to draw
|
|
|
|
pretty pictures. The API departs from the flat state machine style of
|
|
|
|
OpenGL and is designed to make it easy to write orthogonal components that
|
|
|
|
can render without stepping on each others toes.
|
|
|
|
|
|
|
|
As well aiming for a nice API, we think having a single library as opposed
|
|
|
|
to an API specification like OpenGL has a few advantages too; like being
|
|
|
|
able to paper over the inconsistencies/bugs of different OpenGL
|
|
|
|
implementations in a centralized place, not to mention the myriad of OpenGL
|
|
|
|
extensions. It also means we are in a better position to provide utility
|
|
|
|
APIs that help software developers since they only need to be implemented
|
|
|
|
once and there is no risk of inconsistency between implementations.
|
|
|
|
|
|
|
|
Having other backends, besides OpenGL, such as drm, Gallium or D3D are
|
|
|
|
options we are interested in for the future.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: %{name} development environment
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig glib2-devel pango-devel cairo-devel
|
|
|
|
Requires: mesa-libGL-devel
|
|
|
|
Requires: gobject-introspection-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Header files and libraries for building and developing apps with %{name}.
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-05-22 17:05:21 +00:00
|
|
|
%patch0 -p1
|
2011-06-16 13:04:44 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
2013-05-22 17:05:21 +00:00
|
|
|
autoreconf -vif
|
2013-03-14 03:27:54 +00:00
|
|
|
%configure --enable-cairo=yes --enable-gdk-pixbuf=yes --enable-cogl-pango=yes --enable-glx=yes --enable-gtk-doc --enable-introspection=yes --enable-wayland-egl-platform
|
2011-06-16 13:04:44 +00:00
|
|
|
|
|
|
|
make V=1
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
|
|
|
|
|
|
|
#Remove libtool archives.
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
2011-11-24 01:21:56 +00:00
|
|
|
# This gets installed by mistake
|
|
|
|
rm %{buildroot}%{_datadir}/cogl/examples-data/crate.jpg
|
|
|
|
|
2011-06-16 13:04:44 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%doc COPYING NEWS README ChangeLog
|
|
|
|
%{_libdir}/libcogl*.so.*
|
|
|
|
%{_libdir}/girepository-1.0/Cogl*.typelib
|
|
|
|
|
|
|
|
%files devel
|
2011-06-17 07:27:12 +00:00
|
|
|
%{_includedir}/cogl
|
2011-06-16 13:04:44 +00:00
|
|
|
%{_libdir}/libcogl*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/gir-1.0/Cogl*.gir
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%{_datadir}/gtk-doc/html/cogl
|
2011-07-26 16:06:15 +00:00
|
|
|
%{_datadir}/gtk-doc/html/cogl-2.0-experimental
|
2011-06-16 13:04:44 +00:00
|
|
|
|
|
|
|
%changelog
|
2013-05-22 17:05:21 +00:00
|
|
|
* Wed May 22 2013 Adam Jackson <ajax@redhat.com> 1.14.0-2
|
|
|
|
- cogl-1.14.0-21-ge26464f.patch: Sync with 1.14 branch for a crash fix.
|
|
|
|
|
2013-03-25 20:35:39 +00:00
|
|
|
* Mon Mar 25 2013 Kalev Lember <kalevlember@gmail.com> 1.14.0-1
|
|
|
|
- Update to 1.14.0
|
|
|
|
|
2013-03-14 03:27:54 +00:00
|
|
|
* Wed Mar 13 2013 Matthias Clasen <mclasen@redhat.com> 1.13.4-2
|
|
|
|
- Enable wayland backend
|
|
|
|
|
2013-02-21 16:39:51 +00:00
|
|
|
* Thu Feb 21 2013 Bastien Nocera <bnocera@redhat.com> 1.13.4-1
|
|
|
|
- Update to 1.13.4
|
|
|
|
|
2013-02-13 18:46:17 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-24 11:00:16 +00:00
|
|
|
* Thu Jan 24 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.13.2-1
|
|
|
|
- Update to 1.13.2
|
|
|
|
|
2013-01-07 10:53:01 +00:00
|
|
|
* Mon Jan 7 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.12.2-1
|
2013-01-24 11:00:16 +00:00
|
|
|
- Update to 1.12.2
|
2013-01-07 10:53:01 +00:00
|
|
|
|
2012-09-25 15:37:21 +00:00
|
|
|
* Tue Sep 25 2012 Kalev Lember <kalevlember@gmail.com> - 1.12.0-1
|
|
|
|
- Update to 1.12.0
|
|
|
|
|
2012-09-18 13:43:59 +00:00
|
|
|
* Tue Sep 18 2012 Kalev Lember <kalevlember@gmail.com> - 1.11.6-1
|
|
|
|
- Update to 1.11.6
|
|
|
|
- Drop upstreamed cogl-1.11.4-mesa-strings.patch
|
|
|
|
|
2012-09-17 18:32:20 +00:00
|
|
|
* Mon Sep 17 2012 Adam Jackson <ajax@redhat.com> 1.11.4-2
|
|
|
|
- cogl-1.11.4-mesa-strings.patch: Update match strings for Mesa.
|
|
|
|
|
2012-09-03 22:09:01 +00:00
|
|
|
* Mon Sep 3 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.11.4-1
|
|
|
|
- Update to 1.11.4
|
|
|
|
|
2012-08-21 15:24:41 +00:00
|
|
|
* Tue Aug 21 2012 Richard Hughes <hughsient@gmail.com> - 1.11.2-1
|
|
|
|
- Update to 1.11.2
|
|
|
|
|
2012-07-27 04:46:39 +00:00
|
|
|
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-18 20:36:07 +00:00
|
|
|
* Wed Jul 18 2012 Kalev Lember <kalevlember@gmail.com> - 1.10.4-1
|
|
|
|
- Update to 1.10.4
|
|
|
|
- Dropped no-framebuffer-blit patch which is included in the release
|
|
|
|
|
2012-04-19 18:22:13 +00:00
|
|
|
* Thu Apr 19 2012 Adel Gadllah <adel.gadllah@gmail.com> - 1.10.2-1
|
|
|
|
- Update to 1.10.2
|
|
|
|
|
2012-03-20 21:04:40 +00:00
|
|
|
* Tue Mar 20 2012 Kalev Lember <kalevlember@gmail.com> - 1.10.0-1
|
|
|
|
- Update to 1.10.0
|
|
|
|
|
2012-03-10 19:58:01 +00:00
|
|
|
* Sat Mar 10 2012 Matthias Clasen <mclasen@redhat.com> - 1.9.8-1
|
|
|
|
- Update to 1.9.8
|
|
|
|
|
2012-02-25 19:12:34 +00:00
|
|
|
* Sat Feb 25 2012 Matthias Clasen <mclasen@redhat.com> - 1.9.6-1
|
|
|
|
- Update to 1.9.6
|
|
|
|
|
2012-01-18 10:45:51 +00:00
|
|
|
* Tue Jan 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.4-1
|
|
|
|
- Update to 1.9.4
|
|
|
|
- http://ftp.gnome.org/pub/GNOME/sources/cogl/1.9/cogl-1.9.4.news
|
|
|
|
|
2012-01-12 23:37:02 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-24 01:07:09 +00:00
|
|
|
* Wed Nov 23 2011 Matthias Clasen <mclasen@redhat.com> 1.9.2-1
|
|
|
|
- Update to 1.9.2
|
|
|
|
|
2011-11-03 22:27:14 +00:00
|
|
|
* Thu Nov 03 2011 Adam Jackson <ajax@redhat.com> 1.8.2-4
|
|
|
|
- cogl-1.8.2-lp-no-framebuffer-blit.patch: Disable the subbuffer blit code
|
|
|
|
when running on llvmpipe until it's unbroken.
|
|
|
|
|
2011-11-02 01:10:49 +00:00
|
|
|
* Tue Nov 01 2011 Adam Jackson <ajax@redhat.com> 1.8.2-3
|
|
|
|
- cogl-1.8.2-no-drm-hax.patch: Don't try insane direct DRM vblank wait.
|
|
|
|
|
2011-10-26 23:39:29 +00:00
|
|
|
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.2-2
|
|
|
|
- Rebuilt for glibc bug#747377
|
|
|
|
|
2011-10-17 15:32:54 +00:00
|
|
|
* Mon Oct 17 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.2-1
|
|
|
|
- 1.8.2 stable release
|
|
|
|
- http://ftp.gnome.org/pub/GNOME/sources/cogl/1.8/cogl-1.8.2.news
|
|
|
|
- Enable gdk-pixbuf2 support - Fixes RHBZ # 738092
|
|
|
|
|
2011-09-19 23:36:41 +00:00
|
|
|
* Mon Sep 19 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.0-1
|
|
|
|
- 1.8.0 stable release
|
2011-10-17 15:32:54 +00:00
|
|
|
- http://ftp.gnome.org/pub/GNOME/sources/cogl/1.8/cogl-1.8.0.news
|
2011-09-19 23:36:41 +00:00
|
|
|
|
2011-09-05 21:16:00 +00:00
|
|
|
* Mon Sep 5 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.8-1
|
|
|
|
- Update to 1.7.8
|
|
|
|
|
2011-08-18 15:44:31 +00:00
|
|
|
* Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> - 1.7.6-1
|
2011-08-15 16:20:06 +00:00
|
|
|
- Update to 1.7.6
|
|
|
|
|
2011-07-26 15:56:26 +00:00
|
|
|
* Tue Jul 26 2011 Matthias Clasen <mclasen@redhat.com> - 1.7.4-1
|
|
|
|
- Update to 1.7.4
|
|
|
|
|
2011-08-15 16:20:06 +00:00
|
|
|
* Mon Jul 4 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.2-1
|
2011-07-05 00:02:33 +00:00
|
|
|
- Update to 1.7.2
|
|
|
|
|
2011-08-15 16:20:06 +00:00
|
|
|
* Thu Jun 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.0-3
|
2011-06-16 13:04:44 +00:00
|
|
|
- Update spec for review feedback
|
|
|
|
|
2011-08-15 16:20:06 +00:00
|
|
|
* Thu Jun 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.0-2
|
2011-06-16 13:04:44 +00:00
|
|
|
- Update spec for review feedback
|
|
|
|
|
2011-08-15 16:20:06 +00:00
|
|
|
* Wed Jun 15 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.0-1
|
2011-06-16 13:04:44 +00:00
|
|
|
- Initial Package
|