SHA256
1
0
forked from pool/ocaml-cppo

Accepting request 342893 from home:frispete:ocaml

SRing a couple of packages, that google-drive-ocamlfuse relies on...

OBS-URL: https://build.opensuse.org/request/show/342893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=1
This commit is contained in:
Olaf Hering 2015-11-08 09:04:44 +00:00 committed by Git OBS Bridge
commit d1c09c81b8
6 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

7
_service Normal file
View File

@ -0,0 +1,7 @@
<services>
<service name="download_url">
<param name="host">mjambon.com</param>
<param name="protocol">http</param>
<param name="path">/releases/cppo/cppo-1.0.0.tar.gz</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cbb7d9efe028563e09f778e1a24db3effd6a0dbb620a81950402b83f1652fca
size 21469

5
ocaml-cppo.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sat Jan 3 18:52:35 UTC 2015 - hpj@urpla.net
- initial build: version 1.0.0

60
ocaml-cppo.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package ocaml-cppo
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 LISA GmbH, Bingen, 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-cppo
Version: 1.0.0
Release: 1
License: BSD-2-Clause
Summary: The C preprocessor written in OCaml
Url: http://mjambon.com/cppo.html
Group: Development/Libraries/Other
Source: http://mjambon.com/releases/cppo/cppo-%{version}.tar.gz
BuildRequires: ocaml-easy-format
BuildRequires: ocaml-findlib
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Cppo is an equivalent of the C preprocessor targeted at the OCaml language and
its variants.
The main purpose of cppo is to provide a lightweight tool for simple macro
substitution (#define) and file inclusion (#include) for the occasional case
when this is useful in OCaml. Processing specific sections of files by calling
external programs is also possible via #ext directives.
The implementation of cppo relies on the standard library of OCaml and on the
standard parsing tools Ocamllex and Ocamlyacc, which contribute to the
robustness of cppo across OCaml versions.
%prep
%setup -qn cppo-%{version}
%build
make %{?_smp_mflags}
%install
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
mkdir -p %{buildroot}%{_bindir} $OCAMLFIND_DESTDIR
make install BINDIR="%{buildroot}%{_bindir}"
%files
%defattr(-,root,root)
%doc Changes LICENSE README.md
%{_bindir}/cppo
%{_libdir}/ocaml/cppo_ocamlbuild