Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > fa587d3919edf4371e273436d4772947 > files > 2

bibtex2html-1.52-1mdk.src.rpm

%define name	bibtex2html
%define version	1.52
%define release	1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	A Tool for translating from BibTeX to HTML
Group:		Publishing
License:	GPL
URL:		http://www.lri.fr/~filliatr/bibtex2html
Source:		%{name}-%{version}.tar.bz2
BuildRequires:	ocaml
BuildRequires:	hevea
BuildRequires:	tetex-latex
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
bibtex2html is a collection of tools for translating from BibTeX to
HTML. They allow to produce, from a set of bibliography files in BibTeX
format, a bibliography in HTML format. Here are some features: 
- Handle any BibTeX style (even those producing multiple bibliographies); 
- Use additional fields like abstract, url, ps, etc. to insert web links; 
- Crossrefs are also replaced by links; 
- Sort by dates or authors, in increasing or decreasing order; 
- Read simple macros in TeX or LaTeX files; 
- Show syntax errors in BibTeX files; 
- Extract from one or several BibTeX files the set of entries satisfying
  a given criterion. 

%prep
rm -rf $RPM_BUILD_ROOT
%setup 

%build
%configure
%make
%make doc

%install
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 aux2bib bib2bib bibtex2html $RPM_BUILD_ROOT%{_bindir}
install -m 644 aux2bib.1 bib2bib.1 bibtex2html.1 $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc CHANGES COPYING GPL README manual.ps manual.html
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Wed Feb 27 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 1.52-1mdk
- first mdk release