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

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

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

revision 314475 by fwang, Sat Sep 29 10:35:12 2012 UTC revision 314476 by dams, Mon Nov 5 20:31:49 2012 UTC
# Line 1  Line 1 
1  %define Summary The standard terminal emulator for the X Window System  Summary:        Standard terminal emulator for the X window system
   
 Summary:        %{Summary}  
2  Name:           xterm  Name:           xterm
3  Version:        282  Version:        286
4  Release:        %mkrel 1  Release:        %mkrel 1
5  Source0:        ftp://invisible-island.net/xterm/%{name}-%{version}.tgz  Source0:        ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
6  Source1:        ftp://invisible-island.net/xterm/%{name}-%{version}.tgz.asc  Source1:        ftp://invisible-island.net/xterm/%{name}-%{version}.tgz.asc
 Source11:       %{name}-16x16.png  
 Source12:       %{name}-32x32.png  
 Source13:       %{name}-48x48.png  
7    
8  # from http://www.vim.org/scripts/script.php?script_id=1349, public domain  # from http://www.vim.org/scripts/script.php?script_id=1349, public domain
9  Source20:   colortest.pl  Source20:       colortest.pl
10    
11  Url:            http://invisible-island.net/xterm/  Url:            http://invisible-island.net/xterm/
12  License:        MIT  License:        MIT
# Line 48  cp %{SOURCE20} . Line 43  cp %{SOURCE20} .
43     --x-includes=%{_includedir}/freetype2 \     --x-includes=%{_includedir}/freetype2 \
44     --enable-luit \     --enable-luit \
45     --enable-256-color \     --enable-256-color \
46     --with-app-defaults=%{_libdir}/X11/app-defaults     --with-app-defaults=%{_libdir}/X11/app-defaults \
47       --with-icon-theme=hicolor \
48       --with-icondir=%{_datadir}/icons
49    
50  %make  %make
51    
# Line 72  cat << EOF >> %{buildroot}%{_libdir}/X11 Line 69  cat << EOF >> %{buildroot}%{_libdir}/X11
69  EOF  EOF
70    
71  mkdir -p %{buildroot}%{_datadir}/applications  mkdir -p %{buildroot}%{_datadir}/applications
72  cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF  cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
73  [Desktop Entry]  [Desktop Entry]
74  Name=XTerm  Name=XTerm
75    GenericName=Terminal
76  Comment=%{Summary}  Comment=%{Summary}
77  Exec=%{name} -name Terminal  Exec=%{name} -name Terminal
78  Icon=xterm-terminal  Icon=xterm-color
79  Terminal=false  Terminal=false
80  Type=Application  Type=Application
81  StartupNotify=true  StartupNotify=true
82  Categories=TerminalEmulator;System;Utility;  Categories=TerminalEmulator;System;Utility;
83  EOF  EOF
84    
85  for xpm in xterm{-color_32x32,-color_48x48,_32x32,_48x48}.xpm; do  for xpm in *xterm{-color_32x32,-color_48x48,_32x32,_48x48}.xpm; do
86          rm -f %{buildroot}%{_datadir}/pixmaps/$xpm          rm -f %{buildroot}%{_datadir}/pixmaps/$xpm
87  done  done
 mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32,48x48}/apps  
 install -m 644 %{_sourcedir}/xterm-16x16.png \  
         %{buildroot}%{_iconsdir}/hicolor/16x16/apps/xterm-terminal.png  
 install -m 644 %{_sourcedir}/xterm-32x32.png \  
         %{buildroot}%{_iconsdir}/hicolor/32x32/apps/xterm-terminal.png  
 install -m 644 %{_sourcedir}/xterm-48x48.png \  
         %{buildroot}%{_iconsdir}/hicolor/48x48/apps/xterm-terminal.png  
88    
89  %post  %post
90  update-alternatives --install %{_bindir}/xvt xvt %{_bindir}/xterm 18 || :  update-alternatives --install %{_bindir}/xvt xvt %{_bindir}/xterm 18 || :
# Line 106  update-alternatives --install %{_bindir} Line 97  update-alternatives --install %{_bindir}
97  %{_bindir}/*  %{_bindir}/*
98  %{_mandir}/*/*  %{_mandir}/*/*
99  %{_libdir}/X11/app-defaults/*  %{_libdir}/X11/app-defaults/*
100  %{_datadir}/applications/%{_real_vendor}-%{name}.desktop  %{_datadir}/applications/%{name}.desktop
101  %{_iconsdir}/hicolor/*/apps/xterm-terminal.png  %{_iconsdir}/hicolor/*/apps/xterm-*.*
102    #%{_datadir}/pixmaps/*xterm.xpm

Legend:
Removed from v.314475  
changed lines
  Added in v.314476

  ViewVC Help
Powered by ViewVC 1.1.30