/[packages]/cauldron/imagemagick/current/SPECS/imagemagick.spec
ViewVC logotype

Diff of /cauldron/imagemagick/current/SPECS/imagemagick.spec

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

revision 5387 by pterjan, Mon Jan 10 14:29:24 2011 UTC revision 98658 by anssi, Sat May 14 00:43:47 2011 UTC
# Line 2  Line 2 
2  %{?_with_test: %{expand: %%global build_test 1}}  %{?_with_test: %{expand: %%global build_test 1}}
3  %{?_without_test: %{expand: %%global build_test 0}}  %{?_without_test: %{expand: %%global build_test 0}}
4    
5  %define bootstrap 0  %define bootstrap 1
6  %{?_without_bootstrap: %global bootstrap 0}  %{?_without_bootstrap: %global bootstrap 0}
7  %{?_with_bootstrap: %global bootstrap 1}  %{?_with_bootstrap: %global bootstrap 1}
8    
# Line 27  Line 27 
27    
28  %define major 4  %define major 4
29    
 # S T A N D A R D   M A N D R I V A   S T U F F  
30  %define libname %mklibname magick %{major}  %define libname %mklibname magick %{major}
31  %define develname %mklibname magick -d  %define develname %mklibname magick -d
32    
33  Summary:        An X application for displaying and manipulating images  Summary:        An X application for displaying and manipulating images
34  Name:           imagemagick  Name:           imagemagick
35  Version:        %{rversion}.%{minor_rev}  Version:        %{rversion}.%{minor_rev}
36  Release:        %mkrel 1  Release:        %mkrel 4
37  License:        BSD-like  License:        BSD-like
38  Group:          Graphics  Group:          Graphics
39  URL:            http://www.imagemagick.org/  URL:            http://www.imagemagick.org/
# Line 282  install -m 644 magick-icon_64x64.png %{b Line 281  install -m 644 magick-icon_64x64.png %{b
281    
282    
283  install -m 755 -d %{buildroot}%{_datadir}/applications/  install -m 755 -d %{buildroot}%{_datadir}/applications/
284  cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}.desktop << EOF  cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
285  [Desktop Entry]  [Desktop Entry]
286  Name=ImageMagick  Name=ImageMagick
287  Comment=Views Graphics files  Comment=Views Graphics files
# Line 293  Type=Application Line 292  Type=Application
292  Categories=X-MandrivaLinux-Office-Graphs;Graphics;Viewer;  Categories=X-MandrivaLinux-Office-Graphs;Graphics;Viewer;
293  EOF  EOF
294    
 %if %mdkversion < 200900  
 %post desktop  
 %update_menus  
 %endif  
   
 %if %mdkversion < 200900  
 %postun desktop  
 %clean_menus  
 %endif  
   
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
295  %clean  %clean
296  rm -rf %{buildroot}  rm -rf %{buildroot}
297    

Legend:
Removed from v.5387  
changed lines
  Added in v.98658

  ViewVC Help
Powered by ViewVC 1.1.30