66 lines
1.4 KiB
RPMSpec
66 lines
1.4 KiB
RPMSpec
Name: jbig2dec
|
|
Version: 0.16
|
|
Release: 2
|
|
Summary: a decoder implementation of the JBIG2 image compression format.
|
|
|
|
License: GPLv2
|
|
URL: https://jbig2dec.com/
|
|
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs927/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc libtool
|
|
Provides: %{name}-libs
|
|
Obsoletes: %{name}-libs
|
|
|
|
%description
|
|
jbig2dec is a decoder implementation of the JBIG2 image compression format.
|
|
|
|
%package devel
|
|
Summary: files for jbig2dec development
|
|
Requires: %{name} = %{version}-%{release}
|
|
%description devel
|
|
Files for jbig2dec development.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la_and_a
|
|
%ldconfig_scriptlets
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING LICENSE
|
|
%{_bindir}/jbig2dec
|
|
%{_libdir}/libjbig2dec.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/jbig2.h
|
|
%{_libdir}/libjbig2dec.so
|
|
|
|
%files help
|
|
%doc CHANGES README
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%changelog
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.16-2
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:Change the directory of the license file
|
|
|
|
* Wed Sep 4 2019 openEuler Builteam <buildteam@openeuler.org> - 0.16-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add requires
|
|
|
|
* Mon Aug 19 2019 openEuler Builteam <buildteam@openeuler.org> - 0.14-4
|
|
- Package init
|