|
|
38f0ab |
Name: jbigkit
|
|
|
38f0ab |
Version: 2.0
|
|
|
38f0ab |
Release: 8%{?dist}
|
|
|
38f0ab |
Summary: JBIG1 lossless image compression tools
|
|
|
38f0ab |
|
|
|
38f0ab |
Group: Development/Libraries
|
|
|
38f0ab |
License: GPLv2+
|
|
|
38f0ab |
URL: http://www.cl.cam.ac.uk/~mgk25/jbigkit/
|
|
|
38f0ab |
Source0: http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-%{version}.tar.gz
|
|
|
38f0ab |
Patch0: jbigkit-2.0-shlib.patch
|
|
|
38f0ab |
Patch1: jbigkit-2.0-warnings.patch
|
|
|
38f0ab |
|
|
|
38f0ab |
%package libs
|
|
|
38f0ab |
Summary: JBIG1 lossless image compression library
|
|
|
38f0ab |
Group: Development/Libraries
|
|
|
38f0ab |
|
|
|
38f0ab |
%package devel
|
|
|
38f0ab |
Summary: JBIG1 lossless image compression library -- development files
|
|
|
38f0ab |
Group: Development/Libraries
|
|
|
38f0ab |
Requires: jbigkit-libs%{?_isa} = %{version}-%{release}
|
|
|
38f0ab |
|
|
|
38f0ab |
%description libs
|
|
|
38f0ab |
JBIG-KIT provides a portable library of compression and decompression
|
|
|
38f0ab |
functions with a documented interface that you can include very easily
|
|
|
38f0ab |
into your image or document processing software. In addition, JBIG-KIT
|
|
|
38f0ab |
provides ready-to-use compression and decompression programs with a
|
|
|
38f0ab |
simple command line interface (similar to the converters found in netpbm).
|
|
|
38f0ab |
|
|
|
38f0ab |
JBIG-KIT implements the specification:
|
|
|
38f0ab |
ISO/IEC 11544:1993 and ITU-T Recommendation T.82(1993):
|
|
|
38f0ab |
Information technology — Coded representation of picture and audio
|
|
|
38f0ab |
information — Progressive bi-level image compression
|
|
|
38f0ab |
|
|
|
38f0ab |
which is commonly referred to as the “JBIG1 standard”
|
|
|
38f0ab |
|
|
|
38f0ab |
%description devel
|
|
|
38f0ab |
The jbigkit-devel package contains files needed for development using
|
|
|
38f0ab |
the JBIG-KIT image compression library.
|
|
|
38f0ab |
|
|
|
38f0ab |
%description
|
|
|
38f0ab |
The jbigkit package contains tools for converting between PBM and JBIG1
|
|
|
38f0ab |
formats.
|
|
|
38f0ab |
|
|
|
38f0ab |
|
|
|
38f0ab |
%prep
|
|
|
38f0ab |
%setup -q -n jbigkit
|
|
|
38f0ab |
%patch0 -p1 -b .shlib
|
|
|
38f0ab |
%patch1 -p1 -b .warnings
|
|
|
38f0ab |
|
|
|
38f0ab |
%build
|
|
|
38f0ab |
make %{?_smp_mflags} CCFLAGS="$RPM_OPT_FLAGS"
|
|
|
38f0ab |
|
|
|
38f0ab |
%install
|
|
|
38f0ab |
mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
38f0ab |
mkdir -p $RPM_BUILD_ROOT%{_includedir}
|
|
|
38f0ab |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
38f0ab |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
38f0ab |
|
|
|
38f0ab |
install -p -m0755 libjbig/libjbig.so.%{version} $RPM_BUILD_ROOT/%{_libdir}
|
|
|
38f0ab |
install -p -m0755 libjbig/libjbig85.so.%{version} $RPM_BUILD_ROOT/%{_libdir}
|
|
|
38f0ab |
ln -sf libjbig.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig.so
|
|
|
38f0ab |
ln -sf libjbig85.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libjbig85.so
|
|
|
38f0ab |
|
|
|
38f0ab |
install -p -m0644 libjbig/jbig.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
38f0ab |
install -p -m0644 libjbig/jbig85.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
38f0ab |
install -p -m0644 libjbig/jbig_ar.h $RPM_BUILD_ROOT%{_includedir}
|
|
|
38f0ab |
|
|
|
38f0ab |
install -p -m0755 pbmtools/???to??? $RPM_BUILD_ROOT%{_bindir}
|
|
|
38f0ab |
install -p -m0755 pbmtools/???to???85 $RPM_BUILD_ROOT%{_bindir}
|
|
|
38f0ab |
install -p -m0644 pbmtools/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
38f0ab |
|
|
|
38f0ab |
%check
|
|
|
38f0ab |
make test
|
|
|
38f0ab |
|
|
|
38f0ab |
%post libs -p /sbin/ldconfig
|
|
|
38f0ab |
|
|
|
38f0ab |
%postun libs -p /sbin/ldconfig
|
|
|
38f0ab |
|
|
|
38f0ab |
%files
|
|
|
38f0ab |
%{_bindir}/???to*
|
|
|
38f0ab |
%{_mandir}/man1/*
|
|
|
38f0ab |
%doc COPYING
|
|
|
38f0ab |
|
|
|
38f0ab |
%files libs
|
|
|
38f0ab |
%{_libdir}/libjbig*.so.%{version}
|
|
|
38f0ab |
%doc COPYING ANNOUNCE TODO CHANGES
|
|
|
38f0ab |
|
|
|
38f0ab |
%files devel
|
|
|
38f0ab |
%{_libdir}/libjbig*.so
|
|
|
38f0ab |
%{_includedir}/jbig*.h
|
|
|
38f0ab |
|
|
|
38f0ab |
%changelog
|
|
|
38f0ab |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-8
|
|
|
38f0ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
38f0ab |
|
|
|
38f0ab |
* Tue Jul 17 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-7
|
|
|
38f0ab |
- Fix a number of compiler warnings per feedback from Ubuntu security team (#840608)
|
|
|
38f0ab |
|
|
|
38f0ab |
* Mon Apr 16 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-6
|
|
|
38f0ab |
- Don't install up-to-date license file, use the upstream one. (#807760)
|
|
|
38f0ab |
|
|
|
38f0ab |
* Wed Mar 28 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0-5
|
|
|
38f0ab |
- Moving from rpmfusion-free to Fedora because it will be free of known patents
|
|
|
38f0ab |
in all countries from 2012-04-04 onwards
|
|
|
38f0ab |
- Changed license from GPL to GPLv2+ and included up-to-date license file
|
|
|
38f0ab |
|
|
|
38f0ab |
* Wed Feb 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 2.0-4
|
|
|
38f0ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
38f0ab |
|
|
|
38f0ab |
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.0-3
|
|
|
38f0ab |
- rebuild for new F11 features
|
|
|
38f0ab |
|
|
|
38f0ab |
* Fri Sep 05 2008 David Woodhouse <dwmw2@infradead.org> 2.0-2
|
|
|
38f0ab |
- Add missing jbig_ar.h
|
|
|
38f0ab |
|
|
|
38f0ab |
* Wed Sep 03 2008 David Woodhouse <dwmw2@infradead.org> 2.0-1
|
|
|
38f0ab |
- Update to 2.0
|
|
|
38f0ab |
|
|
|
38f0ab |
* Sun Aug 03 2008 Thorsten Leemhuis <fedora@leemhuis.info> - 1.6-3
|
|
|
38f0ab |
- rebuild
|
|
|
38f0ab |
|
|
|
38f0ab |
* Sun Oct 1 2006 David Woodhouse <dwmw2@infradead.org> 1.6-2
|
|
|
38f0ab |
- Review fixes
|
|
|
38f0ab |
|
|
|
38f0ab |
* Tue Sep 12 2006 David Woodhouse <dwmw2@infradead.org> 1.6-1
|
|
|
38f0ab |
- Initial version
|