diff --git a/graphene.spec b/graphene.spec index 83a7d1f..3cf0d78 100644 --- a/graphene.spec +++ b/graphene.spec @@ -19,6 +19,7 @@ BuildRequires: pkgconfig(gobject-2.0) 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} @@ -36,9 +37,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-tests package contains tests that can be used to verify the functionality of the installed %{name} package. + %prep %autosetup + %build # meson errors out without a utf8 LANG set # https://github.com/mesonbuild/meson/issues/1085 @@ -47,12 +50,16 @@ export LANG=C.UTF-8 %meson %meson_build + %install %meson_install + %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig + %files %license LICENSE %doc README.md @@ -71,6 +78,7 @@ export LANG=C.UTF-8 %files tests %{_libexecdir}/installed-tests/ + %changelog * Mon Jan 02 2017 Igor Gnatenko - 1.5.2-1 - Update to 1.5.2