Sophie

Sophie

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

BibTool-2.44-1mdk.src.rpm

%define name	BibTool
%define version	2.44
%define release	1mdk

Summary:	A Tool for manipulating BibTeX data bases
Name:		%{name}
Version:	%{version}
Release:	%{release}
Group:		Publishing
Source:		ftp://ftphost.uni-koblenz.de/outgoing/gene/BibTool/%{name}-%{version}.tar.bz2
License:	GPL
BuildRequires:	tetex-latex
BuildRoot:	%{_tmppath}/%{name}-buildroot

%description
BibTeX provides an easy to use means to integrate citations and
bibliographies into LaTeX documents. But the user is left alone with
the management of the BibTeX files. The program BibTool is intended to
fill this gap. BibTool allows the manipulation of BibTeX files which
goes beyond the possibilities --- and intentions --- of BibTeX.

%prep
rm -rf ${RPM_BUILD_ROOT}

%setup 

%build
%configure
%make
cd Doc
make all

%clean
rm -rf ${RPM_BUILD_ROOT}

%install
install -d 755 ${RPM_BUILD_ROOT}%{_bindir}
install -d 755 ${RPM_BUILD_ROOT}%{_libdir}/%{name}
install -d 755 ${RPM_BUILD_ROOT}%{_mandir}/man1
install -m 755 bibtool ${RPM_BUILD_ROOT}%{_bindir}
install -m 644 Lib/* ${RPM_BUILD_ROOT}%{_libdir}/%{name}
install -m 644 Doc/bibtool.1 ${RPM_BUILD_ROOT}%{_mandir}/man1

%files
%defattr(-,root,root)
%doc Changes.tex COPYING INSTALL README THANKS Doc/*.dvi
%{_bindir}/*
%{_libdir}/%{name}*
%{_mandir}/man1/*

%changelog
* Mon Sep 10 2001 Lenny Cartier <lenny@mandrakesoft.com> 2.44-1mdk
- added in contribs by Guillaume Rousse <g.rousse@linux-mandrake.com> :
	- first mdk release