Commit 9d447705 authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2006-04-28 09:29:16 by beppe] Empty log message

Original author: beppe
Date: 2006-04-28 09:29:16+00:00
parent dddba906
Summary: a language for fast and type safe processing of XML documents.
Name: cduce
Version: 0.1.1
Version: 0.4.0
Release: 1
URL: http://www.cduce.org/
Source : http://www.cduce.org/download/%{name}-%{version}.tar.gz
Source: cduce-%{version}.tar.gz
License: MIT
Group: Development/Languages
BuildRoot: %{_tmppath}/%{name}-root
Requires: ocaml >= 3.06
Requires: findlib >= 0.8
Requires: pcre-ocaml
Requires: ocamlnet >= 0.96
Requires: pxp >= 1.1.9
%description
CDuce, is a functional language for fast and type safe
CDuce is a functional language for fast and type safe
processing of XML documents.
A complete documentation, reference manual, tutorial,
......@@ -24,43 +19,31 @@ issues, benchmarks, source code, mailing lists and forums
can be found on the CDuce website: http://www.cduce.org.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
make cduce dtd2cduce webpages PHP=false NATIVE=true PXP_WLEX=false
./configure --without-expat --without-curl --with-ocamlopt
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -s -m 755 cduce $RPM_BUILD_ROOT%{_bindir}/cduce
install -s -m 755 dtd2cduce $RPM_BUILD_ROOT%{_bindir}/dtd2cduce
install -m 644 doc/cduce.1 $RPM_BUILD_ROOT%{_mandir}/man1/cduce.1
%post
cd %{_docdir}/%{name}-%{version}/www
ln -s ../img ./
cd ..
ln -s www/manual.html ./
%postun
rm -rf %{_docdir}/%{name}-%{version}
rm -rf %{buildroot}
make install_bin BINDIR=%{buildroot}%{_bindir}
make install_doc MANDIR=%{buildroot}%{_mandir} DOCDIR=%{buildroot}%{_docdir}/cduce
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README CHANGES web/www web/img
%{_docdir}/cduce
%{_bindir}/cduce
%{_bindir}/dtd2cduce
%{_mandir}/man1/cduce.1*
%{_mandir}/man1/*cduce.1*
%changelog
* Fri Apr 7 2006 Nils Gesbert <nils.gesbert@ens.fr> 0.4.0
Updated the spec file for cduce 0.4.0
* Mon Sep 1 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
0.1.1
* Various bug fixes (expat might now work)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment