source: projects/specs/branches/6/l/latexml/latexml-vl.spec @ 4234

Revision 4234, 2.1 KB checked in by munepi, 13 years ago (diff)

updated latexml-vl.spec: rebuilt on i386

Line 
1%define pkgname LaTeXML
2
3Name:           latexml
4Version:        0.7.0
5Release:        3%{?_dist_release}
6Summary:        LaTeX to XML Converter
7
8Group:          Development/Libraries
9License:        public domain
10Url:            http://dlmf.nist.gov/LaTeXML/
11Source0:        http://dlmf.nist.gov/LaTeXML/releases/%{pkgname}-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildArch:      noarch
14
15BuildRequires:  perl(Parse::RecDescent)
16BuildRequires:  perl(Image::Magick)
17BuildRequires:  perl(XML::LibXML) >= 1.70
18BuildRequires:  perl(XML::LibXSLT) >= 1.70
19BuildRequires:  perl(DB_File)
20BuildRequires:  perl(Test::Simple)
21
22Distribution:   Vine
23Vendor:         Project Vine
24Packager:       munepi
25
26%description
27latexml is a program, written in Perl, that attempts to faithfully mimic TeX's behaviour, but produces XML instead of dvi. The document model of the target XML makes explicit the model implied by LaTeX. The processing and model are both extensible; you can define the mapping between TeX constructs and the XML fragments to be created. A postprocessor, latexmlpost converts this XML into other formats such as HTML or XHTML, with options to convert the math into MathML (currently only presentation) or images.
28#'
29
30%prep
31%setup -q -n %{pkgname}-%{version}
32
33%build
34export CFLAGS="$RPM_OPT_FLAGS"
35%__perl Makefile.PL TEXMF=%{_datadir}/texmf INSTALLDIRS=vendor
36%__make
37
38%install
39%__rm -rf $RPM_BUILD_ROOT
40%__make pure_install DESTDIR=$RPM_BUILD_ROOT
41
42find $RPM_BUILD_ROOT -type f -name .packlist | xargs %__rm -f
43
44%check
45%__make test ||:
46
47%files
48%defattr(-,root,root)
49%{_bindir}/latexml
50%{_bindir}/latexmlfind
51%{_bindir}/latexmlmath
52%{_bindir}/latexmlpost
53%{_datadir}/texmf/tex/latex/latexml/latexml.sty
54%dir %{_datadir}/texmf/tex/latex/latexml
55%{_mandir}/man*/*.*
56%{perl_vendorlib}/LaTeXML.pm
57%{perl_vendorlib}/LaTeXML/*
58%dir %{perl_vendorlib}/LaTeXML
59
60%changelog
61* Tue Jun 28 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.7.0-3
62- rebuilt on i386
63
64* Tue May 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.7.0-2
65- rebuilt with perl-5.12.3
66
67* Thu Aug 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> - 0.7.0-1
68- initial build
Note: See TracBrowser for help on using the repository browser.