|
|
@ -1,15 +1,9 @@
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
|
|
|
|
%bcond_with gnuplot
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_without gnuplot
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: leptonica
|
|
|
|
Name: leptonica
|
|
|
|
Version: 1.80.0
|
|
|
|
Version: 1.76.0
|
|
|
|
Release: 4%{?dist}.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: C library for efficient image processing and image analysis operations
|
|
|
|
Summary: C library for efficient image processing and image analysis operations
|
|
|
|
|
|
|
|
|
|
|
|
License: Leptonica
|
|
|
|
License: BSD and Leptonica
|
|
|
|
URL: https://github.com/danbloomberg/leptonica
|
|
|
|
URL: https://github.com/danbloomberg/leptonica
|
|
|
|
Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
@ -24,11 +18,8 @@ BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
|
|
# Needed for several tests
|
|
|
|
# Needed for baseline_reg test
|
|
|
|
%if %{with gnuplot}
|
|
|
|
|
|
|
|
BuildRequires: gnuplot
|
|
|
|
BuildRequires: gnuplot
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -58,7 +49,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
The %{name}-devel package contains header files for
|
|
|
|
The %{name}-devel package contains header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
%package tools
|
|
|
|
Summary: Leptonica utility tools
|
|
|
|
Summary: Leptonica utility tools
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
@ -87,6 +77,10 @@ install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
|
|
|
|
make check VERBOSE=1
|
|
|
|
make check VERBOSE=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license leptonica-license.txt
|
|
|
|
%license leptonica-license.txt
|
|
|
|
%doc README.html version-notes.html
|
|
|
|
%doc README.html version-notes.html
|
|
|
@ -95,55 +89,16 @@ make check VERBOSE=1
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/liblept.so
|
|
|
|
%{_libdir}/liblept.so
|
|
|
|
%{_libdir}/libleptonica.so
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/lept.pc
|
|
|
|
%{_libdir}/pkgconfig/lept.pc
|
|
|
|
%{_libdir}/cmake/LeptonicaConfig-version.cmake
|
|
|
|
|
|
|
|
%{_libdir}/cmake/LeptonicaConfig.cmake
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%files tools
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.80.0-4.1
|
|
|
|
* Thu Aug 09 2018 Jiri Kucera <jkucera@redhat.com> - 1.76.0-2
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Added BSD license
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: #1614262
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.80.0-3.1
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 9 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.80.0-2.el9.1
|
|
|
|
|
|
|
|
- Make gnuplot build dependency optional, used only by tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.80.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 30 2020 Sandro Mani <manisandro@gmail.com> - 1.80.0-1
|
|
|
|
|
|
|
|
- Update to 1.80.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 03 2020 Sandro Mani <manisandro@gmail.com> - 1.79.0-1
|
|
|
|
|
|
|
|
- Update to 1.79.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 27 2019 Sandro Mani <manisandro@gmail.com> - 1.78.0-1
|
|
|
|
|
|
|
|
- Update to 1.78.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.77.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 19 2018 Sandro Mani <manisandro@gmail.com> - 1.77.0-1
|
|
|
|
|
|
|
|
- Update to 1.77.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.76.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 03 2018 Sandro Mani <manisandro@gmail.com> - 1.76.0-1
|
|
|
|
* Thu May 03 2018 Sandro Mani <manisandro@gmail.com> - 1.76.0-1
|
|
|
|
- Update to 1.76.0
|
|
|
|
- Update to 1.76.0
|
|
|
|