/[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 435527 by fwang, Sun Jun 2 22:29:39 2013 UTC revision 475675 by akien, Sat Sep 7 10:05:21 2013 UTC
# Line 1  Line 1 
1  %define build_modules 1  %define build_modules   1
2  %{?_with_modules: %global build_modules 1}  %{?_with_modules: %global build_modules 1}
3    
4  %define enable_jasper   1  %define enable_jasper   1
# Line 7  Line 7 
7  %define enable_graphwiz 1  %define enable_graphwiz 1
8  %{?_with_graphwiz: %global enable_graphwiz 1}  %{?_with_graphwiz: %global enable_graphwiz 1}
9    
10  %define Name            GraphicsMagick  %define Name            GraphicsMagick
11  %define libname         %mklibname %name 3  %define libname         %mklibname %name 3
12  %define libwandname     %mklibname graphicsmagickwand 2  %define libwandname     %mklibname graphicsmagickwand 2
13  %define develname       %mklibname %name -d  %define develname       %mklibname %name -d
14  %define version         1.3.18  %define version         1.3.18
15  %define qlev            Q8  %define qlev            Q8
16    
17  Summary:        An X application for displaying and manipulating images  Summary:        An X application for displaying and manipulating images
18  Name:           graphicsmagick  Name:           graphicsmagick
19  Version:        %{version}  Version:        %{version}
20  Release:        %mkrel 2  Release:        %mkrel 2
21  License:        GPLv2+  License:        GPLv2+
22  Group:          Graphics/Editors and Converters  Group:          Graphics/Editors and Converters
23  URL:            http://www.graphicsmagick.org/  URL:            http://www.graphicsmagick.org/
24  Source0:        http://downloads.sourceforge.net/%{name}/%{Name}-%{version}.tar.xz  Source0:        http://downloads.sourceforge.net/%{name}/%{Name}-%{version}.tar.xz
25  Patch0:         GraphicsMagick-1.3.15-use-so-for-modules.patch  Patch0:         GraphicsMagick-1.3.15-use-so-for-modules.patch
26  Patch1:         GraphicsMagick-1.3.16-perl-link.patch  Patch1:         GraphicsMagick-1.3.16-perl-link.patch
27  BuildRequires:  x11-proto-devel  BuildRequires:  x11-proto-devel
28  BuildRequires:  perl-devel  BuildRequires:  perl-devel
29  BuildRequires:  freetype2-devel  BuildRequires:  freetype2-devel
30  Buildrequires:  tiff-devel  BuildRequires:  tiff-devel
31  BuildRequires:  png-devel  BuildRequires:  png-devel
32  BuildRequires:  jpeg-devel  BuildRequires:  jpeg-devel
33  BuildRequires:  jasper-devel  BuildRequires:  jasper-devel
34  BuildRequires:  libwmf-devel  BuildRequires:  libwmf-devel
35  BuildRequires:  zlib-devel  BuildRequires:  zlib-devel
36  BuildRequires:  bzip2-devel  BuildRequires:  bzip2-devel
37  BuildRequires:  libxml2-devel  BuildRequires:  libxml2-devel
38  BuildRequires:  lcms-devel  BuildRequires:  lcms-devel
39  BuildRequires:  lcms2-devel  BuildRequires:  lcms2-devel
40  BuildRequires:  libgs-devel  BuildRequires:  libgs-devel
41  BuildRequires:  libtool-devel  BuildRequires:  libtool-devel
42  BuildRequires:  jbigkit-devel  BuildRequires:  jbigkit-devel
43    
44  %description  %description
45  GraphicsMagick is the swiss army knife of image processing. It  GraphicsMagick is the swiss army knife of image processing. It
# Line 88  Group:          System/Libraries Line 88  Group:          System/Libraries
88  This package contains the libraries needed to run programs dynamically  This package contains the libraries needed to run programs dynamically
89  linked with ImageMagick libraries.  linked with ImageMagick libraries.
90    
   
91  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root,755)  
92  %{_libdir}/libGraphicsMagick++.so.3*  %{_libdir}/libGraphicsMagick++.so.3*
93  %{_libdir}/libGraphicsMagick.so.3*  %{_libdir}/libGraphicsMagick.so.3*
94    
# Line 104  Group:          System/Libraries Line 102  Group:          System/Libraries
102  This package contains the libraries needed to run programs dynamically  This package contains the libraries needed to run programs dynamically
103  linked with ImageMagick libraries.  linked with ImageMagick libraries.
104    
   
