]> git.pld-linux.org Git - packages/graphene.git/blobdiff - graphene.spec
- updated to 1.10.8
[packages/graphene.git] / graphene.spec
index c950bc9645cd731e7942a1e2a007e0d084fadcab..ea8cfff5499f03075b03a49569351bd319f764d2 100644 (file)
@@ -7,19 +7,18 @@
 %bcond_with    sse2            # x86 SSE2 fast paths
 %bcond_without armneon         # ARM NEON fast paths
 
-%ifarch pentium4 %{x8664}
+%ifarch pentium4 %{x8664} x32
 %define        with_sse2       1
 %endif
 Summary:       Graphene - a thin layer of types for graphic libraries
 Summary(pl.UTF-8):     Graphene - cienka warstwa typów dla bibliotek graficznych
 Name:          graphene
-Version:       1.10.2
+Version:       1.10.8
 Release:       1
 License:       MIT
 Group:         Libraries
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/graphene/1.10/%{name}-%{version}.tar.xz
-# Source0-md5: a2c26c4f44a02ca053e0e9afb63cc94c
-Patch0:                %{name}-gir.patch
+Source0:       https://download.gnome.org/sources/graphene/1.10/%{name}-%{version}.tar.xz
+# Source0-md5: 169e3c507b5a5c26e9af492412070b81
 URL:           https://github.com/ebassi/graphene
 %if %{with sse2} || %{with armneon}
 BuildRequires: gcc >= 6:4.9
@@ -29,10 +28,11 @@ BuildRequires:      gcc >= 5:3.2
 BuildRequires: glib2-devel >= 1:2.40.0
 %{?with_introspection:BuildRequires:   gobject-introspection-devel >= 1.41.0}
 BuildRequires: gtk-doc >= 1.20
-BuildRequires: meson >= 0.50.1
+BuildRequires: meson >= 0.55.3
 BuildRequires: ninja >= 1.5
 BuildRequires: pkgconfig
 BuildRequires: python3 >= 1:3
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.736
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
@@ -78,9 +78,7 @@ Statyczna biblioteka Graphene.
 Summary:       API documentation for Graphene library
 Summary(pl.UTF-8):     Dokumentacja API biblioteki Graphene
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
 BuildArch:     noarch
-%endif
 
 %description apidocs
 API documentation for Graphene library.
@@ -90,7 +88,6 @@ Dokumentacja API biblioteki Graphene.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %meson build \
@@ -100,12 +97,12 @@ Dokumentacja API biblioteki Graphene.
        %{!?with_sse2:-Dsse2=false} \
        -Dtests=false
 
-%meson_build -C build
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%meson_install -C build
+%ninja_install -C build
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.106728 seconds and 4 git commands to generate.