Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 19bfac7fd887c9a4b223bcab3089b020 > files > 2

tetex-latex-tabulary-0.9-alt1.src.rpm

%define srcName tabulary

Name: tetex-latex-%srcName
Version: 0.9
Release: alt1
Summary: Tabular environment with variable width columns balanced
License: LPPL (LaTeX Project Public License)
Group: Publishing
Url: http://www.ctan.org/tex-archive/macros/latex/contrib/tabulary
Packager: Kirill Maslinsky <kirill@altlinux.org>

BuildArch: noarch

Requires: tetex-core tetex-latex

Source0: %srcName-%version.tar.bz2

# Automatically added by buildreq on Tue Sep 04 2007
BuildRequires: tetex-latex

%description
The package defines a tabular*-like tabulary environment, taking a
"total width" argument as well as the column specifications.  It then
defines column types L, C, R and J for variable width columns
(\raggedright, \centering, \raggedleft, and normally justified).
In contrast to tabularx's X columns,
the width of each column is weighted according to the natural
width of the widest cell in the column.

%prep
%setup -q -n %srcName-%version

%build
latex tabulary.ins

%install
%__mkdir_p %buildroot%_datadir/texmf/tex/latex/carlisle
install -pD -m644 tabulary.sty %buildroot%_datadir/texmf/tex/latex/carlisle/

%post
[ -x %_bindir/texhash ] && %_bindir/texhash 2>/dev/null ||:

%postun
[ -x %_bindir/texhash ] && %_bindir/texhash 2>/dev/null ||:

%files
%_datadir/texmf/tex/latex/carlisle/tabulary.sty
%doc README tabulary.pdf

%changelog
* Thu Nov 22 2007 Kirill Maslinsky <kirill@altlinux.org> 0.9-alt1
- Initial build for Sisyphus