2024-01-06 04:01:03 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: libcogl
|
2024-01-06 04:01:04 +01:00
|
|
|
Version: 1.22.6
|
2024-01-06 04:01:04 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 04:01:03 +01:00
|
|
|
Summary: A library for using 3D graphics hardware for rendering
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.clutter-project.org/
|
|
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/cogl/%{majver}/cogl-%{version}.tar.xz
|
2024-01-06 04:01:04 +01:00
|
|
|
Patch0: libcogl-1.22.6-Mesa-20.0.2.patch
|
2024-01-06 04:01:03 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libEGL-devel
|
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXcomposite-devel
|
|
|
|
BuildRequires: libXdamage-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libblkid-devel
|
|
|
|
BuildRequires: libbsd-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libdw-devel
|
|
|
|
BuildRequires: libelf-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libgbm-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libgst-plugins-base-devel
|
|
|
|
BuildRequires: libgstreamer-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libmount-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2024-01-06 04:01:04 +01:00
|
|
|
BuildRequires: libsepol-devel
|
|
|
|
BuildRequires: libunwind-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libwayland-devel
|
|
|
|
BuildRequires: libwayland-egl-devel
|
2024-01-06 04:01:03 +01:00
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Cogl is a small open source library for using 3D graphics hardware for rendering. 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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Cogl is a small open source library for using 3D graphics hardware for rendering. 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.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:01:03 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n cogl-%{version}
|
2024-01-06 04:01:04 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 04:01:03 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:01:04 +01:00
|
|
|
%configure \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--enable-cogl-gst \
|
|
|
|
--enable-quartz-image \
|
|
|
|
--enable-kms-egl-platform \
|
2024-01-06 04:01:04 +01:00
|
|
|
--enable-xlib-egl-platform \
|
|
|
|
--enable-wayland-egl-platform \
|
|
|
|
--enable-wayland-egl-server
|
2024-01-06 04:01:04 +01:00
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
export LC_ALL=en_US.UTF-8
|
2024-01-06 04:01:03 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang cogl
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f cogl.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcogl.so.*
|
2024-01-06 04:01:04 +01:00
|
|
|
%{_libdir}/libcogl-gst.so.*
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/libcogl-pango.so.*
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/libcogl-path.so.*
|
2024-01-06 04:01:04 +01:00
|
|
|
%{_libdir}/gstreamer-1.0/libgstcogl.la
|
|
|
|
%{_libdir}/gstreamer-1.0/libgstcogl.so
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/girepository-1.0/Cogl*.typelib
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/cogl
|
|
|
|
%dir %{_includedir}/cogl/cogl
|
|
|
|
%{_includedir}/cogl/cogl/*.h
|
2024-01-06 04:01:04 +01:00
|
|
|
%dir %{_includedir}/cogl/cogl-gst/
|
|
|
|
%{_includedir}/cogl/cogl-gst/*.h
|
2024-01-06 04:01:03 +01:00
|
|
|
%dir %{_includedir}/cogl/cogl-pango
|
|
|
|
%{_includedir}/cogl/cogl-pango/cogl-pango.h
|
|
|
|
%dir %{_includedir}/cogl/cogl
|
|
|
|
%dir %{_includedir}/cogl/cogl/gl-prototypes
|
|
|
|
%{_includedir}/cogl/cogl/gl-prototypes/cogl-*.h
|
|
|
|
%dir %{_includedir}/cogl/cogl-path
|
|
|
|
%{_includedir}/cogl/cogl-path/*.h
|
2024-01-06 04:01:03 +01:00
|
|
|
%dir %{_includedir}/cogl/cogl/deprecated
|
|
|
|
%{_includedir}/cogl/cogl/deprecated/*.h
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/libcogl.la
|
|
|
|
%{_libdir}/libcogl.so
|
2024-01-06 04:01:04 +01:00
|
|
|
%{_libdir}/libcogl-gst.la
|
|
|
|
%{_libdir}/libcogl-gst.so
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/libcogl-pango.la
|
|
|
|
%{_libdir}/libcogl-pango.so
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/libcogl-path.la
|
|
|
|
%{_libdir}/libcogl-path.so
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_datadir}/cogl/examples-data/crate.jpg
|
|
|
|
%{_datadir}/gir-1.0/Cogl*-1.0.gir
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_datadir}/gir-1.0/Cogl-2.0.gir
|
2024-01-06 04:01:04 +01:00
|
|
|
%{_datadir}/gir-1.0/CoglGst-2.0.gir
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_datadir}/gir-1.0/CoglPango-2.0.gir
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/pkgconfig/cogl-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/cogl-gl-1.0.pc
|
2024-01-06 04:01:04 +01:00
|
|
|
%{_libdir}/pkgconfig/cogl-gst-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/cogl-gst-2.0-experimental.pc
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/pkgconfig/cogl-2.0-experimental.pc
|
|
|
|
%{_libdir}/pkgconfig/cogl-pango-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/cogl-pango-2.0-experimental.pc
|
2024-01-06 04:01:03 +01:00
|
|
|
%{_libdir}/pkgconfig/cogl-path-1.0.pc
|
|
|
|
%{_libdir}/pkgconfig/cogl-path-2.0-experimental.pc
|
2024-01-06 04:01:03 +01:00
|
|
|
%doc ChangeLog NEWS README.in
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/cogl
|
|
|
|
%{_datadir}/gtk-doc/html/cogl/*
|
|
|
|
%dir %{_datadir}/gtk-doc/html/cogl-gst
|
|
|
|
%{_datadir}/gtk-doc/html/cogl-gst/*
|
|
|
|
%dir %{_datadir}/gtk-doc/html/cogl-2.0-experimental
|
|
|
|
%{_datadir}/gtk-doc/html/cogl-2.0-experimental/*
|
2024-01-06 04:01:03 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:01:04 +01:00
|
|
|
* Sat Mar 28 2020 Automatic Build System <autodist@mambasoft.it> 1.22.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 1.22.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
* Fri Sep 07 2018 Automatic Build System <autodist@mambasoft.it> 1.22.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.0-2mamba
|
|
|
|
- rebuilt with wayland-egl support
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
* Fri Oct 09 2015 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:04 +01:00
|
|
|
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18.2-2mamba
|
|
|
|
- enable egl support needed by clutter and more features
|
|
|
|
|
2024-01-06 04:01:03 +01:00
|
|
|
* Fri Jul 04 2014 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:03 +01:00
|
|
|
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 1.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:01:03 +01:00
|
|
|
* Mon Jan 20 2014 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Nov 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- update to 1.16.0
|
|
|
|
|
|
|
|
* Tue Mar 26 2013 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Automatic Build System <autodist@mambasoft.it> 1.13.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 14 2013 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.0-1mamba
|
|
|
|
- update to 1.12.0
|
|
|
|
|
|
|
|
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.4-2mamba
|
|
|
|
- move *.typelib files from -devel to mail package
|
|
|
|
|
|
|
|
* Tue Jul 17 2012 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 06 2012 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
|
|
|
|
- update to 1.10.2
|
|
|
|
|
|
|
|
* Wed Oct 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-1mamba
|
|
|
|
- package created by autospec
|