Package init
This commit is contained in:
commit
4158e16ce2
BIN
jbig2dec-0.16.tar.gz
Normal file
BIN
jbig2dec-0.16.tar.gz
Normal file
Binary file not shown.
59
jbig2dec.spec
Normal file
59
jbig2dec.spec
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
Name: jbig2dec
|
||||||
|
Version: 0.16
|
||||||
|
Release: 1
|
||||||
|
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)
|
||||||
|
%doc 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
|
||||||
|
* 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
|
||||||
Loading…
x
Reference in New Issue
Block a user