Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > e02b9b31eee4266e77f5f5c4dcbc04aa > files > 6

termcap-11.0.1-15mdv2009.1.src.rpm

%define	name	termcap
%define	version	11.0.1

Summary:	The terminal feature database used by certain applications
Name:		%{name}
Version:	%{version}
Release:	%mkrel 15
License:	none
Group:		System/Libraries
URL:		http://www.catb.org/~esr/terminfo/
Source0:	http://www.ccil.org/~esr/terminfo/termtypes.tc.bz2
Patch0:		termcap-linuxlat.patch
Patch1:		termcap-xtermchanges.patch
Patch2:		termcap-utf8.patch
# (fc) 11.0.1-4mdk patch to correctly handle Home/End with X11R6 keycode
Patch3:		termcap-xtermX11R6.patch
# (vdanen) 11.0.1-6mdk patch so Eterm is seen as a color-capable term
Patch4:		termcap-Eterm.patch

%ifarch sparc
Obsoletes:	termfiles_sparc
Provides:	termfiles_sparc
%endif
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
The termcap package provides the /etc/termcap file.  /etc/termcap is
a database which defines the capabilities of various terminals and
terminal emulators.  Certain programs use the /etc/termcap file to
access various features of terminals (the bell, colors, and graphics,
etc.).

%prep
%setup -q -T -c %{name}-%{version}
bzcat %{SOURCE0} > %{name}
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0

%build

%install
rm -rf %{buildroot}
install -m644 %{name} -D %{buildroot}%{_sysconfdir}/%{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/%{name}




%changelog
* Sat Mar 21 2009 Funda Wang <fundawang@mandriva.org> 11.0.1-15mdv2009.1
+ Revision: 359941
- rediff linuxlat patch

  + Antoine Ginies <aginies@mandriva.com>
    - rebuild

* Wed Jun 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 11.0.1-14mdv2009.0
+ Revision: 225648
- rebuild

* Wed Mar 05 2008 Oden Eriksson <oeriksson@mandriva.com> 11.0.1-13mdv2008.1
+ Revision: 179644
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Tue Nov 21 2006 Pablo Saratxaga <pablo@mandriva.com> 11.0.1-12mdv2007.0
+ Revision: 85806
- fixed "ho" entry in patch3 (bug #7244)
- Import termcap

* Tue Aug 01 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 11.0.1-11mdv2007.0
- revert license back to none
- add url

* Tue Aug 01 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 11.0.1-10mdv2007.0
- %%mkrel
- with no license, this package should be considered as public domain, therefore
  set license to Public Domain

* Thu Dec 23 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 11.0.1-9mdk
- cleanups!
- buildarch set to noarch