Vivek Shah 77bd017
Name:		teseq
Vivek Shah 77bd017
Version:	1.0.0
ce859b9
Release:	7%{?dist}
Vivek Shah 77bd017
Summary:	An utility for rendering terminal typescripts human-readable 
Vivek Shah 77bd017
Vivek Shah 77bd017
Group:		Development/Tools
Vivek Shah 77bd017
License:	GPLv3+
Vivek Shah 77bd017
URL:		http://www.gnu.org/software/teseq/
f38cf55
Source0:	http://ftp.gnu.org/gnu/teseq/%{name}-%{version}.tar.lzma
Vivek Shah 77bd017
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Vivek Shah 77bd017
Vivek Shah 77bd017
Requires(post):	info
Vivek Shah 77bd017
Requires(preun): info
Vivek Shah 77bd017
Vivek Shah 77bd017
%description
Vivek Shah 77bd017
Teseq, a tool for analyzing files that contain control characters and 
Vivek Shah 77bd017
terminal control sequences. It is intended to be useful for diagnosing 
Vivek Shah 77bd017
terminal emulators, and programs that make heavy use of terminal features 
Vivek Shah 77bd017
(such as those based on the Curses library).
Vivek Shah 77bd017
Vivek Shah 77bd017
It is primarily targeted at individuals who possess a basic understanding of 
Vivek Shah 77bd017
terminal control sequences, especially CSI sequences.
Vivek Shah 77bd017
Vivek Shah 77bd017
%prep
Vivek Shah 77bd017
%setup -q
Vivek Shah 77bd017
Vivek Shah 77bd017
%build
Vivek Shah 77bd017
%configure
Vivek Shah 77bd017
make %{?_smp_mflags}
Vivek Shah 77bd017
Vivek Shah 77bd017
%check
Vivek Shah 77bd017
make check
Vivek Shah 77bd017
Vivek Shah 77bd017
%install
Vivek Shah 77bd017
rm -rf $RPM_BUILD_ROOT
Vivek Shah 77bd017
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
Vivek Shah 77bd017
Vivek Shah 77bd017
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
Vivek Shah 77bd017
Vivek Shah 77bd017
%clean
Vivek Shah 77bd017
rm -rf $RPM_BUILD_ROOT
Vivek Shah 77bd017
Vivek Shah 77bd017
%post
Vivek Shah 77bd017
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
Vivek Shah 77bd017
Vivek Shah 77bd017
%preun
Vivek Shah 77bd017
if [ $1 = 0 ] ; then
Vivek Shah 77bd017
  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
Vivek Shah 77bd017
fi
Vivek Shah 77bd017
Vivek Shah 77bd017
%files
Vivek Shah 77bd017
%defattr(-,root,root,-)
Vivek Shah 77bd017
%doc AUTHORS ChangeLog README COPYING NEWS
Vivek Shah 77bd017
%{_bindir}/%{name}
Vivek Shah 77bd017
%{_bindir}/reseq
Vivek Shah 77bd017
%{_infodir}/%{name}.info.gz
Vivek Shah 77bd017
%{_mandir}/man1/reseq.1.gz
Vivek Shah 77bd017
%{_mandir}/man1/%{name}.1.gz
Vivek Shah 77bd017
%{_libexecdir}/%{name}-post.sed
Vivek Shah 77bd017
Vivek Shah 77bd017
Vivek Shah 77bd017
%changelog
ce859b9
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-7
ce859b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ce859b9
0e3ac0c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6
0e3ac0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e3ac0c
f38cf55
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.0-5
f38cf55
- Use lzma compressed upstream tarball.
f38cf55
e13ad27
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
e13ad27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e13ad27
ff0ca47
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
ff0ca47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ff0ca47
Vivek Shah 77bd017
* Sat Aug 23 2008 Vivek Shah <boni.vivek at, gmail.com> 1.0.0-2
Vivek Shah 77bd017
- Added self check and fixed SOURCE0 URL with macros 
Vivek Shah 77bd017
Vivek Shah 77bd017
* Thu Aug 07 2008 Vivek Shah <boni.vivek at, gmail.com> 1.0.0-1
Vivek Shah 77bd017
- Initial Package