diff --git a/graphene-1.10.6.tar.xz b/graphene-1.10.6.tar.xz new file mode 100644 index 0000000..757d45a Binary files /dev/null and b/graphene-1.10.6.tar.xz differ diff --git a/graphene.spec b/graphene.spec new file mode 100644 index 0000000..d962c01 --- /dev/null +++ b/graphene.spec @@ -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 - 1.10.6-1 +- Pakage init with version 1.10.6