153 lines
4.5 KiB
RPMSpec
153 lines
4.5 KiB
RPMSpec
Name: leptonica
|
|
Version: 1.73
|
|
Release: 2%{?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
|
|
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: zlib-devel
|
|
BuildRequires: giflib-devel
|
|
BuildRequires: libwebp-devel
|
|
BuildRequires: automake
|
|
BuildRequires: autoconf
|
|
BuildRequires: libtool
|
|
|
|
%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
|
|
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}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
autoreconf -ivf
|
|
%configure --disable-static --disable-rpath --program-prefix=leptonica-
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%make_install
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
rm -rf %{buildroot}%{_bindir}
|
|
install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%license leptonica-license.txt
|
|
%doc README.html version-notes.html
|
|
%{_libdir}/liblept.so.5*
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}
|
|
%{_libdir}/liblept.so
|
|
%{_libdir}/pkgconfig/lept.pc
|
|
|
|
|
|
%changelog
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.73-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Jan 26 2016 Sandro Mani <manisandro@gmail.com> - 1.73-1
|
|
- Update to 1.73
|
|
|
|
* Mon Dec 28 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.72-3
|
|
- Rebuilt for libwebp soname bump
|
|
|
|
* 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
|
|
|
|
* Mon Apr 27 2015 Sandro Mani <manisandro@gmail.com> - 1.72-1
|
|
- Update to 1.72
|
|
|
|
* 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
|
|
|
|
* Tue Aug 05 2014 Sandro Mani <manisandro@gmail.com> - 1.71-1
|
|
- Update to 1.71
|
|
|
|
* 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
|
|
|
|
* Fri Jan 03 2014 Kalev Lember <kalevlember@gmail.com> - 1.69-11
|
|
- Rebuilt for libwebp soname bump
|
|
|
|
* 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
|
|
|
|
* Fri Mar 08 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-9
|
|
- Fixed Bug 904805 - [PATCH] Provide pkg-config file
|
|
|
|
|
|
* Fri Mar 08 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-8
|
|
- Rebuild to resolves #914124
|
|
|
|
* 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
|
|
|
|
* Thu Jan 24 2013 Ding-Yi Chen <dchen at redhat.com> - 1.69-6
|
|
- Rebuild for dependency libwebp-0.2.1-1
|
|
|
|
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.69-5
|
|
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
|
* 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
|
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.69-3
|
|
- rebuild against new libjpeg
|
|
|
|
* Thu Aug 02 2012 Ding-Yi Chen <dchen at redhat.com> - 1.69-2
|
|
- Fixed issues addressed in Review Request comment #8.
|
|
|
|
* Wed Jul 25 2012 Ding-Yi Chen <dchen at redhat.com> - 1.69-1
|
|
- 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.
|
|
|