2019-09-30 10:35:35 -04:00
|
|
|
Name: cogl
|
|
|
|
|
Version: 1.22.4
|
2020-09-09 15:39:44 +08:00
|
|
|
Release: 3
|
2019-09-30 10:35:35 -04:00
|
|
|
Summary: Cogl is a modern 3D graphics API with associated utility APIs
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://developer.gnome.org/cogl/
|
2020-09-09 15:39:44 +08:00
|
|
|
Source0: https://github.com/GNOME/cogl/archive/%{version}.tar.gz
|
2019-09-30 10:35:35 -04:00
|
|
|
|
|
|
|
|
BuildRequires: chrpath cairo-devel mesa-libEGL-devel mesa-libgbm-devel gdk-pixbuf2-devel
|
|
|
|
|
BuildRequires: mesa-libGL-devel glib2-devel gobject-introspection-devel gtk-doc pango-devel
|
|
|
|
|
BuildRequires: wayland-devel libXcomposite-devel libXdamage-devel libXext-devel
|
2019-12-13 15:09:38 +08:00
|
|
|
BuildRequires: libXfixes-devel libxkbcommon-devel libXrandr-devel libxslt
|
2019-09-30 10:35:35 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
COGL is a low level OpenGL abstraction library developed for (and part of)
|
|
|
|
|
Clutter. It is used primarily by Clutter to provide a common rendering API
|
|
|
|
|
that works transparently across OpenGL >=1.4, OpenGL ES 1.1 and OpenGL ES 2.0.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: The development environment for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-tests
|
|
|
|
|
Obsoletes: %{name}-tests
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for building
|
|
|
|
|
and developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Documents for %{name}
|
|
|
|
|
Buildarch: noarch
|
|
|
|
|
Requires: man info %{name} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-doc
|
|
|
|
|
Obsoletes: %{name}-doc
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Man pages and other related documents for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-cairo=yes --enable-cogl-pango=yes --enable-gdk-pixbuf=yes \
|
|
|
|
|
--enable-glx=yes --enable-gtk-doc --enable-introspection=yes \
|
|
|
|
|
--enable-kms-egl-platform --enable-wayland-egl-platform \
|
|
|
|
|
--enable-wayland-egl-server --enable-xlib-egl-platform \
|
|
|
|
|
--enable-installed-tests
|
|
|
|
|
%make_build V=1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
# Remove lib64 rpaths
|
|
|
|
|
chrpath --delete %{buildroot}%{_libdir}/libcogl-path.so
|
|
|
|
|
chrpath --delete %{buildroot}%{_libdir}/libcogl-pango.so
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_datadir}/locale/*
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_includedir}/cogl
|
|
|
|
|
%{_datadir}/installed-tests/cogl/*.test
|
|
|
|
|
%{_libexecdir}/installed-tests/cogl
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc NEWS README
|
|
|
|
|
%{_datadir}/gtk-doc/html/*/
|
|
|
|
|
%exclude %{_datadir}/cogl/examples-data/crate.jpg
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-09-09 15:39:44 +08:00
|
|
|
* Wed Sep 9 2020 hanhui <hanhui15@huawei.com> - 1.22.4-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify source url
|
|
|
|
|
|
2020-01-09 14:54:14 +08:00
|
|
|
* Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.22.4-2
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:delete patches
|
|
|
|
|
|
2019-09-30 10:35:35 -04:00
|
|
|
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22.4-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:upgrade to 1.22.4
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22.2-12
|
|
|
|
|
- Package Init
|