diff --git a/_service b/_service new file mode 100644 index 0000000..51e55f1 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/sekrit-twc/zimg.git + git + @PARENT_TAG@ + release([0-9\.]*) + release-2.9.2 + + + + *.tar + xz + + + diff --git a/release-2.9.1.tar.gz b/release-2.9.1.tar.gz deleted file mode 100644 index 4108ac2..0000000 --- a/release-2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8efa0c381aa6a9bcd5ea4ae22ad06dccf6c1dc705c394547de016951d1946154 -size 265943 diff --git a/zimg-2.9.2.obscpio b/zimg-2.9.2.obscpio new file mode 100644 index 0000000..1b76677 --- /dev/null +++ b/zimg-2.9.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f63334a98851cab72dede77924a6bb04177be796ab38af182adc20103f7873e +size 6436365 diff --git a/zimg.changes b/zimg.changes index 1bc8ff9..10cc820 100644 --- a/zimg.changes +++ b/zimg.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Aug 2 02:43:17 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Switch to git checkout (GitHub tarbals lack required submodules) +- Build unit tests separately as they impact the build result and + produce a broken install rule +- Update to version 2.9.2: + * colorspace: fix crash on invalid conversion from unspec to + real primaries + * x86: additional optimizations for AMD Piledriver + * x86: optimizations for AMD Zen2 processors + ------------------------------------------------------------------- Thu Jun 13 21:40:11 UTC 2019 - Martin Herkt <9+suse@cirno.systems> diff --git a/zimg.obsinfo b/zimg.obsinfo new file mode 100644 index 0000000..3850767 --- /dev/null +++ b/zimg.obsinfo @@ -0,0 +1,5 @@ +name: zimg +version: 2.9.2 +mtime: 1564070386 +commit: 1ea31d1588d7ac919a51ed7c98cd96b3898665ff + diff --git a/zimg.spec b/zimg.spec index dec93c5..7a1b4e7 100644 --- a/zimg.spec +++ b/zimg.spec @@ -1,7 +1,7 @@ # # spec file for package zimg # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 2 Name: zimg -Version: 2.9.1 +Version: 2.9.2 Release: 0 Summary: Scaling, colorspace conversion, and dithering library License: WTFPL Group: Development/Libraries/C and C++ URL: https://github.com/sekrit-twc/zimg -Source0: https://github.com/sekrit-twc/zimg/archive/release-%{version}.tar.gz +Source0: zimg-%{version}.tar.xz Source99: baselibs.conf BuildRequires: autoconf BuildRequires: automake @@ -54,10 +54,12 @@ The libzimg-devel package contains libraries and header files for developing applications that use libzimg%{sover}. %prep -%setup -q -n zimg-release-%{version} +%setup -q %build autoreconf -fiv +# do not enable tests here — they make zimg slower and the install +# rule is broken %configure \ %ifarch x86_64 %{ix86} --enable-x86simd \ @@ -70,6 +72,21 @@ make %{?_smp_mflags} V=1 rm -rf %{buildroot}%{_datadir}/doc/zimg find %{buildroot} -type f -name "*.la" -delete -print +# test suite is broken on other platforms, upstream informed +%ifarch x86_64 +%check +make clean +%configure \ + %ifarch x86_64 %{ix86} + --enable-x86simd \ + %endif + --disable-static \ + --enable-unit-test +make %{?_smp_mflags} V=1 +make %{?_smp_mflags} V=1 test/unit_test +test/unit_test +%endif + %post -n libzimg%{sover} -p /sbin/ldconfig %postun -n libzimg%{sover} -p /sbin/ldconfig