1 |
%define texdir /usr/share/texmf-dist |
2 |
|
3 |
Summary: LaTeX macros for writing documents following the ABNT norms |
4 |
Name: abntex2 |
5 |
Version: 1.4 |
6 |
Release: %mkrel 2 |
7 |
License: LPPL |
8 |
Group: Publishing |
9 |
URL: http://code.google.com/p/abntex2/ |
10 |
Source0: http://abntex2.googlecode.com/files/abntex2.tds-%{version}.zip |
11 |
Requires: texlive |
12 |
BuildArch: noarch |
13 |
|
14 |
%description |
15 |
abnTeX2 able to write LaTeX documents which conform to several norms from ABNT |
16 |
(Brazilian Association for Technical Norms). |
17 |
|
18 |
%prep |
19 |
%setup -cn abntex2-%{version} |
20 |
|
21 |
%install |
22 |
install -m 755 -d %{buildroot}/%{texdir} |
23 |
cp -rf %{_builddir}/%{name}-%{version}/* %{buildroot}/%{texdir} |
24 |
|
25 |
%post |
26 |
texhash |
27 |
|
28 |
%postun |
29 |
texhash |
30 |
|
31 |
%files |
32 |
%{texdir}/bibtex/bib/abntex2/ |
33 |
%{texdir}/bibtex/bst/abntex2/ |
34 |
%{texdir}/doc/latex/abntex2/ |
35 |
%{texdir}/tex/latex/abntex2/ |