105  %files -n %{libwandname}  %files -n %{libwandname}
 %defattr(-,root,root,755)  
106  %{_libdir}/libGraphicsMagickWand.so.2*  %{_libdir}/libGraphicsMagickWand.so.2*
107    
108  #--------------------------------------------------------------  #--------------------------------------------------------------
109    
110  %package -n     %{develname}  %package -n     %{develname}
111  Summary: Static libraries and header files for %{Name} app development  Summary:        Static libraries and header files for %{Name} app development
112  Group: Development/C  Group:          Development/C
113  Provides: %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
114  Provides: %{Name}-devel = %{version}-%{release}  Provides:       %{Name}-devel = %{version}-%{release}
115  Obsoletes: %mklibname -d graphicsmagick 1.1.10  Obsoletes:      %mklibname -d graphicsmagick 1.1.10
116  Requires:  %{libname} = %{version}  Requires:       %{libname} = %{version}
117  Requires: %{libwandname} = %{version}  Requires:       %{libwandname} = %{version}
118  Requires:  jbig-devel  Requires:       jbig-devel
119  %if %{enable_jasper}  %if %{enable_jasper}
120  Requires: jasper-devel  Requires:       jasper-devel
121  %endif  %endif
122  %if %{enable_graphwiz}  %if %{enable_graphwiz}
123  Requires: graphviz-devel  Requires:       graphviz-devel
124  %define _requires_exceptions devel(libcdt)\\|devel(libcircogen)\\|devel(libcommon)\\|devel(libdotgen)\\|devel(libdotneato)\\|devel(libfdpgen)\\|devel(libgraph)\\|devel(libgvrender)\\|devel(libneatogen)\\|devel(libpack)\\|devel(libpathplan)\\|devel(libtwopigen)\\|devel(libgvc)\\|devel(libgvgd)  %define _requires_exceptions devel(libcdt)\\|devel(libcircogen)\\|devel(libcommon)\\|devel(libdotgen)\\|devel(libdotneato)\\|devel(libfdpgen)\\|devel(libgraph)\\|devel(libgvrender)\\|devel(libneatogen)\\|devel(libpack)\\|devel(libpathplan)\\|devel(libtwopigen)\\|devel(libgvc)\\|devel(libgvgd)
125  %endif  %endif
126    
# Line 176  and support files for access to ImageMag Line 172  and support files for access to ImageMag
172  %package        doc  %package        doc
173  Summary:        %{name} Documentation  Summary:        %{name} Documentation
174  Group:          Documentation  Group:          Documentation
175  BuildArch:      noarch  BuildArch:      noarch
176    
177  %description    doc  %description    doc
178  This package contains HTML/PDF documentation of %{name}.  This package contains HTML/PDF documentation of %{name}.
179    
   
180  %files doc  %files doc
181  %{_datadir}/doc/GraphicsMagick  %{_datadir}/doc/GraphicsMagick
182    
# Line 218  This package contains HTML/PDF documenta Line 213  This package contains HTML/PDF documenta
213  %make perl-build  %make perl-build
214    
215  %install  %install
 rm -rf %{buildroot}  
   
216  %makeinstall_std  %makeinstall_std
217  %makeinstall_std -C PerlMagick  %makeinstall_std -C PerlMagick
218    
219  find %{buildroot} -name '*.la' | xargs rm  find %{buildroot} -name '*.la' | xargs rm
220  rm -f %{buildroot}%{_datadir}/GraphicsMagick-%{version}/{ChangeLog,NEWS.txt}  rm -f %{buildroot}%{_datadir}/GraphicsMagick-%{version}/{ChangeLog,NEWS.txt}
   
 %clean  
 rm -rf %{buildroot}  

Legend:
Removed from v.435527  
changed lines
  Added in v.475675

  ViewVC Help
Powered by ViewVC 1.1.30