Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
ocaml-camlimages
ocaml-camlimages.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocaml-camlimages.spec of Package ocaml-camlimages
# Copyright (c) 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} Summary: Image editing library for Objective Caml Name: ocaml-camlimages Version: 4.2.6 Release: 1 License: LGPL-2.1-only with OCaml-LGPL-linking-exception Group: Development/Libraries/Other URL: http://gallium.inria.fr/camlimages/ Source0: camlimages-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: ocaml BuildRequires: ocaml-findlib-devel BuildRequires: omake BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: xorg-x11-libXpm-devel BuildRequires: libtiff-devel BuildRequires: freetype2-devel BuildRequires: ghostscript-devel BuildRequires: giflib-devel %if 0%{?suse_version} <= 1140 %define _use_internal_dependency_generator 1 %endif %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 %{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 camlimages-hg-b%{version} %build # It's either this or debugging omake. And, well, this... export SUSE_ASNEEDED=0 omake %install export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs omake install #rm -rf $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %define _camlimagesroot %{_libdir}/ocaml/camlimages %files %defattr(-,root,root,-) %doc Changes.txt INSTALL.rst License.txt README.md %{_camlimagesroot} %{_libdir}/ocaml/stublibs %if %opt %exclude %{_camlimagesroot}/*.a %exclude %{_camlimagesroot}/*.cmx %exclude %{_camlimagesroot}/*.cmxa %endif #%%exclude %%{_camlimagesroot}/*.ml %exclude %{_camlimagesroot}/*.mli %files devel %defattr(-,root,root,-) %if %opt %{_camlimagesroot}/*.a %{_camlimagesroot}/*.cmx %{_camlimagesroot}/*.cmxa %endif #%%{_camlimagesroot}/*.ml %{_camlimagesroot}/*.mli %changelog * Mon May 9 2011 Andrew M. Psaltis <ampsaltis at gmail dot com> - 4.0.0-1 - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor