cduce.spec 1.35 KB
Newer Older
1
2
3
4
5
6
Summary: a language for fast and type safe processing of XML documents.
Name: cduce
Version: 0.1.0
Release: 1
URL: http://www.cduce.org/
Source : http://www.cduce.org/download/%{name}-%{version}.tar.gz
7
License: Qt Public Licence version 1.0
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 processing  
XML documents.

A  complete  documentation,  reference  manual,  tutorial,
technical   articles  on  implementation  and  theoretical
issues, benchmarks, source code, mailing lists and  forums
can be found on the CDuce website: http://www.cduce.org.

%prep
%setup -q

%build
make cduce dtd2cduce NATIVE=true PXP_WLEX=false

%install
mkdir -p %{_mandir}/man1
mkdir -p %{_bindir}
cp $RPM_BUILD_ROOT/cduce $RPM_BUILD_ROOT/dtd2cduce %{_bindir}/
cp $RPM_BUILD_ROOT/doc/cduce.1 %{_mandir}/man1/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(0755, root, bin) %{_bindir}/cduce
%attr(0755, root, bin) %{_bindir}/dtd2cduce
%attr(0644, root, bin) %{_mandir}/man1/cduce.1
%defattr(-,root,root)
%doc README CHANGES

%{_bindir}/cduce
%{_bindir}/dtd2cduce
%{_mandir}/man1/cduce.1

%changelog
* Fri Jul  4 2003 Giuseppe Castagna <castagna@reglisse.ens.fr>
- First beta release.