Update to 1.74.0

This commit is contained in:
Sandro Mani 2016-12-25 19:04:20 +01:00
parent 3d0a9db13a
commit 4083f17944
3 changed files with 36 additions and 21 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/leptonica-1.71.tar.gz
/leptonica-1.72.tar.gz
/leptonica-1.73.tar.gz
/leptonica-1.74.0.tar.gz

View File

@ -1,21 +1,23 @@
Name: leptonica
Version: 1.73
Release: 2%{?dist}
Summary: C library for efficient image processing and image analysis operations
Name: leptonica
Version: 1.74.0
Release: 1%{?dist}
Summary: C library for efficient image processing and image analysis operations
License: Leptonica
URL: http://code.google.com/p/leptonica/
Source0: http://www.leptonica.com/source/%{name}-%{version}.tar.gz
License: Leptonica
URL: https://github.com/danbloomberg/leptonica
Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: libpng-devel
BuildRequires: zlib-devel
BuildRequires: giflib-devel
BuildRequires: libwebp-devel
BuildRequires: gcc
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: giflib-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libwebp-devel
BuildRequires: zlib-devel
%description
The library supports many operations that are useful on
@ -37,28 +39,34 @@ Fundamental image processing and image analysis operations
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains header files for
developing applications that use %{name}.
%package tools
Summary: Leptonica utility tools
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
The %{name}-tools package contains leptonica utility tools.
%prep
%setup -q
%autosetup
%build
autoreconf -ivf
%configure --disable-static --disable-rpath --program-prefix=leptonica-
make %{?_smp_mflags}
autoreconf -ifv
%configure --disable-static --program-prefix=leptonica-
%make_build
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la
rm -rf %{buildroot}%{_bindir}
install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
@ -76,8 +84,14 @@ install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
%{_libdir}/liblept.so
%{_libdir}/pkgconfig/lept.pc
%files tools
%{_bindir}/*
%changelog
* Sun Dec 25 2016 Sandro Mani <manisandro@gmail.com> - 1.74.0-1
- Update to 1.74.0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
092cea2e568cada79fff178820397922 leptonica-1.73.tar.gz
SHA512 (leptonica-1.74.0.tar.gz) = b520822dd9eea25014203e2d8b8712e51503b451300559337dc7924c782c135975b71883c2cee956b546562c3f1325667b56155b47ac9c041029a5994b6a533a