Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > by-pkgid > 5546a62311ba18f37fe90dabfd94590a > files > 2

advi-1.6.0-2mdk.src.rpm

%define name	advi
%define version	1.6.0
%define release	2mdk

Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
License: 	LGPL
Summary:	Programmable DVI previewer for slides written in LaTeX
Group:		Publishing
URL:		http://pauillac.inria.fr/advi
Source:		ftp://ftp.inria.fr/INRIA/Projects/cristal/advi/%{name}-%{version}.tar.bz2
BuildRequires:	ocaml
BuildRequires:	ocaml-camlimages-devel >= 2.20
BuildRequires:	libtiff-devel
BuildRequires:	libungif-devel
BuildRequires:	tetex-latex
BuildRequires:	tetex-dvips
BuildRequires:	hevea
PreReq:		tetex
BuildRoot: 	%{_tmppath}/%{name}-buildroot

%description 
To preview DVI files, Active-DVI features:

    * Color anti-aliasing.
    * Inclusion of images (via the Camlimages package) with alpha channel and
      blending.
    * Encapsulated Postscript File inclusion (using graphics macros package).
    * Gpic specials to display pictures.
    * Correct treatment of many (but not all) inlined-Postscript specials.
    * Page background settings.
    * Japanese pTeX DVI extension support (screen shot). 

To present your DVI files, Active-DVI features:

    * Basic effects for presentation (pause, delay, dynamic text color change).
    * Annotations displayed on demand (similar to pop-up balloons).
    * Hyper links from slide to slide or to other files (including DVI files).
    * Replay of previously recorded parts of the display.
    * Text movements.
    * Page transitions.
    * Embedded applications (launched and killed on demand from within. the
      presentation text source), with precise security policy.
    * Scratching on slide to interactively modify the text on screen. 

Active-DVI special effects are set and launched from within your LaTeX source
file via the macros of the advi.sty LaTeX package provided by the distribution.

In addition, Caml hackers can program new and fancy Active-DVI effects in the
source code of the presenter.

%prep
%setup -q
find . -type d -name CVS | xargs rm -rf
find . -type f -name ".*" | xargs rm -f
rm -f doc/index.html

%build
%configure
%make
# remove empty file
rm -f doc/splash.out

%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{name}
install -m 755 advi.opt $RPM_BUILD_ROOT%{_bindir}/%{name}
install -m 644 doc/{scratch_write_,scratch_draw_,}splash.dvi tex/* $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post -p %{_bindir}/mktexlsr

%postun -p %{_bindir}/mktexlsr

%files
%defattr(-,root,root)
%doc Announce COPYING INDEX INSTALL LGPL README TODO doc
%{_bindir}/%{name}
%{_datadir}/texmf/tex/latex/%{name}

%changelog
* Sun Jan 09 2005 Guillaume Rousse <guillomovitch@mandrake.org> 1.6.0-2mdk 
- fixed additional dvi location (Emmanuel Favre-Nicolin <manouchk@gmail.com>)

* Mon Nov 22 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.6.0-1mdk 
- new version
- rpmbuildupdate aware

* Fri Jul 02 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-4mdk 
- removed useless provides

* Fri Jun 04 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-3mdk 
- buildrequires ocaml-camlimages-devel
- prereq tetex

* Wed Apr 07 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-2mdk
- buildrequires

* Tue Apr 06 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.4.0-1mdk
- first mdk release