- spec cleanup (#226660)

This commit is contained in:
Miroslav Lichvar 2007-02-07 19:19:49 +00:00
parent 1f6b02d173
commit c3cb4a2a06
2 changed files with 24 additions and 7 deletions

8
xterm.desktop Normal file
View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Name=xterm Terminal
GenericName=Terminal
Comment=Terminal emulator for the X Window System
Exec=xterm
Type=Application
Categories=System;TerminalEmulator;

View File

@ -1,16 +1,17 @@
Summary: xterm terminal emulator for the X Window System Summary: Terminal emulator for the X Window System
Name: xterm Name: xterm
Version: 223 Version: 223
Release: 2%{?dist} Release: 3%{?dist}
URL: http://dickey.his.com/xterm URL: http://dickey.his.com/xterm
License: MIT License: MIT
Group: User Interface/X Group: User Interface/X
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: imake pkgconfig ncurses-devel libutempter-devel BuildRequires: imake pkgconfig ncurses-devel libutempter-devel
BuildRequires: libXft-devel libXaw-devel libXext-devel BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz Source0: ftp://invisible-island.net/xterm/%{name}-%{version}.tgz
Source1: ftp://invisible-island.net/xterm/16colors.txt Source1: ftp://invisible-island.net/xterm/16colors.txt
Source2: %{name}.desktop
Patch1: xterm-223-resources.patch Patch1: xterm-223-resources.patch
Patch2: xterm-222-can-2003-0063.patch Patch2: xterm-222-can-2003-0063.patch
@ -59,6 +60,10 @@ make DESTDIR=$RPM_BUILD_ROOT install
cp -fp %{SOURCE1} 16colors.txt cp -fp %{SOURCE1} 16colors.txt
desktop-file-install --vendor=fedora \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE2}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -70,11 +75,15 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/uxterm %{_bindir}/uxterm
%{_mandir}/man1/resize.1* %{_mandir}/man1/resize.1*
%{_mandir}/man1/xterm.1* %{_mandir}/man1/xterm.1*
%{_datadir}/applications/*
%{x11_app_defaults_dir}/UXTerm %{x11_app_defaults_dir}/UXTerm
%{x11_app_defaults_dir}/XTerm %{x11_app_defaults_dir}/XTerm
%{x11_app_defaults_dir}/XTerm-color %{x11_app_defaults_dir}/XTerm-color
%changelog %changelog
* Wed Feb 07 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-3
- spec cleanup (#226660)
* Thu Jan 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-2 * Thu Jan 18 2007 Miroslav Lichvar <mlichvar@redhat.com> 223-2
- make xterm binary sgid utempter (#222847) - make xterm binary sgid utempter (#222847)
- fix font size changes with -fa option (#222340) - fix font size changes with -fa option (#222340)
@ -110,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 213-1 * Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 213-1
- Upgrade to upstream version 213 (fixes bug 192627) - Upgrade to upstream version 213 (fixes bug 192627)
- fix bug 189161 : make -r/-rv do reverseVideo with or without - fix bug 189161 : make -r/-rv do reverseVideo with or without
xterm*{fore,back}ground set xterm*{fore,back}ground set
* Thu Apr 13 2006 Jason Vas Dias <jvdias@redhat.com> - 212-1 * Thu Apr 13 2006 Jason Vas Dias <jvdias@redhat.com> - 212-1
- Upgrade to upstream version 212 - Upgrade to upstream version 212