libvips/libvips.spec

184 lines
5.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: libvips
Version: 8.16.0
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: libarchive-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: libheif-devel
BuildRequires: libhighway-devel
BuildRequires: libimagequant-devel
BuildRequires: libjpeg-devel
BuildRequires: libjpeg-turbo
BuildRequires: libjxl-devel
BuildRequires: liblcms2-devel
BuildRequires: libmatio-devel
BuildRequires: libopenexr-devel
BuildRequires: libopenjpeg-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: libjxl-devel >= 0:0.8.1-1mamba
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}"
%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
* Tue Oct 29 2024 Automatic Build System <autodist@openmamba.org> 8.16.0-1mamba
- automatic version update by autodist
* Sun Oct 20 2024 Automatic Build System <autodist@openmamba.org> 8.15.5-1mamba
- automatic version update by autodist
* Thu Oct 03 2024 Automatic Build System <autodist@openmamba.org> 8.15.4-1mamba
- automatic version update by autodist
* Mon Aug 12 2024 Automatic Build System <autodist@openmamba.org> 8.15.3-1mamba
- automatic version update by autodist
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 8.15.2-1mamba
- automatic version update by autodist
* Tue Dec 19 2023 Automatic Build System <autodist@mambasoft.it> 8.15.1-1mamba
- automatic version update by autodist
* Sun Nov 12 2023 Automatic Build System <autodist@mambasoft.it> 8.15.0-1mamba
- automatic version update by autodist
* Tue Sep 19 2023 Automatic Build System <autodist@mambasoft.it> 8.14.5-1mamba
- automatic version update by autodist
* Tue Aug 15 2023 Automatic Build System <autodist@mambasoft.it> 8.14.4-1mamba
- automatic version update by autodist
* Fri Jul 21 2023 Automatic Build System <autodist@mambasoft.it> 8.14.3-1mamba
- automatic version update by autodist
* Wed Mar 22 2023 Automatic Build System <autodist@mambasoft.it> 8.14.2-1mamba
- automatic version update by autodist
* Sat Feb 11 2023 Sdk Build System <sdk@mambasoft.it> 8.14.1-2mamba
- rebuilt by autoport with build requirements: libjxl-devel>=0:0.8.1-1mamba
* 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