83 lines
2.1 KiB
RPMSpec
83 lines
2.1 KiB
RPMSpec
Name: graphene
|
|
Version: 1.5.2
|
|
Release: 1%{?dist}
|
|
Summary: Thin layer of types for graphic libraries
|
|
|
|
License: MIT
|
|
URL: https://github.com/ebassi/graphene
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# https://github.com/ebassi/graphene/issues/80
|
|
ExcludeArch: ppc64
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(gobject-2.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
|
|
|
|
%build
|
|
# meson errors out without a utf8 LANG set
|
|
# https://github.com/mesonbuild/meson/issues/1085
|
|
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
|
|
%{_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/
|
|
|
|
%files tests
|
|
%{_libexecdir}/installed-tests/
|
|
|
|
%changelog
|
|
* Mon Jan 02 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.5.2-1
|
|
- Update to 1.5.2
|
|
|
|
* Tue Nov 22 2016 Kalev Lember <klember@redhat.com> - 1.5.1-0.2.git8a7a4a3
|
|
- Install installed tests to libexecdir (#1397317)
|
|
|
|
* Tue Nov 22 2016 Kalev Lember <klember@redhat.com> - 1.5.1-0.1.git8a7a4a3
|
|
- Initial Fedora packaging
|