Pakage graphene init with version 1.10.6

This commit is contained in:
weijin-deng 2021-06-07 19:44:33 +08:00
parent 9b79569f75
commit fa55809510
2 changed files with 68 additions and 0 deletions

BIN
graphene-1.10.6.tar.xz Normal file

Binary file not shown.

68
graphene.spec Normal file
View File

@ -0,0 +1,68 @@
Name: graphene
Version: 1.10.6
Release: 1
Summary: A thin layer of types for graphic libraries.
License: MIT
URL: https://github.com/ebassi/graphene
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: meson >= 0.50.1
BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0
%description
Graphene provides a small set of mathematical types needed to implement graphic
libraries that deal with 2D and 3D transformations and projections.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tests
Summary: Tests for the %{name} package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%autosetup -p1
%build
%meson -Dgtk_doc=true
%meson_build
%install
%meson_install
%files
%license LICENSE.txt
%doc README.md
%{_libdir}/girepository-1.0/
%{_libdir}/libgraphene-1.0.so.0*
%files devel
%{_includedir}/graphene-1.0/
%dir %{_libdir}/graphene-1.0
%{_libdir}/graphene-1.0/include/
%{_libdir}/libgraphene-1.0.so
%{_libdir}/pkgconfig/graphene-1.0.pc
%{_libdir}/pkgconfig/graphene-gobject-1.0.pc
%{_datadir}/gir-1.0/
%{_datadir}/gtk-doc/
%files tests
%{_libexecdir}/installed-tests/
%{_datadir}/installed-tests/
%changelog
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 1.10.6-1
- Pakage init with version 1.10.6