libvips/libvips.spec

164 lines
4.4 KiB
RPMSpec

Name: libvips
Version: 8.13.1
Release: 1mamba
Summary: A fast image processing library with low memory needs
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.libvips.org/
Source: https://github.com/libvips/libvips.git/v%{version}/libvips-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libMagick-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcfitsio-devel
BuildRequires: libexif-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgsf-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libhdf5-devel
BuildRequires: libheif-devel
BuildRequires: libimath-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: liblqr-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libmatio-devel
BuildRequires: libopenexr-devel
BuildRequires: libopenjpeg-devel
BuildRequires: liborc-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: librsvg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libuuid-devel
BuildRequires: libwebp-devel
BuildRequires: libxcb-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzip-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: libMagick-devel >= 7.1.0.35-1mamba
BuildRequires: libcfitsio-devel >= 4.1.0
%description
A fast image processing library with low memory needs.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Graphics
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libvips-cpp.so.*
%{_libdir}/libvips.so.*
%{_libdir}/girepository-1.0/Vips-*.typelib
%doc AUTHORS COPYING THANKS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/vips
%{_includedir}/vips/*
%{_libdir}/libvips-cpp.a
%{_libdir}/libvips-cpp.so
%{_libdir}/libvips.a
%{_libdir}/libvips.so
%{_libdir}/pkgconfig/vips-cpp.pc
%{_libdir}/pkgconfig/vips.pc
%{_datadir}/gir-1.0/Vips-*.gir
%doc ChangeLog NEWS README.md
%files tools -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/batch_crop
%{_bindir}/batch_image_convert
%{_bindir}/batch_rubber_sheet
%{_bindir}/light_correct
%{_bindir}/shrink_width
%{_bindir}/vips
%{_bindir}/vips-*
%{_bindir}/vipsedit
%{_bindir}/vipsheader
%{_bindir}/vipsprofile
%{_bindir}/vipsthumbnail
%{_mandir}/man1/batch_crop.1*
%{_mandir}/man1/batch_image_convert.1*
%{_mandir}/man1/batch_rubber_sheet.1*
%{_mandir}/man1/light_correct.1*
%{_mandir}/man1/vips*.1*
%changelog
* Tue Sep 06 2022 Automatic Build System <autodist@mambasoft.it> 8.13.1-1mamba
- automatic version update by autodist
* Fri Jul 22 2022 Automatic Build System <autodist@mambasoft.it> 8.13.0-1mamba
- automatic version update by autodist
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.2-2mamba
- rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba
* Mon Apr 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.2-1mamba
- package created using the webbuild interface