2016-12-25 18:04:20 +00:00
|
|
|
Name: leptonica
|
2020-07-30 13:17:02 +00:00
|
|
|
Version: 1.80.0
|
|
|
|
Release: 1%{?dist}
|
2016-12-25 18:04:20 +00:00
|
|
|
Summary: C library for efficient image processing and image analysis operations
|
2012-09-18 01:06:58 +00:00
|
|
|
|
2016-12-25 18:04:20 +00:00
|
|
|
License: Leptonica
|
|
|
|
URL: https://github.com/danbloomberg/leptonica
|
|
|
|
Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz
|
2012-09-18 01:06:58 +00:00
|
|
|
|
2016-12-25 18:04:20 +00:00
|
|
|
BuildRequires: gcc
|
2013-04-16 01:48:30 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: libtool
|
2016-12-25 18:04:20 +00:00
|
|
|
BuildRequires: giflib-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libwebp-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
2017-05-30 21:56:18 +00:00
|
|
|
# Needed for baseline_reg test
|
|
|
|
BuildRequires: gnuplot
|
2021-01-05 01:21:55 +00:00
|
|
|
BuildRequires: make
|
2017-05-30 21:56:18 +00:00
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The library supports many operations that are useful on
|
|
|
|
* Document images
|
|
|
|
* Natural images
|
|
|
|
|
|
|
|
Fundamental image processing and image analysis operations
|
|
|
|
* Rasterop (aka bitblt)
|
|
|
|
* Affine transforms (scaling, translation, rotation, shear)
|
|
|
|
on images of arbitrary pixel depth
|
|
|
|
* Projective and bi-linear transforms
|
|
|
|
* Binary and gray scale morphology, rank order filters, and
|
|
|
|
convolution
|
|
|
|
* Seed-fill and connected components
|
|
|
|
* Image transformations with changes in pixel depth, both at
|
|
|
|
the same scale and with scale change
|
|
|
|
* Pixelwise masking, blending, enhancement, arithmetic ops,
|
|
|
|
etc.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
2016-12-25 18:04:20 +00:00
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
2018-12-19 16:33:11 +00:00
|
|
|
|
2016-12-25 18:04:20 +00:00
|
|
|
%package tools
|
|
|
|
Summary: Leptonica utility tools
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
The %{name}-tools package contains leptonica utility tools.
|
|
|
|
|
2015-04-27 12:08:23 +00:00
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
%prep
|
2017-06-03 06:31:13 +00:00
|
|
|
%autosetup -p1
|
2012-09-18 01:06:58 +00:00
|
|
|
|
2015-04-27 12:08:23 +00:00
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
%build
|
2016-12-25 18:04:20 +00:00
|
|
|
autoreconf -ifv
|
|
|
|
%configure --disable-static --program-prefix=leptonica-
|
|
|
|
%make_build
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2015-04-27 12:08:23 +00:00
|
|
|
%make_install
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
|
2016-12-25 18:11:53 +00:00
|
|
|
%check
|
2018-02-12 09:32:11 +00:00
|
|
|
make check VERBOSE=1
|
2016-12-25 18:11:53 +00:00
|
|
|
|
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
%files
|
2015-04-27 12:08:23 +00:00
|
|
|
%license leptonica-license.txt
|
|
|
|
%doc README.html version-notes.html
|
2016-01-26 09:52:45 +00:00
|
|
|
%{_libdir}/liblept.so.5*
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{name}
|
2015-04-27 12:08:23 +00:00
|
|
|
%{_libdir}/liblept.so
|
2020-01-03 23:12:43 +00:00
|
|
|
%{_libdir}/libleptonica.so
|
2015-04-27 12:08:23 +00:00
|
|
|
%{_libdir}/pkgconfig/lept.pc
|
2020-01-03 23:12:43 +00:00
|
|
|
%{_libdir}/cmake/LeptonicaConfig-version.cmake
|
|
|
|
%{_libdir}/cmake/LeptonicaConfig.cmake
|
2015-04-27 12:08:23 +00:00
|
|
|
|
2016-12-25 18:04:20 +00:00
|
|
|
%files tools
|
|
|
|
%{_bindir}/*
|
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-07-30 13:17:02 +00:00
|
|
|
* Thu Jul 30 2020 Sandro Mani <manisandro@gmail.com> - 1.80.0-1
|
|
|
|
- Update to 1.80.0
|
|
|
|
|
2020-07-28 04:04:38 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 08:21:57 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.79.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-03 23:12:43 +00:00
|
|
|
* Fri Jan 03 2020 Sandro Mani <manisandro@gmail.com> - 1.79.0-1
|
|
|
|
- Update to 1.79.0
|
|
|
|
|
2019-07-25 12:36:41 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.78.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-27 09:19:15 +00:00
|
|
|
* Wed Mar 27 2019 Sandro Mani <manisandro@gmail.com> - 1.78.0-1
|
|
|
|
- Update to 1.78.0
|
|
|
|
|
2019-02-01 06:29:55 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.77.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-12-19 16:33:11 +00:00
|
|
|
* Wed Dec 19 2018 Sandro Mani <manisandro@gmail.com> - 1.77.0-1
|
|
|
|
- Update to 1.77.0
|
|
|
|
|
2018-07-13 07:41:21 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.76.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-03 07:59:36 +00:00
|
|
|
* Thu May 03 2018 Sandro Mani <manisandro@gmail.com> - 1.76.0-1
|
|
|
|
- Update to 1.76.0
|
|
|
|
|
2018-02-27 13:43:05 +00:00
|
|
|
* Tue Feb 27 2018 Sandro Mani <manisandro@gmail.com> - 1.75.3-2
|
|
|
|
- Make test-failures on big-endian fatal again
|
|
|
|
|
2018-02-22 11:05:55 +00:00
|
|
|
* Thu Feb 22 2018 Sandro Mani <manisandro@gmail.com> - 1.75.3-1
|
|
|
|
- Update to 1.75.3
|
|
|
|
|
2018-02-11 21:01:17 +00:00
|
|
|
* Sun Feb 11 2018 Sandro Mani <manisandro@gmail.com> - 1.75.2-1
|
|
|
|
- Update to 1.75.2
|
|
|
|
|
2018-02-07 21:00:41 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.74.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 01:04:01 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.74.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 18:23:14 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.74.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-11 20:53:04 +00:00
|
|
|
* Sun Jun 11 2017 Sandro Mani <manisandro@gmail.com> - 1.74.4-1
|
|
|
|
- Update to 1.74.4
|
|
|
|
|
2017-06-11 20:18:48 +00:00
|
|
|
* Sun Jun 11 2017 Sandro Mani <manisandro@gmail.com> - 1.74.3-1
|
|
|
|
- Update to 1.74.3
|
|
|
|
|
2017-06-03 06:31:13 +00:00
|
|
|
* Sat Jun 03 2017 Sandro Mani <manisandro@gmail.com> - 1.74.2-2
|
|
|
|
- Backport 069bbc0897e8b939e93db8730b3f10b18e9d0885
|
|
|
|
|
2017-06-02 22:27:56 +00:00
|
|
|
* Sat Jun 03 2017 Sandro Mani <manisandro@gmail.com> - 1.74.2-1
|
2017-05-30 21:56:18 +00:00
|
|
|
- Update to 1.74.2
|
|
|
|
|
2017-02-10 18:14:56 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.74.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-02-01 18:24:46 +00:00
|
|
|
* Wed Feb 01 2017 Sandro Mani <manisandro@gmail.com> - 1.74.1-2
|
|
|
|
- Rebuild (libwebp)
|
|
|
|
|
2017-01-03 11:04:36 +00:00
|
|
|
* Tue Jan 03 2017 Sandro Mani <manisandro@gmail.com> - 1.74.1-1
|
|
|
|
- Update to 1.74.1
|
|
|
|
|
2016-12-25 18:04:20 +00:00
|
|
|
* Sun Dec 25 2016 Sandro Mani <manisandro@gmail.com> - 1.74.0-1
|
|
|
|
- Update to 1.74.0
|
2016-12-25 18:11:53 +00:00
|
|
|
- Add tools subpackage
|
|
|
|
- Enable tests
|
2016-12-25 18:04:20 +00:00
|
|
|
|
2016-02-04 02:45:56 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-26 09:52:45 +00:00
|
|
|
* Tue Jan 26 2016 Sandro Mani <manisandro@gmail.com> - 1.73-1
|
|
|
|
- Update to 1.73
|
|
|
|
|
2015-12-28 14:22:19 +00:00
|
|
|
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.72-3
|
|
|
|
- Rebuilt for libwebp soname bump
|
|
|
|
|
2015-06-17 14:04:12 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.72-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-27 12:08:23 +00:00
|
|
|
* Mon Apr 27 2015 Sandro Mani <manisandro@gmail.com> - 1.72-1
|
|
|
|
- Update to 1.72
|
|
|
|
|
2014-08-17 01:48:55 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.71-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-12 16:42:41 +00:00
|
|
|
* Tue Aug 05 2014 Sandro Mani <manisandro@gmail.com> - 1.71-1
|
|
|
|
- Update to 1.71
|
|
|
|
|
2014-06-07 02:15:22 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.69-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-03 14:10:44 +00:00
|
|
|
* Fri Jan 03 2014 Kalev Lember <kalevlember@gmail.com> - 1.69-11
|
|
|
|
- Rebuilt for libwebp soname bump
|
|
|
|
|
2013-08-03 04:29:35 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.69-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-16 01:48:30 +00:00
|
|
|
* Fri Mar 08 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-9
|
|
|
|
- Fixed Bug 904805 - [PATCH] Provide pkg-config file
|
|
|
|
|
|
|
|
|
2013-03-08 06:25:39 +00:00
|
|
|
* Fri Mar 08 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-8
|
|
|
|
- Rebuild to resolves #914124
|
|
|
|
|
2013-02-14 03:51:13 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.69-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-24 00:18:26 +00:00
|
|
|
* Thu Jan 24 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-6
|
|
|
|
- Rebuild for dependency libwebp-0.2.1-1
|
|
|
|
|
2013-01-18 18:01:57 +00:00
|
|
|
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.69-5
|
|
|
|
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
|
|
2012-12-28 17:33:18 +00:00
|
|
|
* Fri Dec 28 2012 Richard W.M. Jones <rjones@redhat.com> - 1.69-4
|
|
|
|
- Rebuild, see
|
|
|
|
http://lists.fedoraproject.org/pipermail/devel/2012-December/175685.html
|
|
|
|
|
2012-12-21 16:24:16 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.69-3
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-09-18 01:06:58 +00:00
|
|
|
* Thu Aug 02 2012 Ding-Yi Chen <dchen at redhat.com> - 1.69-2
|
|
|
|
- Fixed issues addressed in Review Request comment #8.
|
|
|
|
|
2013-04-16 01:48:30 +00:00
|
|
|
* Wed Jul 25 2012 Ding-Yi Chen <dchen at redhat.com> - 1.69-1
|
2012-09-18 01:06:58 +00:00
|
|
|
- Upstream update to 1.69
|
|
|
|
- Add program-prefix in configure.
|
|
|
|
|
|
|
|
* Wed Jun 20 2012 Ding-Yi Chen <dchen at redhat.com> - 1.68-4
|
|
|
|
- Remove util package and its binary files.
|
|
|
|
|
|
|
|
* Mon Jun 11 2012 Ding-Yi Chen <dchen at redhat.com> - 1.68-3
|
|
|
|
- Split the binary into util package
|
|
|
|
|
|
|
|
* Wed May 09 2012 Ding-Yi Chen <dchen at redhat.com> - 1.68-2
|
|
|
|
- Add zlib.h to fix the koji build
|
|
|
|
|
|
|
|
* Wed May 09 2012 Ding-Yi Chen <dchen at redhat.com> - 1.68-1
|
|
|
|
- Initial import.
|
|
|
|
|