## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: openslide Version: 4.0.0 Release: %autorelease Summary: C library for reading virtual slides License: LGPL-2.1-only URL: https://openslide.org/ Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libopenjp2) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(libdicom) BuildRequires: gcc BuildRequires: meson # Required for gdk-pixbuf2 to be able to load BMP images, including in tests %if 0%{?fedora} >= 41 BuildRequires: gdk-pixbuf2-modules-extra Requires: gdk-pixbuf2-modules-extra%{?_isa} %else BuildRequires: gdk-pixbuf2-modules Requires: gdk-pixbuf2-modules%{?_isa} %endif %description The OpenSlide library allows programs to access virtual slide files regardless of the underlying image format. %package devel Summary: Development files for %{name} License: LGPL-2.1-only AND MIT Requires: %{name}%{?_isa} = %{version}-%{release} Provides: bundled(js-jquery) = 3.6.0 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package tools Summary: Command line tools for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description tools The %{name}-tools package contains command line tools for working with virtual slides. %prep %autosetup %build # don't rebuild docs, since Doxygen configs are version-specific %meson -Ddoc=disabled %meson_build %install %meson_install %check %meson_test %files %doc README.md CHANGELOG.md %license COPYING.LESSER %{_libdir}/*.so.1* %files devel %doc doc/html %{_includedir}/%{name}/ %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files tools %{_bindir}/* %{_mandir}/man1/* %changelog ## START: Generated by rpmautospec * Fri Jul 26 2024 Benjamin Gilbert - 4.0.0-5 - Add gdk-pixbuf2-modules-extra dependency on F41+ to fix BMP loading * Thu Jul 18 2024 Fedora Release Engineering - 4.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 4.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 4.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 11 2023 Benjamin Gilbert - 4.0.0-1 - New release - Add developer documentation to -devel subpackage - Use correct SPDX license identifier - Update project URL to HTTPS * Thu Jul 20 2023 Fedora Release Engineering - 3.4.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 3.4.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.4.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri May 20 2022 Sandro Mani - 3.4.1-21 - Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 * Thu Jan 20 2022 Fedora Release Engineering - 3.4.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 3.4.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.4.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Oct 11 2020 Benjamin Gilbert - 3.4.1-18 - Fix build on s390x * Sat Aug 01 2020 Fedora Release Engineering - 3.4.1-17 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 3.4.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 3.4.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 3.4.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 3.4.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jan 26 2019 Benjamin Gilbert - 3.4.1-12 - Avoid soname-concealing glob per new policy * Fri Jul 13 2018 Fedora Release Engineering - 3.4.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Benjamin Gilbert - 3.4.1-10 - Drop ldconfig scriptlets per new policy * Thu Feb 08 2018 Fedora Release Engineering - 3.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 3.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 3.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Jun 17 2017 Benjamin Gilbert - 3.4.1-6 - Drop Group tags * Sat Feb 11 2017 Fedora Release Engineering - 3.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Feb 21 2016 Benjamin Gilbert - 3.4.1-4 - BuildRequire gcc per new policy * Thu Feb 04 2016 Fedora Release Engineering - 3.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 3.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Apr 21 2015 Benjamin Gilbert - 3.4.1-1 - New release - Switch to OpenJPEG 2 * Sun Mar 22 2015 Benjamin Gilbert - 3.4.0-4 - Add dependency on new gdk-pixbuf2-modules subpackage - Move license files to %%license * Sun Aug 17 2014 Fedora Release Engineering - 3.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Jan 26 2014 Benjamin Gilbert - 3.4.0-1 - New release * Sat Aug 03 2013 Fedora Release Engineering - 3.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Apr 13 2013 Benjamin Gilbert - 3.3.3-1 - New upstream release + Minor compatibility improvements for Aperio JP2K and Hamamatsu slides - Update Source0 URL * Thu Feb 14 2013 Fedora Release Engineering - 3.3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 21 2013 Adam Tkac - 3.3.2-4 - rebuild due to "jpeg8-ABI" feature drop * Fri Dec 21 2012 Adam Tkac - 3.3.2-3 - rebuild against new libjpeg * Fri Dec 21 2012 Benjamin Gilbert - 3.3.2-2 - Rebuild for jpeg8 * Sat Dec 01 2012 Benjamin Gilbert - 3.3.2-1 - New upstream release + Fix seams in MIRAX 2.2 slides + Fix associated images in single-level Aperio slides + Improve performance on MIRAX and Hamamatsu VMU * Sun Oct 14 2012 Benjamin Gilbert - 3.3.1-1 - New upstream release + Parallelize concurrent openslide_read_region calls + Performance improvements for MIRAX and Hamamatsu VMS * Sat Sep 22 2012 Benjamin Gilbert - 3.3.0-1 - New upstream release + Support for Leica SCN format (requires libtiff 4) + Partial support for MIRAX 2.2 + Standard properties for microns-per-pixel and objective power + Improved reporting of open errors + Command-line tool improvements - Add versioned dependency on main package to subpackages * Fri Jul 20 2012 Fedora Release Engineering - 3.2.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 29 2012 Adam Goode - 3.2.6-1 - New upstream release + Support for downsampled MIRAX files + Improved MIRAX performance and bugfixes + Fix for openslide_read_region with large dimensions * Thu Feb 09 2012 Rex Dieter 3.2.5-2 - rebuild (openjpeg) * Mon Jan 16 2012 Adam Goode - 3.2.5-1 - New upstream release + Support for MIRAX 1.03 files + openslide_read_region now works for large dimensions + quickhash-1 is disabled for unusual TIFFs where it is very slow * Fri Jan 13 2012 Fedora Release Engineering - 3.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 3.2.4-2 - Rebuild for new libpng * Fri Aug 12 2011 Adam Goode - 3.2.4-1 - New upstream release, see http://github.com/openslide/openslide/blob/master/CHANGELOG.txt * Fri Aug 12 2011 Adam Goode - 3.2.3-5 - Clean up the spec file a little * Tue Feb 08 2011 Fedora Release Engineering - 3.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 12 2011 Rex Dieter - 3.2.3-3 - rebuild (openjpeg) * Wed Sep 29 2010 jkeating - 3.2.3-2 - Rebuilt for gcc bug 634757 * Wed Sep 15 2010 Adam Goode - 3.2.3-1 - New upstream release, see http://github.com/openslide/openslide/blob/master/CHANGELOG.txt * Sat Jun 19 2010 Adam Goode - 3.2.2-2 - Restore missing clean section * Wed Jun 16 2010 Adam Goode - 3.2.2-1 - New upstream release + Add openslide-write-png + Support for VMU files + New error handling system * Tue Apr 27 2010 Adam Goode - 3.1.1-1 - New upstream release + Don't crash or leak memory on some invalid VMS files + Ignore extra layers in VMS files * Thu Apr 1 2010 Adam Goode - 3.1.0-1 - New upstream release + Support newer Aperio files (compression 33005) + Be more robust in reading raw TIFF tiles + Reject invalid TIFF files earlier + Fix many memory leaks when probing for TIFF files * Tue Mar 2 2010 Adam Goode - 3.0.3-1 - New upstream release + Fix nasty MIRAX seam problem * Wed Feb 17 2010 Adam Goode - 3.0.2-1 - New upstream release + Allow building on RHEL * Thu Feb 4 2010 Adam Goode - 3.0.1-1 - New upstream release + Fix rendering of the edges of TIFF files + Include CHANGELOG.txt * Mon Feb 1 2010 Adam Goode - 3.0.0-1 - New upstream release + License change from GPLv2 to LGPLv2 + Bug fixes + Support more MIRAX files + Improve perforamance of MIRAX + Add some command-line tools + Rework API documentation + Add some new properties + Remove some unimplemented functions from the header file * Mon Dec 21 2009 Adam Goode - 2.3.1-1 - New upstream release + Support for generic tiled TIFF + Bug fixes + Try to be less chatty with TIFF output * Thu Nov 12 2009 Adam Goode - 2.2.1-1 - New upstream release + Fix thread safety problems from 2.2.0 * Tue Sep 22 2009 Adam Goode - 2.2.0-3 - Use xz instead of gz * Mon Sep 21 2009 Adam Goode - 2.2.0-2 - Be more explicit about include directory in files section * Tue Sep 15 2009 Adam Goode - 2.2.0-1 - New upstream release + Thread safety (sometimes lockless) * Thu Sep 10 2009 Adam Goode - 2.1.0-1 - New upstream release + MIRAX support + More Aperio support + Properties and associated images support + Bug fixes * Wed Feb 25 2009 Adam Goode - 1.1.1-1 - New upstream release - No more included OpenJPEG - Much faster rendering and loading * Tue Dec 9 2008 Adam Goode - 1.0.0-1 - First release ## END: Generated by rpmautospec