2013-09-19 13:45:35 +00:00
|
|
|
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
2008-02-13 11:18:16 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
Name: ocaml-SDL
|
2013-09-19 13:45:35 +00:00
|
|
|
Version: 0.9.1
|
2015-06-24 21:06:34 +00:00
|
|
|
Release: 11%{?dist}
|
2007-05-04 11:30:16 +00:00
|
|
|
Summary: OCaml bindings for SDL
|
2008-08-11 20:44:49 +00:00
|
|
|
License: LGPLv2+
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
URL: http://ocamlsdl.sourceforge.net
|
|
|
|
Source0: http://downloads.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
|
|
|
|
Source1: ocamlsdl-0.7.2-htmlref.tar.gz
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2009-04-16 09:06:16 +00:00
|
|
|
ExcludeArch: sparc64 s390 s390x
|
2007-05-04 11:30:16 +00:00
|
|
|
|
2008-06-02 08:28:00 +00:00
|
|
|
BuildRequires: ocaml-lablgl-devel
|
|
|
|
BuildRequires: SDL_ttf-devel, SDL_mixer-devel, SDL_image-devel
|
2007-05-04 11:30:16 +00:00
|
|
|
BuildRequires: ocaml
|
|
|
|
Requires: ocaml
|
|
|
|
|
2008-02-13 11:18:16 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%description
|
|
|
|
Runtime libraries to allow programs written in OCaml to write to SDL
|
|
|
|
(Simple DirectMedia Layer) interfaces.
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for ocamlSDL
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%description devel
|
|
|
|
The ocamlSDL-devel package provides libraries and headers for developing
|
|
|
|
applications using ocamlSDL
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n ocamlsdl-%{version} -a 1
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
%install
|
2008-02-13 11:18:16 +00:00
|
|
|
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR/stublibs
|
2007-05-04 11:30:16 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2008-02-13 11:18:16 +00:00
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README COPYING AUTHORS NEWS
|
2008-02-13 11:18:16 +00:00
|
|
|
%{_libdir}/ocaml/sdl
|
2013-09-19 14:05:28 +00:00
|
|
|
%{_libdir}/ocaml/stublibs/*.so*
|
2008-02-13 11:18:16 +00:00
|
|
|
%if %opt
|
|
|
|
%exclude %{_libdir}/ocaml/sdl/*.a
|
|
|
|
%exclude %{_libdir}/ocaml/sdl/*.cmxa
|
|
|
|
%endif
|
|
|
|
%exclude %{_libdir}/ocaml/sdl/*.mli
|
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc htmlref/
|
2008-02-13 11:18:16 +00:00
|
|
|
%if %opt
|
|
|
|
%{_libdir}/ocaml/sdl/*.a
|
|
|
|
%{_libdir}/ocaml/sdl/*.cmxa
|
|
|
|
%endif
|
|
|
|
%{_libdir}/ocaml/sdl/*.mli
|
2007-05-04 11:30:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2015-06-24 21:06:34 +00:00
|
|
|
* Wed Jun 24 2015 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-11
|
|
|
|
- ocaml-4.02.2 final rebuild.
|
|
|
|
|
2015-06-18 12:13:00 +00:00
|
|
|
* Thu Jun 18 2015 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-10
|
|
|
|
- ocaml-4.02.2 rebuild.
|
|
|
|
|
2015-06-17 23:32:11 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-17 14:00:52 +00:00
|
|
|
* Tue Feb 17 2015 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-8
|
|
|
|
- ocaml-4.02.1 rebuild.
|
|
|
|
|
2014-08-31 11:00:09 +00:00
|
|
|
* Sun Aug 31 2014 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-7
|
|
|
|
- ocaml-4.02.0 final rebuild.
|
|
|
|
|
2014-08-23 21:17:03 +00:00
|
|
|
* Sat Aug 23 2014 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-6
|
|
|
|
- ocaml-4.02.0+rc1 rebuild.
|
|
|
|
|
2014-08-17 12:41:04 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-02 12:33:16 +00:00
|
|
|
* Sat Aug 02 2014 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-4
|
|
|
|
- ocaml-4.02.0-0.8.git10e45753.fc22 rebuild.
|
|
|
|
|
2014-07-23 14:42:49 +00:00
|
|
|
* Wed Jul 23 2014 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-3
|
|
|
|
- OCaml 4.02.0 beta rebuild.
|
|
|
|
|
2014-06-07 15:28:43 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
* Thu Sep 19 2013 Richard W.M. Jones <rjones@redhat.com> - 0.9.1-1
|
|
|
|
- New upstream version 0.9.1.
|
|
|
|
- OCaml 4.01.0 rebuild.
|
|
|
|
- Modernize the spec file.
|
|
|
|
- Enable debuginfo.
|
|
|
|
|
2013-08-03 14:45:44 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 08:53:49 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-18 17:33:09 +00:00
|
|
|
* Sun Nov 18 2012 Bruno Wolff III <bruno@wolff.to> - 0.8.0-7
|
|
|
|
- Rebuild for OCaml 4.0.1
|
|
|
|
|
2012-07-20 05:48:32 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-10 21:21:30 +00:00
|
|
|
* Sun Jun 10 2012 Richard W.M. Jones <rjones@redhat.com> - 0.8.0-5
|
|
|
|
- Rebuild for OCaml 4.00.0.
|
|
|
|
|
2012-01-07 18:35:17 +00:00
|
|
|
* Sat Jan 07 2012 Richard W.M. Jones <rjones@redhat.com> - 0.8.0-4
|
|
|
|
- Rebuild for OCaml 3.12.1.
|
|
|
|
|
2011-02-09 01:34:37 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-07 15:11:49 +00:00
|
|
|
* Fri Jan 7 2011 Richard W.M. Jones <rjones@redhat.com> - 0.8.0-2
|
2011-01-07 14:59:58 +00:00
|
|
|
- New upstream version 0.8.0.
|
|
|
|
- Rebuild for OCaml 3.12.0.
|
|
|
|
|
2009-12-30 13:53:15 +00:00
|
|
|
* Wed Dec 30 2009 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-21
|
|
|
|
- Rebuild for OCaml 3.11.2.
|
|
|
|
|
2009-07-25 19:49:45 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-23 07:37:44 +00:00
|
|
|
* Sat May 23 2009 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-19
|
|
|
|
- Rebuild for OCaml 3.11.1
|
|
|
|
|
2009-04-16 09:06:16 +00:00
|
|
|
* 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)
|
|
|
|
|
2009-02-26 06:44:40 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-05 16:00:04 +00:00
|
|
|
* Fri Dec 5 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-17
|
|
|
|
- Force rebuild.
|
|
|
|
|
2008-12-04 12:36:49 +00:00
|
|
|
* Thu Dec 4 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-16
|
|
|
|
- Rebuild.
|
|
|
|
|
2008-11-24 11:56:36 +00:00
|
|
|
* Wed Nov 19 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-15
|
|
|
|
- Rebuild for OCaml 3.11.0
|
|
|
|
|
2008-08-11 20:44:49 +00:00
|
|
|
* Mon Aug 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.7.2-14
|
|
|
|
- fix license tag
|
|
|
|
|
2008-06-02 08:28:00 +00:00
|
|
|
* Mon Jun 2 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-13
|
|
|
|
- labgl -> ocaml-lablgl-devel
|
|
|
|
|
2008-04-23 10:26:08 +00:00
|
|
|
* Wed Apr 23 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-12
|
|
|
|
- Rebuild for OCaml 3.10.2.
|
|
|
|
|
2008-04-23 08:38:09 +00:00
|
|
|
* Sat Apr 19 2008 Richard W.M. Jones <rjones@redhat.com> - 0.7.2-11
|
|
|
|
- Add commas in dependencies & rebuild.
|
|
|
|
|
2008-03-01 07:54:33 +00:00
|
|
|
* Sat Mar 1 2008 Richard W.M. Jones <rjones@redhat.com> 0.7.2-10
|
|
|
|
- Rebuild for ppc64.
|
|
|
|
|
2008-02-13 11:28:32 +00:00
|
|
|
* Wed Feb 13 2008 Richard W.M. Jones <rjones@redhat.com> 0.7.2-9
|
|
|
|
- *.so.owner files aren't being generated by this ocamlfind.
|
|
|
|
|
2008-02-13 11:18:16 +00:00
|
|
|
* Wed Feb 13 2008 Richard W.M. Jones <rjones@redhat.com> 0.7.2-8
|
|
|
|
- Rebuild for OCaml 3.10.1.
|
|
|
|
- Generate correct provides and requires.
|
|
|
|
- Fix 'make install' rule for new ocamlfind.
|
|
|
|
- Fix paths to conform with OCaml packaging guidelines.
|
|
|
|
|
2007-05-09 02:54:32 +00:00
|
|
|
* Wed May 09 2007 Nigel Jones <dev@nigelj.com> 0.7.2-7
|
2007-05-09 02:41:39 +00:00
|
|
|
- ExcludeArch ppc64 until ocaml builds
|
|
|
|
|
2007-05-04 11:30:16 +00:00
|
|
|
* Fri May 04 2007 Nigel Jones <dev@nigelj.com> 0.7.2-6
|
|
|
|
- Fix download URL and remove ldconfig
|
|
|
|
|
|
|
|
* Fri May 04 2007 Nigel Jones <dev@nigelj.com> 0.7.2-5
|
|
|
|
- Minor fixups per review
|
|
|
|
|
|
|
|
* Thu May 03 2007 Nigel Jones <dev@nigelj.com> 0.7.2-4
|
|
|
|
- Rename per policy
|
|
|
|
- Revert -3 changes
|
|
|
|
- Add htmlref
|
|
|
|
|
|
|
|
* Thu Apr 26 2007 Nigel Jones <dev@nigelj.com> 0.7.2-3
|
|
|
|
- Provide ocamlSDL-static, add COPYING to -devel as docs.
|
|
|
|
|
2013-09-19 13:45:35 +00:00
|
|
|
* Wed Apr 11 2007 Nigel Jones <dev@nigelj.com> 0.7.2-2
|
2007-05-04 11:30:16 +00:00
|
|
|
- Fix missing dependencies
|
|
|
|
|
|
|
|
* Tue Apr 10 2007 Nigel Jones <dev@nigelj.com> 0.7.2-1
|
|
|
|
- Initial spec file
|
|
|
|
|