17828c
Name:           libmspack
17828c
Version:        0.10.1
17828c
Release:        0.7.alpha%{?dist}
17828c
Summary:        Library for CAB and related files compression and decompression
17828c
17828c
License:        LGPLv2
17828c
URL:            http://www.cabextract.org.uk/libmspack/
17828c
Source0:        http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz
17828c
#Source0:        https://github.com/kyz/libmspack/archive/v%{version}alpha/%{name}-v%{version}alpha.tar.gz
17828c
17828c
BuildRequires:  doxygen
17828c
BuildRequires:  gcc
17828c
BuildRequires: make
17828c
17828c
# Temporarily while building from github tarball:
17828c
#BuildRequires:  autoconf, automake, libtool
17828c
17828c
17828c
%description
17828c
The purpose of libmspack is to provide both compression and decompression of 
17828c
some loosely related file formats used by Microsoft.
17828c
17828c
%package        devel
17828c
Summary:        Development files for %{name}
17828c
Requires:       %{name}%{?_isa} = %{version}-%{release}
17828c
Obsoletes:      %{name}-doc < 0.2
17828c
17828c
%description    devel
17828c
The %{name}-devel package contains libraries, header files and documentation
17828c
for developing applications that use %{name}.
17828c
17828c
17828c
%prep
17828c
%setup -q -n %{name}-%{version}alpha
17828c
17828c
chmod a-x mspack/mspack.h
17828c
17828c
# Temporarily while building from github tarball:
17828c
#autoreconf -fi
17828c
17828c
17828c
%build
17828c
%configure --disable-static --disable-silent-rules
17828c
17828c
# disable rpath the hard way
17828c
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
17828c
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
17828c
17828c
%make_build
17828c
17828c
17828c
%install
17828c
%make_install
17828c
17828c
rm $RPM_BUILD_ROOT%{_libdir}/libmspack.la
17828c
17828c
iconv -f ISO_8859-1 -t utf8 ChangeLog --output Changelog.utf8
17828c
touch -r ChangeLog Changelog.utf8
17828c
mv Changelog.utf8 ChangeLog
17828c
17828c
pushd doc
17828c
doxygen
17828c
find html -type f | xargs touch -r %{SOURCE0}
17828c
rm -f html/installdox
17828c
popd
17828c
17828c
17828c
%ldconfig_scriptlets
17828c
17828c
%files
17828c
%doc README TODO ChangeLog AUTHORS
17828c
%license COPYING.LIB
17828c
%{_libdir}/%{name}.so.0*
17828c
17828c
%files devel
17828c
%doc doc/html
17828c
%{_includedir}/mspack.h
17828c
%{_libdir}/%{name}.so
17828c
%{_libdir}/pkgconfig/%{name}.pc
17828c
17828c
17828c
%changelog
17828c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.1-0.7.alpha
17828c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
17828c
  Related: rhbz#1991688
17828c
17828c
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.10.1-0.6.alpha
17828c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
17828c
17828c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-0.5.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
17828c
17828c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-0.4.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
17828c
17828c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-0.3.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
17828c
17828c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
17828c
17828c
* Wed Jul 17 2019 Dan Horák <dan[at]danny.cz> - 0.10.1-0.1.alpha
17828c
- updated to 0.10.1alpha (fixes CVE-2019-1010305)
17828c
17828c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
17828c
17828c
* Tue Nov 06 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.9.1-0.1.alpha
17828c
- 0.9.1alpha
17828c
- libmspack-0.8-0.1.alpha corrupts extracted cab files (#1647033)
17828c
- examples no longer installed (by default)
17828c
17828c
* Tue Oct 30 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.8-0.1.alpha
17828c
- 0.8alpha
17828c
- use %%make_build %%make_install %%ldconfig_scriptlets %%license
17828c
- devel: use %%{?_isa} to tighten dep on main pkg
17828c
- drop deprecated Group: tag
17828c
- %%files: tighten to include library soname
17828c
17828c
* Wed Aug 01 2018 Richard W.M. Jones <rjones@redhat.com> - 0.7-0.1.alpha
17828c
- New upstream version 0.7alpha.
17828c
- No tarball was uploaded so temporarily use tarball from github.
17828c
- Fixes CVE-2018-14679 libmspack: off-by-one error in the CHM PMGI/PMGL
17828c
  chunk number validity checks
17828c
17828c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-0.3.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
17828c
17828c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
17828c
17828c
* Tue Sep 19 2017 Dan Horák <dan[at]danny.cz> - 0.6-0.1.alpha
17828c
- updated to 0.6alpha (fixes CVE-2017-6419 and CVE-2017-11423)
17828c
17828c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-0.10.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
17828c
17828c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-0.9.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
17828c
17828c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-0.8.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
17828c
17828c
* Wed Jul 27 2016 Dan Horák <dan[at]danny.cz> - 0.5-0.7.alpha
17828c
- install the actual expand binary
17828c
17828c
* Wed Jul 27 2016 Dan Horák <dan[at]danny.cz> - 0.5-0.6.alpha
17828c
- install the expand tool as msexpand (#1319357)
17828c
17828c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-0.5.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
17828c
17828c
* Thu Jul 30 2015 Richard W.M. Jones <rjones@redhat.com> - 0.5-0.4.alpha
17828c
- Avoid 'test/md5.c:126:3: warning: dereferencing type-punned pointer
17828c
  will break strict-aliasing rules' by adding -fno-strict-aliasing flag.
17828c
17828c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
17828c
17828c
* Tue Mar 03 2015 Dan Horák <dan[at]danny.cz> - 0.5-0.1.alpha
17828c
- updated to 0.5alpha
17828c
17828c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.4.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
17828c
17828c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.3.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
17828c
17828c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
17828c
17828c
* Tue May 28 2013 Dan Horák <dan[at]danny.cz> - 0.4-0.1.alpha
17828c
- updated to 0.4alpha
17828c
17828c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.4.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
17828c
17828c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.3.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
17828c
17828c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-0.2.alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
17828c
17828c
* Mon May 16 2011 Dan Horák <dan[at]danny.cz> - 0.3-0.1.alpha
17828c
- updated to 0.3alpha
17828c
17828c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-0.2.20100723alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
17828c
17828c
* Mon Aug 30 2010 Dan Horák <dan[at]danny.cz> - 0.2-0.1.20100723alpha
17828c
- updated to 0.2alpha released 2010/07/23
17828c
- merged the doc subpackage with devel
17828c
17828c
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.7.20060920alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
17828c
17828c
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0-0.6.20060920alpha
17828c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
17828c
17828c
* Wed Feb 13 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.5-20060920alpha
17828c
- Rebuild for gcc4.3
17828c
17828c
* Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.4.20060920alpha
17828c
- installed documentation into html subdir
17828c
- manually installed doc's for main package
17828c
17828c
* Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.3.20060920alpha
17828c
- Got source using wget -N
17828c
- Removed some doc's
17828c
- Shifted doc line for doc package
17828c
- Added install -p
17828c
17828c
* Sun Jan 20 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 0.0-0.2.20060920alpha
17828c
- Changed install script for doc package
17828c
- Fixed rpmlint issue with debug package
17828c
17828c
* Fri Jan 18 2008 Marc Wiriadisastra <marc@mwiriadi.id.au> - 20060920cvs.a-1
17828c
- Initial release