New upstream version 0.9.1.
- OCaml 4.01.0 rebuild. - Modernize the spec file. - Enable debuginfo.
This commit is contained in:
parent
36318fda16
commit
67c2fb720d
|
@ -1,3 +1,4 @@
|
|||
ocamlsdl-0.7.2-htmlref.tar.gz
|
||||
ocamlsdl-0.7.2.tar.gz
|
||||
/ocamlsdl-0.8.0.tar.gz
|
||||
/ocamlsdl-0.9.1.tar.gz
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
%define debug_package %{nil}
|
||||
%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
|
||||
|
||||
Name: ocaml-SDL
|
||||
Version: 0.8.0
|
||||
Release: 9%{?dist}
|
||||
Version: 0.9.1
|
||||
Release: 1%{?dist}
|
||||
Summary: OCaml bindings for SDL
|
||||
|
||||
Group: Development/Libraries
|
||||
License: LGPLv2+
|
||||
|
||||
URL: http://ocamlsdl.sourceforge.net
|
||||
Source0: http://downloads.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
|
||||
Source1: ocamlsdl-0.7.2-htmlref.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
ExcludeArch: sparc64 s390 s390x
|
||||
|
||||
BuildRequires: ocaml-lablgl-devel
|
||||
|
@ -19,33 +17,34 @@ BuildRequires: SDL_ttf-devel, SDL_mixer-devel, SDL_image-devel
|
|||
BuildRequires: ocaml
|
||||
Requires: ocaml
|
||||
|
||||
%define _use_internal_dependency_generator 0
|
||||
%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
|
||||
%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
|
||||
|
||||
%description
|
||||
Runtime libraries to allow programs written in OCaml to write to SDL
|
||||
(Simple DirectMedia Layer) interfaces.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for ocamlSDL
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
|
||||
%description devel
|
||||
The ocamlSDL-devel package provides libraries and headers for developing
|
||||
applications using ocamlSDL
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n ocamlsdl-%{version} -a 1
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
export DESTDIR=$RPM_BUILD_ROOT
|
||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
||||
mkdir -p $OCAMLFIND_DESTDIR
|
||||
|
@ -53,15 +52,11 @@ mkdir -p $OCAMLFIND_DESTDIR/stublibs
|
|||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING AUTHORS NEWS
|
||||
%{_libdir}/ocaml/sdl
|
||||
%{_libdir}/ocaml/stublibs/*.so
|
||||
%{_libdir}/ocaml/stublibs/*.so.owner
|
||||
%if %opt
|
||||
%exclude %{_libdir}/ocaml/sdl/*.a
|
||||
%exclude %{_libdir}/ocaml/sdl/*.cmxa
|
||||
|
@ -70,7 +65,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc htmlref/
|
||||
%if %opt
|
||||
%{_libdir}/ocaml/sdl/*.a
|
||||
|
@ -80,6 +74,12 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* 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.
|
||||
|
||||
* 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
|
||||
|
||||
|
@ -171,7 +171,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
* Thu Apr 26 2007 Nigel Jones <dev@nigelj.com> 0.7.2-3
|
||||
- Provide ocamlSDL-static, add COPYING to -devel as docs.
|
||||
|
||||
* Wed Apr 10 2007 Nigel Jones <dev@nigelj.com> 0.7.2-2
|
||||
* Wed Apr 11 2007 Nigel Jones <dev@nigelj.com> 0.7.2-2
|
||||
- Fix missing dependencies
|
||||
|
||||
* Tue Apr 10 2007 Nigel Jones <dev@nigelj.com> 0.7.2-1
|
||||
|
|
Loading…
Reference in New Issue