-
-
Save bennyfactor/4b4274c74fbad63c08ca24b27bc4eae8 to your computer and use it in GitHub Desktop.
libvips RPM spec for CentOS 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Summary: A fast image processing library with low memory needs | |
Name: vips | |
Version: 8.7.4 | |
Release: 1%{?dist} | |
License: LGPLv2.1+ | |
Source0: https://github.com/jcupitt/libvips/releases/download/v8.7.4/%{name}-%{version}.tar.gz | |
URL: https://github.com/jcupitt/libvips | |
BuildRequires: chrpath, gtk-doc, libxml2-devel, libjpeg-turbo-devel, libpng-devel | |
BuildRequires: libtiff-devel, libexif-devel, libgsf-devel, lcms-devel | |
BuildRequires: ImageMagick-devel, gobject-introspection-devel, libwebp-devel | |
BuildRequires: expat-devel, poppler-glib-devel, giflib-devel, cfitsio-devel, orc-devel, lcms2-devel, cairo-devel | |
Requires: gtk-doc, libxml2, libjpeg-turbo, libpng, libtiff, libexif | |
Requires: libgsf, lcms, ImageMagick, gobject-introspection, libwebp | |
Requires: expat, poppler-glib, giflib, cfitsio, orc, lcms2, cairo | |
%description | |
libvips is a 2D image processing library. Compared to similar libraries, | |
libvips runs quickly and uses little memory. libvips is licensed under | |
the LGPL 2.1+. | |
It has around 300 operations covering arithmetic, histograms, convolutions, | |
morphological operations, frequency filtering, colour, resampling, statistics | |
and others. It supports a large range of numeric formats, from 8-bit int to | |
128-bit complex. It supports a good range of image formats, including JPEG, | |
TIFF, PNG, WebP, FITS, Matlab, OpenEXR, PDF, SVG, HDR, PPM, CSV, GIF, Analyze, | |
DeepZoom, and OpenSlide. It can also load images via ImageMagick or GraphicsMagick. | |
It has APIs for C and C++ and a command-line interface. Bindings are available for | |
Python, Ruby, PHP, Go, Lua, JavaScript and others. There is full documentation. There | |
are several GUIs as well, see the VIPS website. | |
%prep | |
%autosetup -n %{name}-%{version} | |
%build | |
%configure | |
make %{?_smp_mflags} | |
%install | |
%make_install | |
for f in $(find %{buildroot} -exec file {} \; | grep -i elf | cut -d: -f1); do chrpath --delete $f; done | |
%define _unpackaged_files_terminate_build 0 | |
rm COPYING | |
%files | |
%doc README.md TODO ChangeLog | |
%{_bindir}/* | |
%{_libdir}/* | |
%{_includedir}/* | |
%{_datadir}/**/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment