osc copypac from project:home:NaCl:ocaml package:ocaml-findlib revision:13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=1
This commit is contained in:
commit
1186be8fe9
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
findlib-1.2.7.tar.gz
Normal file
3
findlib-1.2.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c920b129e48b3b313e67b915a078ab06a9ddd2e072f3353edfa74144f256029b
|
||||||
|
size 163452
|
31
ocaml-findlib.changes
Normal file
31
ocaml-findlib.changes
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 22 16:18:43 UTC 2011 - ampsaltis@gmail.com
|
||||||
|
|
||||||
|
- Fix license (sort of, they're the same thing, really)
|
||||||
|
- Primary package provides ocamlfind
|
||||||
|
- Fixed some rpmlint warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 17 13:43:16 UTC 2011 - ampsaltis@gmail.com
|
||||||
|
|
||||||
|
- Use ocaml-camlp4-devel in BuildRequires
|
||||||
|
|
||||||
|
Wed May 18 19:12:42 UTC 2011 - ampsaltis@gmail.com
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
- Add this file.
|
||||||
|
- New upstream version 1.2.7
|
||||||
|
- Fix: if a META file defines several packages, and one of the packages
|
||||||
|
has a broken dependency, ocamlfind used to report all errors even if
|
||||||
|
the broken packages were not used. This is now changed - broken
|
||||||
|
subpackages are ignored when they are not needed, in the same way as
|
||||||
|
broken top-level packages are ignored when not needed. (Thanks to
|
||||||
|
Sylvain Le Gall for reporting the problem.)
|
||||||
|
- Added -thread and -vmthread switches to "ocamlfind ocamldoc".
|
||||||
|
These actually only add the right predicates. (Thanks to Vladimir
|
||||||
|
Ivanov for pointing this problem out.)
|
||||||
|
- Package warnings can be emitted by "ocamlfind ocamldoc".
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 20 00:00:00 UTC 2011 - ampsaltis@gmail.com
|
||||||
|
|
||||||
|
- Use internal dependency generator
|
282
ocaml-findlib.spec
Normal file
282
ocaml-findlib.spec
Normal file
@ -0,0 +1,282 @@
|
|||||||
|
# This spec file is derived from the the Fedora distribution as of
|
||||||
|
# 2010-12-14.
|
||||||
|
|
||||||
|
# This file was originally available under the Fedora Contributor
|
||||||
|
# License Agreement (CLA), which permits relicensing.
|
||||||
|
|
||||||
|
# Copyright (c) 2010-2011 Andrew Psaltis <ampsaltis at gmail dot com>
|
||||||
|
|
||||||
|
# Permission is hereby granted, free of charge, to any person
|
||||||
|
# obtaining a copy of this software and associated documentation files
|
||||||
|
# (the "Software"), to deal in the Software without restriction,
|
||||||
|
# including without limitation the rights to use, copy, modify, merge,
|
||||||
|
# publish, distribute, sublicense, and/or sell copies of the Software,
|
||||||
|
# and to permit persons to whom the Software is furnished to do so,
|
||||||
|
# subject to the following conditions:
|
||||||
|
|
||||||
|
# The above copyright notice and this permission notice shall be
|
||||||
|
# included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||||
|
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||||
|
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
# SOFTWARE.
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||||
|
#%#%%define debug_package %{nil}
|
||||||
|
|
||||||
|
Name: ocaml-findlib
|
||||||
|
Version: 1.2.7
|
||||||
|
Release: 2
|
||||||
|
Summary: Objective CAML package manager and build helper
|
||||||
|
|
||||||
|
Group: Development/Libraries/Other
|
||||||
|
License: MIT
|
||||||
|
URL: http://projects.camlcity.org/projects/findlib.html
|
||||||
|
Source0: http://download.camlcity.org/download/findlib-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
ExcludeArch: sparc64 s390 s390x
|
||||||
|
|
||||||
|
Provides: ocamlfind = %{version}
|
||||||
|
|
||||||
|
BuildRequires: ocaml
|
||||||
|
BuildRequires: ocaml-camlp4-devel
|
||||||
|
#BuildRequires: labltk
|
||||||
|
BuildRequires: ocaml-ocamldoc
|
||||||
|
BuildRequires: m4, ncurses-devel
|
||||||
|
BuildRequires: gawk
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1140
|
||||||
|
%define _use_internal_dependency_generator 1
|
||||||
|
%endif
|
||||||
|
%global __ocaml_requires_opts -i Asttypes -i Parsetree
|
||||||
|
|
||||||
|
%description
|
||||||
|
Findlib is a library manager for Objective Caml. It provides a
|
||||||
|
convention how to store libraries, and a file format ("META") to
|
||||||
|
describe the properties of libraries. There is also a tool (ocamlfind)
|
||||||
|
for interpreting the META files, so that it is very easy to use
|
||||||
|
libraries in programs and scripts.
|
||||||
|
|
||||||
|
|
||||||
|
%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 findlib-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
ocamlc -version
|
||||||
|
ocamlc -where
|
||||||
|
(cd tools/extract_args && make)
|
||||||
|
tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocamlmktop ocamlopt ocamldep ocamldoc ||:
|
||||||
|
#cat src/findlib/ocaml_args.ml
|
||||||
|
./configure -config %{_sysconfdir}/ocamlfind.conf \
|
||||||
|
-bindir %{_bindir} \
|
||||||
|
-sitelib `ocamlc -where` \
|
||||||
|
-mandir %{_mandir} \
|
||||||
|
-with-toolbox
|
||||||
|
make all
|
||||||
|
%if %opt
|
||||||
|
make opt
|
||||||
|
%endif
|
||||||
|
rm doc/guide-html/TIMESTAMP
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
# Grrr destdir grrrr
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
make install prefix=$RPM_BUILD_ROOT OCAMLFIND_BIN=$RPM_BUILD_ROOT%{_bindir}
|
||||||
|
mv $RPM_BUILD_ROOT/$RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
|
||||||
|
strip $RPM_BUILD_ROOT%{_bindir}/ocamlfind
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE doc/README
|
||||||
|
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*
|
||||||
|
%{_mandir}/man5/*
|
||||||
|
# Needed for Factory (or 11.4)
|
||||||
|
%{_libdir}/ocaml/bigarray
|
||||||
|
%{_libdir}/ocaml/dbm
|
||||||
|
%{_libdir}/ocaml/dynlink
|
||||||
|
%{_libdir}/ocaml/graphics
|
||||||
|
%{_libdir}/ocaml/num
|
||||||
|
%{_libdir}/ocaml/stdlib
|
||||||
|
%{_libdir}/ocaml/str
|
||||||
|
%{_libdir}/ocaml/unix
|
||||||
|
%{_libdir}/ocaml/camlp4
|
||||||
|
%{_libdir}/ocaml/ocamlbuild
|
||||||
|
%{_libdir}/ocaml/threads
|
||||||
|
%{_libdir}/ocaml/topfind
|
||||||
|
%{_libdir}/ocaml/findlib
|
||||||
|
%if %opt
|
||||||
|
%exclude %{_libdir}/ocaml/findlib/*.a
|
||||||
|
%exclude %{_libdir}/ocaml/findlib/*.cmxa
|
||||||
|
%endif
|
||||||
|
%exclude %{_libdir}/ocaml/findlib/*.mli
|
||||||
|
%exclude %{_libdir}/ocaml/findlib/Makefile.config
|
||||||
|
%{_libdir}/ocaml/num-top
|
||||||
|
# These are for the labltk-dependent stuff
|
||||||
|
#%%exclude %%{_libdir}/ocaml/findlib/make_wizard
|
||||||
|
#%%exclude %%{_libdir}/ocaml/findlib/make_wizard.pattern
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE doc/README doc/guide-html
|
||||||
|
%if %opt
|
||||||
|
%{_libdir}/ocaml/findlib/*.a
|
||||||
|
%{_libdir}/ocaml/findlib/*.cmxa
|
||||||
|
%endif
|
||||||
|
%{_libdir}/ocaml/findlib/*.mli
|
||||||
|
%{_libdir}/ocaml/findlib/Makefile.config
|
||||||
|
# These are for the labltk-dependent stuff
|
||||||
|
#%%{_libdir}/ocaml/findlib/make_wizard
|
||||||
|
#%%{_libdir}/ocaml/findlib/make_wizard.pattern
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Apr 20 2011 Andrew Psaltis <ampsaltis at gmail.com> - 1.2.6-5
|
||||||
|
- Use internal dependency generator (wheeee)
|
||||||
|
|
||||||
|
* Fri Jan 7 2011 Andrew Psaltis <ampsaltis at gmail.com> - 1.2.6-4
|
||||||
|
- Pass environment variables to find-requires
|
||||||
|
|
||||||
|
* Tue Dec 14 2010 Andrew Psaltis <ampsaltis at gmail.com> - 1.2.6-3
|
||||||
|
- Actually depend on ocaml
|
||||||
|
|
||||||
|
* Tue Dec 14 2010 Andrew Psaltis <ampsaltis at gmail.com> - 1.2.6-2
|
||||||
|
- Make the build work in Factory
|
||||||
|
|
||||||
|
* Tue Dec 14 2010 Andrew Psaltis <ampsaltis at gmail.com> - 1.2.6-1
|
||||||
|
- Modify spec file to work with openSUSE
|
||||||
|
- Bump version to 1.2.6
|
||||||
|
|
||||||
|
* Tue Dec 29 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-4
|
||||||
|
- Rebuild for OCaml 3.11.2.
|
||||||
|
|
||||||
|
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-3
|
||||||
|
- Use __ocaml_requires_opts / __ocaml_provides_opts.
|
||||||
|
|
||||||
|
* Wed Dec 16 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-2
|
||||||
|
- Update to use RPM dependency generator.
|
||||||
|
|
||||||
|
* Sun Oct 4 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.5-1
|
||||||
|
- New upstream version 1.2.5.
|
||||||
|
|
||||||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 22 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2.4-3
|
||||||
|
- Rebuild for OCaml 3.11.1.
|
||||||
|
- New upstream version 1.2.4.
|
||||||
|
- camlp4/META patch is now upstream.
|
||||||
|
|
||||||
|
* Thu Apr 16 2009 S390x secondary arch maintainer <fedora-s390x@lists.fedoraproject.org>
|
||||||
|
- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
|
||||||
|
(added sparc64 per request from the sparc maintainer)
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-5
|
||||||
|
- Change to camlp4/META means that this package really depends on
|
||||||
|
the latest OCaml compiler.
|
||||||
|
|
||||||
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-4
|
||||||
|
- camlp4/META: camlp4.lib should depend on dynlink.
|
||||||
|
|
||||||
|
* Wed Nov 26 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-3
|
||||||
|
- Rebuild for OCaml 3.11.0+rc1.
|
||||||
|
|
||||||
|
* Fri Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-2
|
||||||
|
- Force rebuild.
|
||||||
|
|
||||||
|
* Thu Nov 20 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-1
|
||||||
|
- New upstream version 1.2.3.
|
||||||
|
|
||||||
|
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-2
|
||||||
|
- Rebuild for OCaml 3.11.0
|
||||||
|
|
||||||
|
* Sun Aug 31 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.2-1
|
||||||
|
- New upstream version 1.2.2.
|
||||||
|
- Strip ocamlfind binary.
|
||||||
|
- Remove zero-length file.
|
||||||
|
|
||||||
|
* Mon Apr 21 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-3
|
||||||
|
- New upstream URLs.
|
||||||
|
|
||||||
|
* Sat Mar 1 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-2
|
||||||
|
- Experimental rebuild for ppc64.
|
||||||
|
|
||||||
|
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 1.2.1-1
|
||||||
|
- New upstream version 1.2.1.
|
||||||
|
|
||||||
|
* Thu Sep 6 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-14
|
||||||
|
- Ignore Parsetree module, it's a part of the toplevel.
|
||||||
|
|
||||||
|
* Mon Sep 3 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-13
|
||||||
|
- Bump version to force rebuild against ocaml -6 release.
|
||||||
|
|
||||||
|
* Thu Aug 30 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-12
|
||||||
|
- Added BR: gawk.
|
||||||
|
|
||||||
|
* Thu Aug 30 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-11
|
||||||
|
- Force rebuild because of changed BRs in base OCaml.
|
||||||
|
|
||||||
|
* Thu Aug 2 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-10
|
||||||
|
- BR added ocaml-ocamldoc so that ocamlfind ocamldoc works.
|
||||||
|
- Fix path of camlp4 parsers in Makefile.
|
||||||
|
|
||||||
|
* Thu Jul 12 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-9
|
||||||
|
- Added ExcludeArch: ppc64
|
||||||
|
|
||||||
|
* Thu Jul 12 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-8
|
||||||
|
- Expanded tabs to spaces.
|
||||||
|
- Readded conditional opt section for files.
|
||||||
|
|
||||||
|
* Wed Jul 04 2007 Xavier Lamien <lxtnow[at]gmail.com> - 1.1.2pl1-7
|
||||||
|
- Fixed BR.
|
||||||
|
|
||||||
|
* Wed Jun 27 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-6
|
||||||
|
- Fix configure line.
|
||||||
|
- Install doc/guide-html.
|
||||||
|
- Added dependency on ncurses-devel.
|
||||||
|
|
||||||
|
* Mon Jun 11 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-5
|
||||||
|
- Build against 3.10.
|
||||||
|
- Update to latest package guidelines.
|
||||||
|
|
||||||
|
* Sat Jun 2 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-4
|
||||||
|
- Handle bytecode-only architectures.
|
||||||
|
|
||||||
|
* Sat May 26 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-3
|
||||||
|
- Missing builddep m4.
|
||||||
|
|
||||||
|
* Fri May 25 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-2
|
||||||
|
- Use OCaml find-requires and find-provides.
|
||||||
|
|
||||||
|
* Fri May 18 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.2pl1-1
|
||||||
|
- Initial RPM release.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user