2016-11-25 18:12:57 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package graphene
|
|
|
|
|
#
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-11-25 18:12:57 +01:00
|
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: graphene
|
2018-03-09 11:07:12 +01:00
|
|
|
|
Version: 1.8.0
|
2016-11-25 18:12:57 +01:00
|
|
|
|
Release: 0
|
2016-11-29 13:57:23 +01:00
|
|
|
|
Summary: Thin type layer for graphic libraries
|
2016-11-25 18:12:57 +01:00
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
Url: http://ebassi.github.io/graphene/
|
2017-02-22 21:39:52 +01:00
|
|
|
|
Source: https://github.com/ebassi/graphene/archive/%{version}/%{name}-%{version}.tar.gz
|
2017-02-28 22:41:38 +01:00
|
|
|
|
Source99: baselibs.conf
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
|
|
|
|
|
BuildRequires: fdupes
|
2016-11-25 18:12:57 +01:00
|
|
|
|
BuildRequires: gobject-introspection-devel
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: meson >= 0.43.1
|
2016-11-25 18:12:57 +01:00
|
|
|
|
BuildRequires: pkgconfig
|
2017-11-30 15:46:19 +01:00
|
|
|
|
BuildRequires: python3-base
|
2016-11-25 18:12:57 +01:00
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
|
|
|
|
|
|
|
|
|
|
%description
|
2016-11-29 13:57:23 +01:00
|
|
|
|
The Graphene library provides types and their relative API for affine
|
|
|
|
|
matrices, 4×4 matrices, projections, transformations, vectors and
|
|
|
|
|
quaternions.
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%package -n libgraphene-1_0-0
|
2016-11-29 13:57:23 +01:00
|
|
|
|
Summary: Thin type layer for graphic libraries
|
2016-11-25 18:12:57 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n libgraphene-1_0-0
|
|
|
|
|
When creating graphic libraries you most likely end up dealing with points
|
|
|
|
|
and rectangles. If you're particularly unlucky, you may end up dealing
|
|
|
|
|
with affine matrices and 2D transformations. If you're writing a graphic
|
|
|
|
|
library with 3D transformations, though, you are going to hit the jackpot:
|
|
|
|
|
4x4 matrices, projections, transformations, vectors, and quaternions.
|
|
|
|
|
|
|
|
|
|
This library provides types and their relative API; it does not deal with
|
|
|
|
|
windowing system surfaces, drawing, scene graphs, or input. You're
|
|
|
|
|
supposed to do that yourself, in your own canvas implementation, which is
|
|
|
|
|
the whole point of writing the library in the first place.
|
|
|
|
|
|
|
|
|
|
%package -n typelib-1_0-Graphene-1_0
|
2016-11-29 13:57:23 +01:00
|
|
|
|
Summary: GObject introspection for libgraphene, a thin type layer for graphic libraries
|
2016-11-25 18:12:57 +01:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Graphene-1_0
|
2016-11-29 13:57:23 +01:00
|
|
|
|
The Graphene library provides types and their relative API for affine
|
|
|
|
|
matrices, 4×4 matrices, projections, transformations, vectors and
|
|
|
|
|
quaternions.
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%package -n libgraphene-devel
|
2016-11-29 13:57:23 +01:00
|
|
|
|
Summary: Development files for libgraphene, a thin type layer for graphic libraries
|
2016-11-25 18:12:57 +01:00
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
|
Requires: libgraphene-1_0-0 = %{version}
|
|
|
|
|
Requires: typelib-1_0-Graphene-1_0 = %{version}
|
|
|
|
|
|
|
|
|
|
%description -n libgraphene-devel
|
2016-11-29 13:57:23 +01:00
|
|
|
|
The Graphene library provides types and their relative API for affine
|
|
|
|
|
matrices, 4×4 matrices, projections, transformations, vectors and
|
|
|
|
|
quaternions.
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
2016-11-29 13:57:23 +01:00
|
|
|
|
This subpackage contains the development files for the Graphene library.
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%prep
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%autosetup
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%build
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%meson \
|
2018-03-09 11:07:12 +01:00
|
|
|
|
-D gtk_doc=true \
|
|
|
|
|
-D gobject_types=true \
|
|
|
|
|
-D introspection=true \
|
|
|
|
|
-D gcc_vector=true \
|
|
|
|
|
-D sse2=true \
|
|
|
|
|
-D arm-neon=true \
|
|
|
|
|
-D tests=true \
|
|
|
|
|
-D benchmarks=true \
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%{nil}
|
2016-12-12 11:35:08 +01:00
|
|
|
|
%meson_build
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%install
|
2016-12-12 11:35:08 +01:00
|
|
|
|
%meson_install
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%fdupes %{buildroot}%{_libdir}/pkgconfig
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%check
|
2016-12-12 11:35:08 +01:00
|
|
|
|
%meson_test
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%post -n libgraphene-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libgraphene-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -n libgraphene-1_0-0
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%license LICENSE
|
2016-11-25 18:12:57 +01:00
|
|
|
|
%{_libdir}/libgraphene-1.0.so.*
|
|
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Graphene-1_0
|
|
|
|
|
%{_libdir}/girepository-1.0/Graphene-1.0.typelib
|
|
|
|
|
|
|
|
|
|
%files -n libgraphene-devel
|
Accepting request 579223 from home:iznogood:branches:GNOME:Next
- Update to version 1.6.2:
+ Mostly fixes for the Meson build, to ensure it's a bit more
idiomatic and conforms to what newer versions of Meson expect
from a project.
- Do a minor spec clean, use autosetup and license macros.
- Stop exporting LANG=C.UTF-8, fixed upstream.
- Stop exporting i586 conditional SUSE_ASNEEDED=0, fixed upstream.
- Pass explict enable-gtk-doc=true, enable-gobject-types=true,
enable-introspection=true, enable-gcc-vector=true,
enable-sse2=true and enable-arm-neon=true to meson, ensure we
build the features we want.
- Following the above, add gtk-doc BuildRequires and package the
now built documentation in devel subpackage.
- Stop using sed to ensure we are using python3, fixed upstream.
- Add fdupes BuildRequires and macro, remove duplicate files.
OBS-URL: https://build.opensuse.org/request/show/579223
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/graphene?expand=0&rev=14
2018-02-23 09:34:37 +01:00
|
|
|
|
%doc %{_datadir}/gtk-doc/html/*
|
2016-11-25 18:12:57 +01:00
|
|
|
|
%{_includedir}/graphene-1.0/
|
|
|
|
|
%{_prefix}/lib/installed-tests/
|
|
|
|
|
%{_libdir}/libgraphene-1.0.so
|
|
|
|
|
%{_libdir}/pkgconfig/graphene-1.0.pc
|
|
|
|
|
%{_libdir}/pkgconfig/graphene-gobject-1.0.pc
|
|
|
|
|
%dir %{_libdir}/graphene-1.0
|
|
|
|
|
%dir %{_libdir}/graphene-1.0/include
|
|
|
|
|
%{_libdir}/graphene-1.0/include/graphene-config.h
|
|
|
|
|
%{_datadir}/gir-1.0/Graphene-1.0.gir
|
2018-03-09 11:07:12 +01:00
|
|
|
|
%dir %{_datadir}/installed-tests
|
|
|
|
|
%dir %{_datadir}/installed-tests/graphene-1.0
|
|
|
|
|
%{_datadir}/installed-tests/graphene-1.0/*
|
2016-11-25 18:12:57 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|