jbig2dec/jbig2dec.spec

88 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: jbig2dec
Version: 0.20
Release: 1mamba
Summary: A decoder implementation of the JBIG2 image compression format.
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ArtifexSoftware/jbig2dec
Source: https://github.com/ArtifexSoftware/jbig2dec.git/%{version}/jbig2dec-%{version}.tar.bz2
License: Affero GNU Public License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
jbig2dec is a decoder implementation of the JBIG2 image compression format.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/jbig2dec
%{_mandir}/man1/jbig2dec.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libjbig2dec.so.*
%doc COPYING LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/jbig2.h
%{_libdir}/libjbig2dec.a
%{_libdir}/libjbig2dec.so
%{_libdir}/pkgconfig/jbig2dec.pc
%doc CHANGES README
%changelog
* Fri Sep 15 2023 Automatic Build System <autodist@mambasoft.it> 0.20-1mamba
- automatic version update by autodist
* Fri Sep 11 2020 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- automatic version update by autodist
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18-1mamba
- update to 0.18
* Tue Nov 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17-1mamba
- package created using the webbuild interface