Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
9d447705
Commit
9d447705
authored
Oct 05, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
cduce.spec
View file @
9d447705
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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment