58 lines
1.9 KiB
RPMSpec
58 lines
1.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package luit
|
||
|
#
|
||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
Name: luit
|
||
|
Version: 1.2_20111030
|
||
|
%define _version 1.2-20111030
|
||
|
Release: 0
|
||
|
License: MIT
|
||
|
Summary: Locale and ISO 2022 support for Unicode terminals
|
||
|
Url: http://xorg.freedesktop.org/
|
||
|
Group: System/X11/Utilities
|
||
|
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{_version}.tar.bz2
|
||
|
# PATCH-FIX-UPSTREAM u_luit-Set-up-terminal-before-fork.diff fdo#48638 -- Set up terminal before fork
|
||
|
Patch0: u_luit-Set-up-terminal-before-fork.diff
|
||
|
BuildRequires: pkg-config
|
||
|
# This was part of the xorg-x11 package up to version 7.6
|
||
|
Conflicts: xorg-x11 <= 7.6
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Luit is a filter that can be run between an arbitrary application and a
|
||
|
UTF-8 terminal emulator. It will convert application output from the
|
||
|
locale's encoding into UTF-8, and convert terminal input from UTF-8 into
|
||
|
the locale's encoding.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{_version}
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%configure --with-localealiasfile=%{_datadir}/X11/locale/locale.alias
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
%make_install
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc
|
||
|
%{_bindir}/luit
|
||
|
%{_mandir}/man1/luit.1%{?ext_man}
|
||
|
|
||
|
%changelog
|