Accepting request 201983 from graphics
- documentation back to -doc package (bnc#841472) - fix baselibs.conf for previous change (forwarded request 201922 from coolo) OBS-URL: https://build.opensuse.org/request/show/201983 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ImageMagick?expand=0&rev=99
This commit is contained in:
commit
9efe00eab5
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 12:33:43 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- disable mat tests for powerpc bnc#843673 (disable_mat_test.patch)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 2 08:32:02 UTC 2013 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- documentation back to -doc package (bnc#841472)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 1 15:58:38 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- fix baselibs.conf for previous change
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 30 13:38:14 UTC 2013 - pgajdos@suse.com
|
Mon Sep 30 13:38:14 UTC 2013 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ Patch4: ImageMagick-6.8.5.7-no-XPMCompliance.patch
|
|||||||
# bugs
|
# bugs
|
||||||
# will ask upstream if needed, or if other solution exists
|
# will ask upstream if needed, or if other solution exists
|
||||||
Patch11: ImageMagick-6.8.4.0-dont-build-in-install.patch
|
Patch11: ImageMagick-6.8.4.0-dont-build-in-install.patch
|
||||||
|
Patch12: disable_mat_test.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%package -n perl-PerlMagick
|
%package -n perl-PerlMagick
|
||||||
@ -139,6 +140,9 @@ BuildArch: noarch
|
|||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
|
%ifarch ppc ppc64
|
||||||
|
%patch12 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -175,26 +179,22 @@ cd PerlMagick
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__install} -d "${RPM_BUILD_ROOT%}"'%{_defaultdocdir}/%{name}/images'
|
|
||||||
%{__make} install \
|
%{__make} install \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=%{buildroot} \
|
||||||
pkgdocdir=%{_defaultdocdir}/%{name}/
|
pkgdocdir=%{_defaultdocdir}/%{name}-doc/
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
cd 'Magick++'
|
cd 'Magick++'
|
||||||
%{__rm} -rf demo/{.deps,.libs,*.C,*.o,Makefile*,run_demos.bat}
|
%{__rm} -rf demo/{.deps,.libs,*.C,*.o,Makefile*,run_demos.bat}
|
||||||
PATH='/bin:/usr/bin' find demo -type f -perm /111 -execdir %{__rm} -rf '{}' ';'
|
PATH='/bin:/usr/bin' find demo -type f -perm /111 -execdir %{__rm} -rf '{}' ';'
|
||||||
%{__mv} demo/makefile.2 demo/Makefile
|
%{__mv} demo/makefile.2 demo/Makefile
|
||||||
cd ..
|
cd ..
|
||||||
%{__mv} -t "${RPM_BUILD_ROOT}"'%{_sysconfdir}'/%{name}* "${RPM_BUILD_ROOT}"'%{_datadir}'/%{name}*/*.xml
|
%{__mv} -t %{buildroot}%{_sysconfdir}/%{name}* %{buildroot}%{_datadir}/%{name}*/*.xml
|
||||||
PATH='/bin:/usr/bin' find "${RPM_BUILD_ROOT}/%{_libdir}" -name "*.la" ! -empty \
|
PATH='/bin:/usr/bin' find %{buildroot}/%{_libdir} -name "*.la" ! -empty \
|
||||||
-execdir %{__sed} -i -e 's@ -L/usr/src[^ ]*@@g' -e 's@ /usr/lib/libltdl.la@@g' '{}' ';'
|
-execdir %{__sed} -i -e 's@ -L/usr/src[^ ]*@@g' -e 's@ /usr/lib/libltdl.la@@g' '{}' ';'
|
||||||
%{__rm} -f "${RPM_BUILD_ROOT}"'%{_libdir}'/libltdl.*
|
%{__rm} %{buildroot}%{_libdir}/*.la
|
||||||
%{__rm} -f "${RPM_BUILD_ROOT}"'%{_libdir}'/*.la
|
|
||||||
%if 0%{?suse_version} > 1020
|
%if 0%{?suse_version} > 1020
|
||||||
%fdupes $RPM_BUILD_ROOT%{_includedir}/%{name}*/wand
|
%fdupes -s %{buildroot}%{_defaultdocdir}/%{name}-doc/www/api
|
||||||
%fdupes $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}*/www/api
|
|
||||||
%endif
|
%endif
|
||||||
rm -rf %{buildroot}/%{_datadir}/doc/%{name}
|
|
||||||
|
|
||||||
%post -n libMagickCore%{libspec}-%{clibver} -p /sbin/ldconfig
|
%post -n libMagickCore%{libspec}-%{clibver} -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -210,9 +210,8 @@ rm -rf %{buildroot}/%{_datadir}/doc/%{name}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%docdir %{_docdir}/%{name}
|
|
||||||
%doc QuickStart.txt README.txt NEWS.txt ChangeLog LICENSE
|
|
||||||
%{_bindir}/[^MW]*
|
%{_bindir}/[^MW]*
|
||||||
|
%doc QuickStart.txt README.txt NEWS.txt ChangeLog LICENSE
|
||||||
%doc %{_mandir}/man1/*
|
%doc %{_mandir}/man1/*
|
||||||
%exclude %{_mandir}/man1/*-config.1.gz
|
%exclude %{_mandir}/man1/*-config.1.gz
|
||||||
|
|
||||||
@ -297,7 +296,7 @@ rm -rf %{buildroot}/%{_datadir}/doc/%{name}
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_docdir}/%{name}
|
%{_docdir}/%{name}-doc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ImageMagick is a robust collection of tools and libraries to read,
|
ImageMagick is a robust collection of tools and libraries to read,
|
||||||
@ -397,27 +396,4 @@ HTML documentation for ImageMagick library and scene examples.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
libMagickCore-6_Q8-1
|
libMagickCore-6_Q16-1
|
||||||
libMagickWand-6_Q8-1
|
libMagickWand-6_Q16-1
|
||||||
libMagick++-6_Q8-2
|
libMagick++-6_Q16-2
|
||||||
ImageMagick-devel
|
ImageMagick-devel
|
||||||
requires -ImageMagick-<targettype>
|
requires -ImageMagick-<targettype>
|
||||||
requires "libMagickCore-6_Q8-1-<targettype> = <version>"
|
requires "libMagickCore-6_Q16-1-<targettype> = <version>"
|
||||||
requires "libMagickWand-6_Q8-1-<targettype> = <version>"
|
requires "libMagickWand-6_Q16-1-<targettype> = <version>"
|
||||||
libMagick++-devel
|
libMagick++-devel
|
||||||
requires -ImageMagick-<targettype>
|
requires -ImageMagick-<targettype>
|
||||||
requires "libMagick++-6_Q8-2-<targettype> = <version>"
|
requires "libMagick++-6_Q16-2-<targettype> = <version>"
|
||||||
|
|
||||||
|
24
disable_mat_test.patch
Normal file
24
disable_mat_test.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Index: ImageMagick-6.8.6-9/PerlMagick/t/read.t
|
||||||
|
===================================================================
|
||||||
|
--- ImageMagick-6.8.6-9.orig/PerlMagick/t/read.t
|
||||||
|
+++ ImageMagick-6.8.6-9/PerlMagick/t/read.t
|
||||||
|
@@ -15,7 +15,7 @@
|
||||||
|
#
|
||||||
|
# Test reading formats supported directly by ImageMagick.
|
||||||
|
#
|
||||||
|
-BEGIN { $| = 1; $test=1; print "1..47\n"; }
|
||||||
|
+BEGIN { $| = 1; $test=1; print "1..46\n"; }
|
||||||
|
END {print "not ok $test\n" unless $loaded;}
|
||||||
|
use Image::Magick;
|
||||||
|
$loaded=1;
|
||||||
|
@@ -72,10 +72,6 @@ print("MAT (MatLab gray 8-bit MSB intege
|
||||||
|
++$test;
|
||||||
|
testReadCompare('input_gray_msb_08bit.mat', 'reference/read/input_gray_msb_08bit_mat.miff', q//, 0.2, 1.02);
|
||||||
|
|
||||||
|
-print("MAT (MatLab gray 64-bit LSB double) ...\n");
|
||||||
|
-++$test;
|
||||||
|
-testReadCompare('input_gray_lsb_double.mat', 'reference/read/input_gray_lsb_double_mat.miff', q//, 0.2, 1.02);
|
||||||
|
-
|
||||||
|
print("MAT (MatLab RGB 8-bit LSB integer) ...\n");
|
||||||
|
++$test;
|
||||||
|
testReadCompare('input_rgb_lsb_08bit.mat', 'reference/read/input_rgb_lsb_08bit_mat.miff', q//, 0.2, 1.02);
|
Loading…
x
Reference in New Issue
Block a user