Commit 04c23dca authored by Pietro Abate's avatar Pietro Abate

[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
parent 5c848e93
......@@ -15,8 +15,9 @@ Requires: pxp >= 1.1.9
Requires: expat >= 1.95.6
%description
CDuce, is a functional language for fast and type safe processing
XML documents.
CDuce, is a functional language for fast and type safe
processing of XML documents.
A complete documentation, reference manual, tutorial,
technical articles on implementation and theoretical
......@@ -24,6 +25,7 @@ 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
......@@ -31,30 +33,50 @@ cd expat
make all
make install
cd ..
make cduce dtd2cduce EXPAT=true NATIVE=true PXP_WLEX=false
make cduce dtd2cduce webpages EXPAT=true PHP=false 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/
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}
%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
%doc README CHANGES web/www web/img
%{_bindir}/cduce
%{_bindir}/dtd2cduce
%{_mandir}/man1/cduce.1
%{_mandir}/man1/cduce.1*
%changelog
* Fri Jul 4 2003 Giuseppe Castagna <castagna@reglisse.ens.fr>
- First beta release.
* Fri Jul 4 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
0.1.0
* Support for XML Namespaces
* Better support for expat; clean Makefile
* Get rid of ;; and let fun in examples
* Optional ; for record in attribute position (values and types/patterns)
* Split --dump into --load and --save
* Better handling of strings (specific node in AST)
* Map, transform: tail-recursive implementation
* Preliminary support for XML Schema
* Various bug fixes
......@@ -14,8 +14,9 @@ Requires: ocamlnet >= 0.96
Requires: pxp >= 1.1.9
%description
CDuce, is a functional language for fast and type safe processing
XML documents.
CDuce, is a functional language for fast and type safe
processing of XML documents.
A complete documentation, reference manual, tutorial,
technical articles on implementation and theoretical
......@@ -23,33 +24,54 @@ 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 NATIVE=true PXP_WLEX=false
make cduce dtd2cduce webpages PHP=false 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/
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}
%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
%doc README CHANGES web/www web/img
%{_bindir}/cduce
%{_bindir}/dtd2cduce
%{_mandir}/man1/cduce.1
%{_mandir}/man1/cduce.1*
%changelog
* Fri Jul 4 2003 Giuseppe Castagna <castagna@reglisse.ens.fr>
- First beta release.
* Fri Jul 4 2003 Giuseppe Castagna <Giuseppe.Castagna@ens.fr>
0.1.0
* Support for XML Namespaces
* Better support for expat; clean Makefile
* Get rid of ;; and let fun in examples
* Optional ; for record in attribute position (values and types/patterns)
* Split --dump into --load and --save
* Better handling of strings (specific node in AST)
* Map, transform: tail-recursive implementation
* Preliminary support for XML Schema
* Various bug fixes
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