/[packages]/updates/3/imagemagick/current/SPECS/imagemagick.spec
ViewVC logotype

Diff of /updates/3/imagemagick/current/SPECS/imagemagick.spec

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

revision 305057 by fwang, Fri Oct 12 19:43:48 2012 UTC revision 330723 by fwang, Fri Dec 14 05:49:33 2012 UTC
# Line 12  Line 12 
12  %define rversion 6.8.0  %define rversion 6.8.0
13    
14  # their "minor" version  # their "minor" version
15  %define minor_rev 0  %define minor_rev 9
16    
17  # some other funny version  # some other funny version
18  # (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel  # (aw) from the docs: Versions with Q8 in the name are 8 bits-per-pixel
# Line 25  Line 25 
25  # the full file version  # the full file version
26  %define dversion %{rversion}-%{minor_rev}  %define dversion %{rversion}-%{minor_rev}
27    
28  %define major 6  %define major 7
29    
30  %define libname %mklibname magick %{major}  %define libname %mklibname magick %{major}
31  %define develname %mklibname magick -d  %define develname %mklibname magick -d
# Line 81  BuildRequires:  tiff-devel Line 81  BuildRequires:  tiff-devel
81  BuildRequires:  libwmf-devel  BuildRequires:  libwmf-devel
82  BuildRequires:  libxml2-devel  BuildRequires:  libxml2-devel
83  BuildRequires:  lzma-devel  BuildRequires:  lzma-devel
84  BuildRequires:  libwebp-devel  BuildRequires:  pkgconfig(libwebp)
85  %if !%bootstrap  %if !%bootstrap
86  BuildRequires:  djvulibre-devel  BuildRequires:  djvulibre-devel
87  %endif  %endif
# Line 112  command from the menu. Line 112  command from the menu.
112  %package -n     %{libname}  %package -n     %{libname}
113  Summary:        ImageMagick libraries  Summary:        ImageMagick libraries
114  Group:          System/Libraries  Group:          System/Libraries
115    Provides:       %{_lib}magick = %{version}
116  # (Anssi 02/2008): Wrongly named at first, can be removed when major changes again:  # (Anssi 02/2008): Wrongly named at first, can be removed when major changes again:
117  Obsoletes:      %{_lib}magick%{major}.0.0 < %{version}-%{release}  Obsoletes:      %{_lib}magick%{major}.0.0 < %{version}-%{release}
118    
# Line 197  export PATH=/bin:/usr/bin Line 198  export PATH=/bin:/usr/bin
198      --with-pic \      --with-pic \
199      --enable-shared --disable-static \      --enable-shared --disable-static \
200      --enable-fast-install \      --enable-fast-install \
     --disable-ltdl-install \  
201      --with-threads \      --with-threads \
202      --with-magick_plus_plus \      --with-magick_plus_plus \
203      --with-gslib \      --with-gslib \
# Line 209  export PATH=/bin:/usr/bin Line 209  export PATH=/bin:/usr/bin
209      --without-windows-font-dir \      --without-windows-font-dir \
210      --with-modules \      --with-modules \
211      --with-perl \      --with-perl \
     --without-included-ltdl --with-ltdl-include=%{_includedir} \  
     --with-ltdl-lib=%{_libdir} \  
212      --with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \      --with-perl-options="INSTALLDIRS=vendor CC='%{__cc} -L$PWD/magick/.libs' LDDLFLAGS='-shared -L$PWD/magick/.libs'" \
213      --with-jp2 \      --with-jp2 \
214      --with-gvc \      --with-gvc \
215      --with-lqr      --with-lqr
216    
 # without the following, it doesn't build correctly with "make -j 4"  
 perl -lpi -e '$_ .= " magick/libMagickCore.la" if index($_, q($(PERLMAKEFILE))) == 0' Makefile  
   
217  # Disable rpath  # Disable rpath
218  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool  sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
219  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool  sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# Line 309  EOF Line 304  EOF
304  %{_iconsdir}/hicolor/64x64/apps/%{name}.png  %{_iconsdir}/hicolor/64x64/apps/%{name}.png
305    
306  %files -n %{libname}  %files -n %{libname}
307  %{_libdir}/libMagick++.so.%{major}*  %{_libdir}/libMagick++-%{qlev}.so.%{major}*
308  %{_libdir}/libMagickCore.so.%{major}*  %{_libdir}/libMagickCore-%{qlev}.so.%{major}*
309  %{_libdir}/libMagickWand.so.%{major}*  %{_libdir}/libMagickWand-%{qlev}.so.%{major}*
310    
311  %files -n %{develname}  %files -n %{develname}
312  %{_includedir}/ImageMagick  %{_includedir}/ImageMagick

Legend:
Removed from v.305057  
changed lines
  Added in v.330723

  ViewVC Help
Powered by ViewVC 1.1.26