/[svn]/cduce/trunk/cduce-expat.spec
ViewVC logotype

Contents of /cduce/trunk/cduce-expat.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 575 - (hide annotations)
Tue Jul 10 17:45:44 2007 UTC (5 years, 10 months ago) by abate
Original Path: cduce-expat.spec
File size: 2041 byte(s)
[r2003-07-04 22:42:10 by cvscast] Beppe: first (final) version of the spec files for rpm build

Original author: cvscast
Date: 2003-07-04 22:42:10+00:00
1 abate 569 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 abate 575 CDuce, is a functional language for fast and type safe
20     processing of XML documents.
21    
22 abate 569 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 abate 575 rm -rf $RPM_BUILD_ROOT
29 abate 569 %setup -q
30    
31     %build
32     cd expat
33     make all
34     make install
35     cd ..
36 abate 575 make cduce dtd2cduce webpages EXPAT=true PHP=false NATIVE=true PXP_WLEX=false
37 abate 569
38     %install
39 abate 575 rm -rf $RPM_BUILD_ROOT
40     mkdir -p $RPM_BUILD_ROOT%{_bindir}
41     mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
42 abate 569
43 abate 575 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 abate 569 %clean
58     rm -rf $RPM_BUILD_ROOT
59    
60     %files
61     %defattr(-,root,root)
62 abate 575 %doc README CHANGES web/www web/img
63 abate 569
64     %{_bindir}/cduce
65     %{_bindir}/dtd2cduce
66 abate 575 %{_mandir}/man1/cduce.1*
67 abate 569
68     %changelog
69 abate 575 * Fri Jul 4 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
70     0.1.0
71     * Support for XML Namespaces
72     * Better support for expat; clean Makefile
73     * Get rid of ;; and let fun in examples
74     * Optional ; for record in attribute position (values and types/patterns)
75     * Split --dump into --load and --save
76     * Better handling of strings (specific node in AST)
77     * Map, transform: tail-recursive implementation
78     * Preliminary support for XML Schema
79     * Various bug fixes
80 abate 569
81    
82 abate 575

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5