- Initial version 20160504 for coccinelle
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-menhir?expand=0&rev=1
This commit is contained in:
commit
e4631396a3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
menhir-20160504.tar.gz
Normal file
3
menhir-20160504.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5fcd7cd38eef7ec78eee12cfaa9d22cbec6ba85f8d42e45b86215a89a496b20d
|
||||
size 729379
|
6
ocaml-menhir.changes
Normal file
6
ocaml-menhir.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 24 12:01:41 UTC 2016 - olaf@aepfle.de
|
||||
|
||||
- Initial version 20160504 for coccinelle
|
||||
|
||||
|
106
ocaml-menhir.spec
Normal file
106
ocaml-menhir.spec
Normal file
@ -0,0 +1,106 @@
|
||||
#
|
||||
# spec file for package ocaml-menhir
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: ocaml-menhir
|
||||
Version: 20160504
|
||||
Release: 0
|
||||
License: LGPL-2.0
|
||||
Summary: LR(1) parser generator for the OCaml programming language
|
||||
Url: http://gallium.inria.fr/~fpottier/menhir/
|
||||
Group: Development/Libraries/Other
|
||||
Source: http://gallium.inria.fr/~fpottier/menhir/menhir-20160504.tar.gz
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-ocamlbuild
|
||||
BuildRequires: ocaml-ocamldoc
|
||||
BuildRequires: ocaml-findlib
|
||||
BuildRequires: ocaml-rpm-macros >= 4.02.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
LR(1) parser generator
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and signature files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n menhir-%{version}
|
||||
|
||||
%build
|
||||
o=
|
||||
make \
|
||||
%if %{ocaml_native_compiler}
|
||||
TARGET=native \
|
||||
%else
|
||||
TARGET=byte \
|
||||
%endif
|
||||
PREFIX=${o}%{_prefix} \
|
||||
%{?_smp_mflags} \
|
||||
-j 1
|
||||
|
||||
%install
|
||||
o=%{buildroot}
|
||||
OCAMLFIND_DESTDIR=%{buildroot}`ocamlc -where`
|
||||
mkdir -vp ${OCAMLFIND_DESTDIR}
|
||||
make \
|
||||
install \
|
||||
%if %{ocaml_native_compiler}
|
||||
TARGET=native \
|
||||
%else
|
||||
TARGET=byte \
|
||||
%endif
|
||||
PREFIX=${o}%{_prefix} \
|
||||
OCAMLFIND_DESTDIR=${OCAMLFIND_DESTDIR} \
|
||||
%{?_smp_mflags} \
|
||||
-j 1
|
||||
rm -rfv %{buildroot}/usr/share/
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES LICENSE manual.pdf
|
||||
%{_bindir}/*
|
||||
%dir %{_libdir}/ocaml/*
|
||||
%{_libdir}/ocaml/*/META
|
||||
%if %{ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.o
|
||||
%endif
|
||||
#{_libdir}/ocaml/*/*.cma
|
||||
%{_libdir}/ocaml/*/*.cmi
|
||||
%{_libdir}/ocaml/*/*.cmo
|
||||
#{_libdir}/ocaml/*/*.so*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%{_mandir}/*
|
||||
%dir %{_libdir}/ocaml/*
|
||||
#{_libdir}/ocaml/*/*.a
|
||||
%if %{ocaml_native_compiler}
|
||||
%{_libdir}/ocaml/*/*.cmx
|
||||
#{_libdir}/ocaml/*/*.cmxa
|
||||
#{_libdir}/ocaml/*/*.cmxs
|
||||
%endif
|
||||
%{_libdir}/ocaml/*/*.mli
|
||||
%{_libdir}/ocaml/*/*.ml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user