/[packages]/updates/5/graphicsmagick/current/SPECS/graphicsmagick.spec
ViewVC logotype

Diff of /updates/5/graphicsmagick/current/SPECS/graphicsmagick.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1124160 by neoclust, Mon May 1 20:11:49 2017 UTC revision 1124161 by akien, Mon Jul 17 11:05:39 2017 UTC
# Line 16  Line 16 
16  %define develname       %mklibname %{name} -d  %define develname       %mklibname %{name} -d
17  %define qlev            Q8  %define qlev            Q8
18    
 %define subrel  4  
   
19  Summary:        An X application for displaying and manipulating images  Summary:        An X application for displaying and manipulating images
20  Name:           graphicsmagick  Name:           graphicsmagick
21  Version:        1.3.25  Version:        1.3.26
22  Release:        %mkrel 1  Release:        %mkrel 1
23  License:        GPLv2+  License:        GPLv2+
24  Group:          Graphics/Editors and Converters  Group:          Graphics/Editors and Converters
# Line 28  URL:            http://www.graphicsmagic Line 26  URL:            http://www.graphicsmagic
26  Source0:        http://downloads.sourceforge.net/%{name}/%{upstream_name}-%{version}.tar.xz  Source0:        http://downloads.sourceforge.net/%{name}/%{upstream_name}-%{version}.tar.xz
27  Patch0:         GraphicsMagick-1.3.15-use-so-for-modules.patch  Patch0:         GraphicsMagick-1.3.15-use-so-for-modules.patch
28  Patch1:         GraphicsMagick-1.3.16-perl-link.patch  Patch1:         GraphicsMagick-1.3.16-perl-link.patch
29  Patch2:         GraphicsMagick-1.3.25-CVE-2016-7800.patch  
 Patch3:         GraphicsMagick-1.3.25-two-issues-in-wpg-reader.patch  
 Patch4:         GraphicsMagick-1.3.25-CVE-2016-8684.patch  
 Patch5:         GraphicsMagick-1.3.25-CVE-2016-8683.patch  
 Patch6:         GraphicsMagick-1.3.25-CVE-2016-8682.patch  
 Patch7:         GraphicsMagick-1.3.25-CVE-2017-6335.patch  
30  BuildRequires:  x11-proto-devel  BuildRequires:  x11-proto-devel
31  BuildRequires:  perl-devel  BuildRequires:  perl-devel
32  BuildRequires:  freetype2-devel  BuildRequires:  freetype2-devel
# Line 53  BuildRequires:  jbigkit-devel Line 46  BuildRequires:  jbigkit-devel
46  BuildRequires:  chrpath  BuildRequires:  chrpath
47    
48  %description  %description
49  GraphicsMagick is the swiss army knife of image processing. It  GraphicsMagick is the swiss army knife of image processing. It
50  provides a robust collection of tools and libraries which support  provides a robust collection of tools and libraries which support
51  reading, writing, and manipulating an image in over 88 major formats  reading, writing, and manipulating an image in over 88 major formats
52  including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF,  including important formats like DPX, GIF, JPEG, JPEG-2000, PNG, PDF,
53  SVG, and TIFF. GraphicsMagick supports huge images on systems that  SVG, and TIFF. GraphicsMagick supports huge images on systems that
54  support large files, and has been tested with gigapixel-size images.  support large files, and has been tested with gigapixel-size images.
55  GraphicsMagick can create new images on the fly, making it suitable  GraphicsMagick can create new images on the fly, making it suitable
56  for building dynamic Web applications. GraphicsMagick may be used to  for building dynamic Web applications. GraphicsMagick may be used to
57  resize, rotate, sharpen, color reduce, or add special effects to an  resize, rotate, sharpen, color reduce, or add special effects to an
58  image and save the result in the same or differing image format.  image and save the result in the same or differing image format.
59  Image processing operations are available from the command line, as  Image processing operations are available from the command line, as
60  well as through C, C++, Perl, or Windows COM programming interfaces.  well as through C, C++, Perl, or Windows COM programming interfaces.
61  Extensions are available from third-parties to support programming in  Extensions are available from third-parties to support programming in
62  Python, Tcl, and Ruby. With some modification, language extensions for  Python, Tcl, and Ruby. With some modification, language extensions for
63  ImageMagick may be used.  ImageMagick may be used.
64    
65  %files  %files
# Line 102  linked with GraphicsMagick libraries. Line 95  linked with GraphicsMagick libraries.
95  %files -n %{libname}  %files -n %{libname}
96  %{_libdir}/libGraphicsMagick.so.%{major}*  %{_libdir}/libGraphicsMagick.so.%{major}*
97    
98  #--------------------------------------------------------------            #--------------------------------------------------------------
99                    
100  %package -n     %{libppname}      %package -n     %{libppname}
101  Summary:        %upstream_name C++ libraries      Summary:        %upstream_name C++ libraries
102  Group:          System/Libraries          Group:          System/Libraries
103            
104  %description -n %{libppname}      %description -n %{libppname}
105  This package contains the libraries needed to run C++ programs dynamically        This package contains the libraries needed to run C++ programs dynamically
106  linked with GraphicsMagick libraries.      linked with GraphicsMagick libraries.
107            
108  %files -n %{libppname}  %files -n %{libppname}
109  %{_libdir}/libGraphicsMagick++.so.%{ppmajor}*  %{_libdir}/libGraphicsMagick++.so.%{ppmajor}*
110    
# Line 210  This package contains HTML/PDF documenta Line 203  This package contains HTML/PDF documenta
203  %setup -q -n %{upstream_name}-%{version}  %setup -q -n %{upstream_name}-%{version}
204  %patch0 -p0  %patch0 -p0
205  %patch1 -p1 -b .perl-link  %patch1 -p1 -b .perl-link
 %patch2 -p1 -b .CVE-2016-7800  
 %patch3 -p1 -b .issues-wpg  
 %patch4 -p1 -b .CVE-2016-8684  
 %patch5 -p1 -b .CVE-2016-8683  
 %patch6 -p1 -b .CVE-2016-8682  
 %patch7 -p1 -b .CVE-2017-6335  
206    
207  %build  %build
208  %define Werror_cflags %nil  %define Werror_cflags %nil
# Line 238  This package contains HTML/PDF documenta Line 225  This package contains HTML/PDF documenta
225      --with-perl-options="INSTALLDIRS=vendor"  \      --with-perl-options="INSTALLDIRS=vendor"  \
226      --with-perl      --with-perl
227    
228  %make  %make_build
229  %make perl-build  %make_build perl-build
230    
231  %install  %install
232  %makeinstall_std  %make_install
233  %makeinstall_std -C PerlMagick  %make_install -C PerlMagick
234    
235  # fix rights and remove rpaths  # fix rights and remove rpaths
236  chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so  chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so

Legend:
Removed from v.1124160  
changed lines
  Added in v.1124161

  ViewVC Help
Powered by ViewVC 1.1.30