c4156f2
Name:			teseq
c4156f2
Version:			1.1.1
c4156f2
Release:			1%{?dist}
c4156f2
Summary:			An utility for rendering terminal typescripts human-readable
c4156f2
c4156f2
Group:			Development/Tools
c4156f2
License:			GPLv3+
c4156f2
URL:				http://www.gnu.org/software/teseq/
c4156f2
Source0:			http://ftp.gnu.org/gnu/teseq/%{name}-%{version}.tar.bz2
Vivek Shah 77bd017
Requires(post):	info
c4156f2
Requires(preun):	info
c4156f2
BuildRequires:		check
c4156f2
# For check
c4156f2
BuildRequires:		perl(Getopt::Long), perl(Time::HiRes)
Vivek Shah 77bd017
Vivek Shah 77bd017
%description
c4156f2
Teseq, a tool for analyzing files that contain control characters and
c4156f2
terminal control sequences. It is intended to be useful for diagnosing
c4156f2
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
c4156f2
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
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
%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
%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
Vivek Shah 77bd017
Vivek Shah 77bd017
%changelog
c4156f2
* Tue Dec 08 2015 Pavel Alexeev <Pahan@Hubbitus.info> - 1.1.1-1
c4156f2
- Update to 1.1.1 upstream version - bz#1253878
c4156f2
- Spec cleanup.
c4156f2
- Add build requires for check.
c4156f2
4bbbc11
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
4bbbc11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4bbbc11
0ba43f5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
0ba43f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0ba43f5
795e44e
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
795e44e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
795e44e
075782c
* Sun May 18 2014 Filipe Rosset <rosset.filipe@gmail.com> - 1.1-1
075782c
- Rebuilt for new upstream release, spec cleanup, fixes rhbz #973571
075782c
a683ae7
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-11
a683ae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a683ae7
4d1ef2f
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.0.0-10
4d1ef2f
- Perl 5.18 rebuild
4d1ef2f
1ead845
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-9
1ead845
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1ead845
42fb912
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-8
42fb912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
42fb912
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