libvips/libvips.spec

148 lines
4.1 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libvips
Version: 8.14.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: libMagick-devel
BuildRequires: libcairo-devel
BuildRequires: libcfitsio-devel
BuildRequires: libexif-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgsf-devel
BuildRequires: libhdf5-devel
BuildRequires: libheif-devel
BuildRequires: libjpeg-devel
BuildRequires: libjxl-devel
BuildRequires: liblcms2-devel
BuildRequires: libmatio-devel
BuildRequires: libopenexr-devel
BuildRequires: libopenjpeg-devel
BuildRequires: liborc-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-glib-devel
BuildRequires: librsvg-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: libz-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
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%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.*
%dir %{_libdir}/vips-modules-%{majver}
%{_libdir}/vips-modules-%{majver}/vips-*.so
%{_libdir}/girepository-1.0/Vips-*.typelib
%doc LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/vips
%{_includedir}/vips/*
%{_libdir}/libvips-cpp.so
%{_libdir}/libvips.so
%{_libdir}/pkgconfig/vips-cpp.pc
%{_libdir}/pkgconfig/vips.pc
%{_datadir}/gir-1.0/Vips-*.gir
%doc ChangeLog 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
* Thu Jan 26 2023 Automatic Build System <autodist@mambasoft.it> 8.14.1-1mamba
- automatic version update by autodist
* Wed Nov 02 2022 Automatic Build System <autodist@mambasoft.it> 8.13.3-1mamba
- automatic version update by autodist
* Fri Sep 30 2022 Automatic Build System <autodist@mambasoft.it> 8.13.2-1mamba
- automatic version update by autodist
* 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