| 1 |
Summary: a language for fast and type safe processing of XML documents.
|
| 2 |
Name: cduce
|
| 3 |
Version: 0.1.0
|
| 4 |
Release: 1
|
| 5 |
URL: http://www.cduce.org/
|
| 6 |
Source : http://www.cduce.org/download/%{name}-%{version}.tar.gz
|
| 7 |
License: Qt Public Licence version 1.0
|
| 8 |
Group: Development/Languages
|
| 9 |
BuildRoot: %{_tmppath}/%{name}-root
|
| 10 |
Requires: ocaml >= 3.06
|
| 11 |
Requires: findlib >= 0.8
|
| 12 |
Requires: pcre-ocaml
|
| 13 |
Requires: ocamlnet >= 0.96
|
| 14 |
Requires: pxp >= 1.1.9
|
| 15 |
Requires: expat >= 1.95.6
|
| 16 |
|
| 17 |
%description
|
| 18 |
|
| 19 |
CDuce, is a functional language for fast and type safe
|
| 20 |
processing of XML documents.
|
| 21 |
|
| 22 |
A complete documentation, reference manual, tutorial,
|
| 23 |
technical articles on implementation and theoretical
|
| 24 |
issues, benchmarks, source code, mailing lists and forums
|
| 25 |
can be found on the CDuce website: http://www.cduce.org.
|
| 26 |
|
| 27 |
%prep
|
| 28 |
rm -rf $RPM_BUILD_ROOT
|
| 29 |
%setup -q
|
| 30 |
|
| 31 |
%build
|
| 32 |
cd expat
|
| 33 |
make all
|
| 34 |
make install
|
| 35 |
cd ..
|
| 36 |
make cduce dtd2cduce webpages EXPAT=true PHP=false NATIVE=true PXP_WLEX=false
|
| 37 |
|
| 38 |
%install
|
| 39 |
rm -rf $RPM_BUILD_ROOT
|
| 40 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
| 41 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
| 42 |
|
| 43 |
install -s -m 755 cduce $RPM_BUILD_ROOT%{_bindir}/cduce
|
| 44 |
install -s -m 755 dtd2cduce $RPM_BUILD_ROOT%{_bindir}/dtd2cduce
|
| 45 |
install -m 644 doc/cduce.1 $RPM_BUILD_ROOT%{_mandir}/man1/cduce.1
|
| 46 |
|
| 47 |
%post
|
| 48 |
cd %{_docdir}/%{name}-%{version}/www
|
| 49 |
ln -s ../img ./
|
| 50 |
cd ..
|
| 51 |
ln -s www/manual.html ./
|
| 52 |
|
| 53 |
|
| 54 |
%postun
|
| 55 |
rm -rf %{_docdir}/%{name}-%{version}
|
| 56 |
|
| 57 |
%clean
|
| 58 |
rm -rf $RPM_BUILD_ROOT
|
| 59 |
|
| 60 |
%files
|
| 61 |
%defattr(-,root,root)
|
| 62 |
%doc README CHANGES web/www web/img
|
| 63 |
|
| 64 |
%{_bindir}/cduce
|
| 65 |
%{_bindir}/dtd2cduce
|
| 66 |
%{_mandir}/man1/cduce.1*
|
| 67 |
|
| 68 |
%changelog
|
| 69 |
* Mon Sep 1 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
|
| 70 |
0.1.1
|
| 71 |
* Various bug fixes (expat might now work)
|
| 72 |
* Sequencing operator e1;e2 (equivalent to: let [] = e1 in e2)
|
| 73 |
* Encoded references
|
| 74 |
|
| 75 |
* Fri Jul 4 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
|
| 76 |
0.1.0
|
| 77 |
* Support for XML Namespaces
|
| 78 |
* Better support for expat; clean Makefile
|
| 79 |
* Get rid of ;; and let fun in examples
|
| 80 |
* Optional ; for record in attribute position (values and types/patterns)
|
| 81 |
* Split --dump into --load and --save
|
| 82 |
* Better handling of strings (specific node in AST)
|
| 83 |
* Map, transform: tail-recursive implementation
|
| 84 |
* Preliminary support for XML Schema
|
| 85 |
* Various bug fixes
|
| 86 |
|
| 87 |
|
| 88 |
|