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