diff --git a/Image-Scale-0.13.tar.gz b/Image-Scale-0.13.tar.gz deleted file mode 100644 index 90b84ed..0000000 --- a/Image-Scale-0.13.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b2c92dc2dd635b488879461760cd251aa2b1feef41b64f17914a6e4bbe3e442 -size 1012810 diff --git a/Image-Scale-0.14.tar.gz b/Image-Scale-0.14.tar.gz new file mode 100644 index 0000000..6a33db2 --- /dev/null +++ b/Image-Scale-0.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f09c5f0663b87738365ac2819e186b909abeb9ed85d83bc15ee76872c947cdf8 +size 1049211 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..75c8293 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,31 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +preamble: |- + BuildRequires: libjpeg8-devel + BuildRequires: libpng16-compat-devel + BuildRequires: libpng16-devel +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Image-Scale.changes b/perl-Image-Scale.changes index c1bb184..88c699a 100644 --- a/perl-Image-Scale.changes +++ b/perl-Image-Scale.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Aug 28 22:45:20 CEST 2019 - Tina Mueller + +- Add BuildRequires + Leave out giflib-devel because RT issue was resolved + +------------------------------------------------------------------- +Wed Apr 3 07:04:31 UTC 2019 - Stephan Kulow + +- updated to 0.14 + see /usr/share/doc/packages/perl-Image-Scale/Changes + + 0.14 2017-11-27 + - Trying to resize certain kinds of corrupt JPEGs from an in-memory variable could get + stuck in an infinite loop. + ------------------------------------------------------------------- Fri May 5 19:59:03 UTC 2017 - mardnh@gmx.de diff --git a/perl-Image-Scale.spec b/perl-Image-Scale.spec index 910af57..3e1c3cb 100644 --- a/perl-Image-Scale.spec +++ b/perl-Image-Scale.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Image-Scale # -# 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,38 +12,31 @@ # 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 cpan_name Image-Scale Name: perl-Image-Scale -Version: 0.13 +Version: 0.14 Release: 0 +%define cpan_name Image-Scale Summary: Fast, high-quality fixed-point image resizing -License: GPL-2.0+ +License: GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Image-Scale/ -Source: http://www.cpan.org/authors/id/A/AG/AGRUNDMA/%{cpan_name}-%{version}.tar.gz -BuildRequires: libjpeg8-devel -BuildRequires: libpng16-compat-devel -#BuildRequires: perl(Audio::Scan) >= 0.84 -#BuildRequires: perl(Benchmark::Dumb) -#BuildRequires: perl(GD) -#BuildRequires: perl(Image::Scale) -#BuildRequires: perl(Proc::ProcessTable) -#BuildRequires: perl(Test::Perl::Critic) -BuildRequires: libpng16-devel +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/A/AG/AGRUNDMA/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::NoWarnings) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -# src/gif.c is incompatibe with giflib 5.x -# https://rt.cpan.org/Public/Bug/Display.html?id=101679 -BuildRequires: giflib-devel +Requires: perl(Test::NoWarnings) %{perl_requires} +# MANUAL BEGIN +BuildRequires: libjpeg8-devel +BuildRequires: libpng16-compat-devel +BuildRequires: libpng16-devel +# MANUAL END %description This module implements several resizing algorithms with a focus on low @@ -82,7 +75,7 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check -make %{?_smp_mflags} test +make test %install %perl_make_install @@ -91,6 +84,6 @@ make %{?_smp_mflags} test %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README TODO +%doc Changes README README.win32 TODO %changelog