libchm/libchm.spec

77 lines
1.9 KiB
RPMSpec

Name: libchm
Version: 0.40
Release: 2mamba
Summary: CHMLIB is a library for dealing with Microsoft ITSS/CHM format files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.jedrea.com/chmlib
Source: http://www.jedrea.com/chmlib/chmlib-%{version}.tar.bz2
Patch0: %{name}-0.40-arm-guess.patch
Patch1: libchm-0.40-gcc-10.2.0.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
License: LGPL
%description
CHMLIB is a library for dealing with Microsoft ITSS/CHM format files.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}
%description devel
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n chmlib-%{version}
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch1 -p1
#% patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libchm.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libchm.a
%{_libdir}/libchm.la
%{_libdir}/libchm.so
%doc NEWS README
%changelog
* Tue Mar 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.40-2mamba
- rebuilt with aarch64 build fix, debug package and build requirements
* Fri Jun 05 2009 Automatic Build System <autodist@mambasoft.it> 0.40-1mamba
- automatic update by autodist
* Tue Apr 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.39-1mamba
- update to version 0.39 by autospec
* Wed Feb 15 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.37.4-1qilnx
- package created by autospec