From 77bd017e11788e2cb2632ce08752dce61f8bb75f Mon Sep 17 00:00:00 2001 From: Vivek Shah Date: Sep 02 2008 13:26:09 +0000 Subject: Initial package import --- diff --git a/.cvsignore b/.cvsignore index e69de29..f02e050 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +teseq-1.0.0.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..9e32017 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +teseq-1_0_0-2_fc8:HEAD:teseq-1.0.0-2.fc8.src.rpm:1220381954 diff --git a/sources b/sources index e69de29..5a84e51 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3bec1d4ee22a4a087f11aa2cb7485dde teseq-1.0.0.tar.gz diff --git a/teseq.spec b/teseq.spec new file mode 100644 index 0000000..25122fc --- /dev/null +++ b/teseq.spec @@ -0,0 +1,67 @@ +Name: teseq +Version: 1.0.0 +Release: 2%{?dist} +Summary: An utility for rendering terminal typescripts human-readable + +Group: Development/Tools +License: GPLv3+ +URL: http://www.gnu.org/software/teseq/ +Source0: http://ftp.gnu.org/gnu/teseq/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires(post): info +Requires(preun): info + +%description +Teseq, a tool for analyzing files that contain control characters and +terminal control sequences. It is intended to be useful for diagnosing +terminal emulators, and programs that make heavy use of terminal features +(such as those based on the Curses library). + +It is primarily targeted at individuals who possess a basic understanding of +terminal control sequences, especially CSI sequences. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%check +make check + +%install +rm -rf $RPM_BUILD_ROOT +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT + +rm -f $RPM_BUILD_ROOT%{_infodir}/dir + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : + +%preun +if [ $1 = 0 ] ; then + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : +fi + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README COPYING NEWS +%{_bindir}/%{name} +%{_bindir}/reseq +%{_infodir}/%{name}.info.gz +%{_mandir}/man1/reseq.1.gz +%{_mandir}/man1/%{name}.1.gz +%{_libexecdir}/%{name}-post.sed + + +%changelog +* Sat Aug 23 2008 Vivek Shah 1.0.0-2 +- Added self check and fixed SOURCE0 URL with macros + +* Thu Aug 07 2008 Vivek Shah 1.0.0-1 +- Initial Package