|
|
10f7d7 |
Name: ocaml-csv
|
|
|
10f7d7 |
Version: 1.7
|
|
|
10f7d7 |
Release: 5%{?dist}
|
|
|
10f7d7 |
Summary: OCaml library for reading and writing CSV files
|
|
|
10f7d7 |
License: LGPLv2+
|
|
|
10f7d7 |
|
|
|
10f7d7 |
URL: https://github.com/Chris00/ocaml-csv/
|
|
|
10f7d7 |
Source0: https://github.com/Chris00/ocaml-csv/files/1394287/csv-1.7.tar.gz
|
|
|
10f7d7 |
|
|
|
10f7d7 |
BuildRequires: ocaml >= 4.00.1
|
|
|
10f7d7 |
BuildRequires: ocaml-ocamlbuild
|
|
|
10f7d7 |
BuildRequires: ocaml-ocamldoc
|
|
|
10f7d7 |
BuildRequires: ocaml-findlib-devel >= 1.3.3-3
|
|
|
10f7d7 |
BuildRequires: ocaml-extlib-devel >= 1.5.3-2
|
|
|
10f7d7 |
BuildRequires: gawk
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%description
|
|
|
10f7d7 |
This OCaml library can read and write CSV files, including all
|
|
|
10f7d7 |
extensions used by Excel - eg. quotes, newlines, 8 bit characters in
|
|
|
10f7d7 |
fields, quote-0 etc.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
The library comes with a handy command line tool called csvtool for
|
|
|
10f7d7 |
handling CSV files from shell scripts.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%package devel
|
|
|
10f7d7 |
Summary: Development files for %{name}
|
|
|
10f7d7 |
Requires: %{name} = %{version}-%{release}
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%description devel
|
|
|
10f7d7 |
The %{name}-devel package contains libraries and signature files for
|
|
|
10f7d7 |
developing applications that use %{name}.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%prep
|
|
|
10f7d7 |
%setup -q -n csv-%{version}
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%build
|
|
|
10f7d7 |
ocaml setup.ml -configure --prefix %{_prefix} --destdir $RPM_BUILD_ROOT --disable-tests
|
|
|
10f7d7 |
ocaml setup.ml -build
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%install
|
|
|
10f7d7 |
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
10f7d7 |
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
10f7d7 |
mkdir -p $OCAMLFIND_DESTDIR
|
|
|
10f7d7 |
|
|
|
10f7d7 |
ocaml setup.ml -install
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%ifarch %{ocaml_native_compiler}
|
|
|
10f7d7 |
mkdir -p $DESTDIR%{_bindir}
|
|
|
10f7d7 |
install -m 0755 csvtool.native $DESTDIR%{_bindir}/csvtool
|
|
|
10f7d7 |
%endif
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%files
|
|
|
10f7d7 |
%doc LICENSE.txt
|
|
|
10f7d7 |
%{_libdir}/ocaml/csv
|
|
|
10f7d7 |
%ifarch %{ocaml_native_compiler}
|
|
|
10f7d7 |
%exclude %{_libdir}/ocaml/csv/*.a
|
|
|
10f7d7 |
%exclude %{_libdir}/ocaml/csv/*.cmxa
|
|
|
10f7d7 |
%exclude %{_libdir}/ocaml/csv/*.cmx
|
|
|
10f7d7 |
%endif
|
|
|
10f7d7 |
%exclude %{_libdir}/ocaml/csv/*.mli
|
|
|
10f7d7 |
%{_bindir}/csvtool
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%files devel
|
|
|
10f7d7 |
%doc AUTHORS.txt LICENSE.txt README.txt
|
|
|
10f7d7 |
%ifarch %{ocaml_native_compiler}
|
|
|
10f7d7 |
%{_libdir}/ocaml/csv/*.a
|
|
|
10f7d7 |
%{_libdir}/ocaml/csv/*.cmxa
|
|
|
10f7d7 |
%{_libdir}/ocaml/csv/*.cmx
|
|
|
10f7d7 |
%endif
|
|
|
10f7d7 |
%{_libdir}/ocaml/csv/*.mli
|
|
|
10f7d7 |
|
|
|
10f7d7 |
|
|
|
10f7d7 |
%changelog
|
|
|
10f7d7 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-5
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Jul 11 2018 Richard W.M. Jones <rjones@redhat.com> - 1.7-4
|
|
|
10f7d7 |
- OCaml 4.07.0 (final) rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Jun 20 2018 Richard W.M. Jones <rjones@redhat.com> - 1.7-3
|
|
|
10f7d7 |
- OCaml 4.07.0-rc1 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-2
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 1.7-1
|
|
|
10f7d7 |
- New upstream version 1.7.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Nov 08 2017 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-24
|
|
|
10f7d7 |
- OCaml 4.06.0 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Aug 07 2017 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-23
|
|
|
10f7d7 |
- OCaml 4.05.0 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-22
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-21
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Jun 26 2017 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-20
|
|
|
10f7d7 |
- OCaml 4.04.2 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Fri May 12 2017 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-19
|
|
|
10f7d7 |
- OCaml 4.04.1 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-18
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Nov 09 2016 Dan Horák <dan@danny.cz> - 1.3.1-17
|
|
|
10f7d7 |
- rebuild for s390x codegen bug
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Nov 05 2016 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-16
|
|
|
10f7d7 |
- Rebuild for OCaml 4.04.0.
|
|
|
10f7d7 |
- Add dependency on ocamlbuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Oct 19 2016 Dan Horák <dan[at]danny.cz> - 1.3.1-15
|
|
|
10f7d7 |
- disable debuginfo subpackage on interpreted builds
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-14
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue Jul 28 2015 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-13
|
|
|
10f7d7 |
- OCaml 4.02.3 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Jul 20 2015 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-12
|
|
|
10f7d7 |
- Fix/enable bytecode build.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-11
|
|
|
10f7d7 |
- ocaml-4.02.2 final rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Jun 17 2015 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-10
|
|
|
10f7d7 |
- ocaml-4.02.2 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue Feb 17 2015 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-9
|
|
|
10f7d7 |
- ocaml-4.02.1 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Aug 30 2014 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-8
|
|
|
10f7d7 |
- ocaml-4.02.0 final rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-7
|
|
|
10f7d7 |
- ocaml-4.02.0+rc1 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-6
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Aug 02 2014 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-5
|
|
|
10f7d7 |
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Jul 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-4
|
|
|
10f7d7 |
- Bump release and rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Jul 21 2014 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-3
|
|
|
10f7d7 |
- OCaml 4.02.0 beta rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Sep 14 2013 Richard W.M. Jones <rjones@redhat.com> - 1.3.1-1
|
|
|
10f7d7 |
- New upstream version 1.3.1.
|
|
|
10f7d7 |
- Rebuild for OCaml 4.01.0.
|
|
|
10f7d7 |
- Enable debuginfo.
|
|
|
10f7d7 |
- Modernize the spec file some more.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-5
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-4
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue Nov 27 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-3
|
|
|
10f7d7 |
- BR >= OCaml 4.00.1 so we can't be built against the wrong OCaml.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Nov 26 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2.3-2
|
|
|
10f7d7 |
- New upstream version 1.2.3.
|
|
|
10f7d7 |
- New upstream location.
|
|
|
10f7d7 |
- Clean up the spec file.
|
|
|
10f7d7 |
- Remove patches since they are no longer relevant.
|
|
|
10f7d7 |
- New setup appears to require ocamldoc.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Oct 29 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-13
|
|
|
10f7d7 |
- Rebuild for OCaml 4.00.1.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-12
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Jun 7 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-11
|
|
|
10f7d7 |
- Rebuild for OCaml 4.00.0.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Fri Jan 06 2012 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-10
|
|
|
10f7d7 |
- Rebuild for OCaml 3.12.1.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-9
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Jan 05 2011 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-8
|
|
|
10f7d7 |
- Rebuild for OCaml 3.12 (http://fedoraproject.org/wiki/Features/OCaml3.12).
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Dec 30 2009 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-7
|
|
|
10f7d7 |
- Rebuild for OCaml 3.11.2.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-6
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-5
|
|
|
10f7d7 |
- Rebuild for OCaml 3.11.1
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Apr 16 2009 S390x secondary arch maintainer <fedora-s390x@lists.fedoraproject.org>
|
|
|
10f7d7 |
- ExcludeArch sparc64, s390, s390x as we don't have OCaml on those archs
|
|
|
10f7d7 |
(added sparc64 per request from the sparc maintainer)
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-4
|
|
|
10f7d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-3
|
|
|
10f7d7 |
- Rebuild.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-2
|
|
|
10f7d7 |
- Rebuild for OCaml 3.11.0
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Oct 27 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.7-1
|
|
|
10f7d7 |
- New upstream version 1.1.7.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Wed Apr 23 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-8
|
|
|
10f7d7 |
- Rebuild for OCaml 3.10.2
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Sat Mar 1 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-7
|
|
|
10f7d7 |
- Rebuild for ppc64.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue Feb 12 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-6
|
|
|
10f7d7 |
- Force rebuild for OCaml 3.10.1.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Sep 6 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-5
|
|
|
10f7d7 |
- Force rebuild because of base OCaml.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Thu Aug 30 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-4
|
|
|
10f7d7 |
- Force rebuild because of changed BRs in base OCaml.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Fri Aug 24 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-3
|
|
|
10f7d7 |
- License clarified to LGPLv2+ (and fixed/clarified upstream).
|
|
|
10f7d7 |
- Added ExcludeArch ppc64
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Mon Jun 11 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-2
|
|
|
10f7d7 |
- Updated to latest packaging guidelines.
|
|
|
10f7d7 |
|
|
|
10f7d7 |
* Tue May 29 2007 Richard W.M. Jones <rjones@redhat.com> - 1.1.6-1
|
|
|
10f7d7 |
- Initial RPM release.
|