File dvi2tty.spec of Package dvi2tty
#
# spec file for package dvi2tty (Version 5.3.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dvi2tty
License: GPL v2 or later
Group: Productivity/Publishing/TeX/Utilities
Autoreqprov: on
Version: 5.3.1
Release: 182
Summary: A TeX-DVI to ASCII Converter
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-%{version}.patch
Patch1: dvi2tty-pager.patch
Patch2: dvi2tty-japanese.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DVI2TTY converts a TeX-DVI file into a readable ASCII text file. You
can then do full text searches without finding the TeX macros.
For documentation, see the man page (man dvi2tty) and
/usr/share/doc/packages/dvi2tty.
Authors:
--------
Svante Lindahl <zap@cs.kth.sunet>
Marcel Mol <marcel@duteca.et.tudelft.nl>
%prep
%setup
%patch
%patch1
%patch2
%build
make CFLAGS="$RPM_OPT_FLAGS"
%install
install -d $RPM_BUILD_ROOT{/usr/bin/,%{_mandir}/man1/}
make install prefix=$RPM_BUILD_ROOT/usr/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc DVI.format README README.ORG README.VMS TODO
/usr/bin/*
%{_mandir}/man1/*.gz
%changelog
* Thu Sep 13 2007 - sbrabec@suse.cz
- Added support for Japanese (#246838).
- Define correct default pager.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jun 15 2005 - meissner@suse.de
- use RPM_OPT_FLAGS.
* Mon Apr 11 2005 - sbrabec@suse.cz
- Removed obsolete declaration.
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Thu Jul 24 2003 - tcrhak@suse.cz
- update to version 5.3.1
* Tue Jul 16 2002 - tcrhak@suse.cz
- update to version 5.3
- bzipped sources
* Fri Oct 20 2000 - kukuk@suse.de
- fix format of old changes entries
* Mon May 29 2000 - bubnikv@suse.cz
- added buildroot, filled Group: tag
* Wed Jan 19 2000 - ro@suse.de
- man -> usr/share/man
* Mon Sep 13 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Tue Jul 20 1999 - werner@suse.de
- Check if T1 or OT1 encoding is used
* Tue Jul 13 1999 - werner@suse.de
- DC TeX fonts remapped to iso latin 8859-1
(without the iso latin 8859-2 characters)
* Wed Jul 07 1999 - werner@suse.de
- Fix possible kludge with non empty (m)alloced memory
- Make Umlaute possible
* Thu Jan 02 1997 - maddin@suse.de
- first well done suse version.
- repacked source package.
- moved READMEs and doc stuff to /usr/doc/packages.
- changed install path from /usr/local to /usr