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
b517bfb0
Commit
b517bfb0
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2006-05-05 14:59:40 by ngesbert] Updated spec file for CDuce 0.4.0
Original author: ngesbert Date: 2006-05-05 14:59:40+00:00
parent
f9bdab2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cduce.spec
View file @
b517bfb0
...
...
@@ -7,6 +7,7 @@ Source: cduce-%{version}.tar.gz
License: MIT
Group: Development/Languages
BuildRoot: %{_tmppath}/%{name}-root
Requires: pcre >= 4.5
%description
...
...
@@ -19,7 +20,15 @@ issues, benchmarks, source code, mailing lists and forums
can be found on the CDuce website: http://www.cduce.org.
%prep
%setup -q
%setup -D -q
cat > find_requires.sh << EOF
#!/bin/sh
/usr/lib/rpm/find-requires | fgrep -v libpcre.so.3
exit 0
EOF
chmod +x find_requires.sh
%define __find_requires %_builddir/%name-%version/find_requires.sh
%build
./configure --without-expat --without-curl --with-ocamlopt
...
...
@@ -30,6 +39,13 @@ rm -rf %{buildroot}
make install_bin BINDIR=%{buildroot}%{_bindir}
make install_doc MANDIR=%{buildroot}%{_mandir} DOCDIR=%{buildroot}%{_docdir}/cduce
%post
[ -a /lib/libpcre.so.3 -o -a /usr/lib/libpcre.so.3 ] || {
{ { LIBPCRE0=/lib/libpcre.so.0 && [ -a $LIBPCRE0 ]; } ||
{ LIBPCRE0=/usr/lib/libpcre.so.0 && [ -a $LIBPCRE0 ]; }
} && ln -s $LIBPCRE0 /usr/lib/libpcre.so.3
}
%clean
rm -rf %{buildroot}
...
...
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