2012-03-12 13:01:56 +00:00
|
|
|
Name: ocaml-camlimages
|
2013-09-15 13:02:33 +00:00
|
|
|
Version: 4.1.0
|
2014-08-17 12:46:00 +00:00
|
|
|
Release: 5%{?dist}
|
2012-03-12 13:01:56 +00:00
|
|
|
Summary: OCaml image processing library
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv2 with exceptions
|
|
|
|
URL: http://cristal.inria.fr/camlimages/eng.html
|
|
|
|
|
2013-09-15 13:02:33 +00:00
|
|
|
Source0: https://bitbucket.org/camlspotter/camlimages/get/%{version}.tar.gz
|
2012-03-12 13:01:56 +00:00
|
|
|
|
|
|
|
# This file isn't published any more (that I could find).
|
|
|
|
# It's probably dated but at least should provide some info on how to
|
|
|
|
# use the library.
|
|
|
|
Source1: camlimages-2.2.0-htmlref.tar.gz
|
|
|
|
|
2013-12-25 11:07:25 +00:00
|
|
|
# https://bitbucket.org/camlspotter/camlimages/issue/9
|
|
|
|
Patch0: ocaml-camlimages-4.1.0-exifcheck.patch
|
|
|
|
|
2012-03-12 13:01:56 +00:00
|
|
|
BuildRequires: ocaml, ocaml-findlib-devel, ocaml-omake
|
|
|
|
BuildRequires: ocaml-lablgtk-devel
|
2013-12-25 11:07:25 +00:00
|
|
|
BuildRequires: ocaml-x11, xorg-x11-server-utils
|
|
|
|
BuildRequires: lablgtk, libpng-devel, libjpeg-devel, libexif-devel
|
2012-03-12 13:01:56 +00:00
|
|
|
BuildRequires: libXpm-devel, ghostscript-devel, freetype-devel
|
|
|
|
BuildRequires: giflib-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: gtk2-devel
|
2013-12-25 11:07:25 +00:00
|
|
|
Requires: xorg-x11-server-utils
|
2012-03-12 13:01:56 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is an image processing library, which provides some basic
|
|
|
|
functions of image processing and loading/saving various image file
|
|
|
|
formats. In addition the library can handle huge images that cannot be
|
|
|
|
(or can hardly be) stored into the memory (the library automatically
|
|
|
|
creates swap files and escapes them to reduce the memory usage).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for camlimages
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The camlimages-devel package provides libraries and headers for
|
|
|
|
developing applications using camlimages
|
|
|
|
|
|
|
|
Includes documentation provided by ocamldoc
|
|
|
|
|
|
|
|
%prep
|
2013-09-15 13:02:33 +00:00
|
|
|
%setup -q -n camlspotter-camlimages-668faa3494fe
|
|
|
|
%setup -q -T -D -a 1 -n camlspotter-camlimages-668faa3494fe
|
2013-12-25 11:07:25 +00:00
|
|
|
%patch0 -p1
|
2012-03-12 13:01:56 +00:00
|
|
|
|
|
|
|
%build
|
2013-12-25 11:07:25 +00:00
|
|
|
omake CFLAGS="$RPM_OPT_FLAGS"
|
2012-03-12 13:01:56 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# These rules work if the library uses 'ocamlfind install' to install itself.
|
|
|
|
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
|
|
|
|
mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
|
|
|
|
omake install
|
|
|
|
|
2013-08-11 15:51:49 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
|
|
|
cp -pr License.txt htmlref $RPM_BUILD_ROOT/usr/share/doc/ocaml-camlimages
|
2012-03-12 13:01:56 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README License.txt
|
|
|
|
%{_libdir}/ocaml/camlimages
|
|
|
|
%exclude %{_libdir}/ocaml/camlimages/*.a
|
|
|
|
%exclude %{_libdir}/ocaml/camlimages/*.cmxa
|
|
|
|
# There aren't any *.cmx files
|
|
|
|
#%exclude %{_libdir}/ocaml/camlimages/*.cmx
|
|
|
|
%exclude %{_libdir}/ocaml/camlimages/*.mli
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so
|
|
|
|
%{_libdir}/ocaml/stublibs/*.so.owner
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc htmlref
|
|
|
|
%{_libdir}/ocaml/camlimages/*.a
|
|
|
|
%{_libdir}/ocaml/camlimages/*.cmxa
|
|
|
|
# There aren't any *.cmx files
|
|
|
|
#%{_libdir}/ocaml/camlimages/*.cmx
|
|
|
|
%{_libdir}/ocaml/camlimages/*.mli
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2014-08-17 12:46:00 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 15:32:26 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-25 11:07:25 +00:00
|
|
|
* Wed Dec 25 2013 Ville Skyttä <ville.skytta@iki.fi> - 4.1.0-3
|
|
|
|
- Fix -debuginfo, enable exif and rgb.txt support (#1009155).
|
|
|
|
|
2013-09-28 01:44:25 +00:00
|
|
|
* Fri Sep 27 2013 Bruno Wolff III <bruno@wolff.to> - 4.1.0-2
|
|
|
|
- Try to get actual debug output
|
|
|
|
|
2013-09-15 13:02:33 +00:00
|
|
|
* Sun Sep 15 2013 Bruno Wolff III <bruno@wolff.to> - 4.1.0-1
|
|
|
|
- Update to 4.1.0
|
2013-09-15 13:12:06 +00:00
|
|
|
- Enable debug output
|
2013-09-15 13:14:53 +00:00
|
|
|
- Patch for recent libpng is no longer needed
|
2013-09-15 13:02:33 +00:00
|
|
|
|
2013-09-14 13:15:08 +00:00
|
|
|
* Sat Sep 14 2013 Bruno Wolff III <bruno@wolff.to> - 4.0.1-13
|
|
|
|
- Rebuild for OCaml 4.01.0
|
|
|
|
|
2013-08-11 16:06:18 +00:00
|
|
|
* Sun Aug 11 2013 Bruno Wolff III <bruno@wolff.to> - 4.0.1-12
|
2013-08-11 15:51:49 +00:00
|
|
|
- Move to unversioned doc directory
|
|
|
|
- Fixes FTBFS bug 992390
|
|
|
|
|
2013-08-03 14:48:50 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 08:55:33 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-21 14:50:09 +00:00
|
|
|
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 4.0.1-9
|
|
|
|
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
|
|
2012-12-21 17:30:19 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 4.0.1-8
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-10-18 02:05:38 +00:00
|
|
|
* Wed Oct 17 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-7
|
|
|
|
- Rebuild for ocaml 4.0.1
|
|
|
|
|
2012-07-29 12:46:06 +00:00
|
|
|
* Sun Jul 29 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-6
|
|
|
|
- Rebuild for ocaml 4.0.0 final
|
|
|
|
|
2012-07-20 05:52:05 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-09 02:38:16 +00:00
|
|
|
* Fri Jun 08 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-4
|
|
|
|
- Rebuild for new ocaml
|
|
|
|
|
2012-05-11 14:46:43 +00:00
|
|
|
* Fri May 11 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-3
|
|
|
|
- Rebuild for new libtiff
|
|
|
|
|
2012-03-12 13:01:56 +00:00
|
|
|
* Sat Mar 10 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-2
|
|
|
|
- Fixup "should fixes" from review
|
|
|
|
|
|
|
|
* Sun Jan 29 2012 Bruno Wolff III <bruno@wolff.to> - 4.0.1-1
|
|
|
|
- Resurrect ocaml-camlimages
|