2012-03-16 21:46:33 +00:00
|
|
|
%?mingw_package_header
|
2008-12-21 11:16:37 +00:00
|
|
|
|
2012-03-07 15:44:50 +00:00
|
|
|
Name: mingw-bzip2
|
2019-08-13 18:39:51 +00:00
|
|
|
Version: 1.0.8
|
2021-01-26 19:50:10 +00:00
|
|
|
Release: 4%{?dist}
|
2008-12-21 11:16:37 +00:00
|
|
|
Summary: MinGW port of bzip2 file compression utility
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: http://www.bzip.org/
|
|
|
|
Source0: http://www.bzip.org/%{version}/bzip2-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
Patch12: bzip2-1.0.5-autoconfiscated.patch
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
# Export all symbols using the cdecl calling convention instead of
|
|
|
|
# stdcall as it is also done by various other downstream distributors
|
|
|
|
# (like mingw.org and gnuwin32) and it resolves various autoconf and
|
|
|
|
# cmake detection issues (RHBZ #811909, RHBZ #812573)
|
|
|
|
# Patch is taken from the gnuwin32 project
|
|
|
|
Patch13: bzip2-use-cdecl-calling-convention.patch
|
|
|
|
|
2021-01-06 21:46:49 +00:00
|
|
|
BuildRequires: make
|
2012-03-16 21:46:33 +00:00
|
|
|
BuildRequires: mingw32-filesystem >= 95
|
|
|
|
BuildRequires: mingw64-filesystem >= 95
|
2008-12-21 11:16:37 +00:00
|
|
|
BuildRequires: mingw32-gcc
|
2012-03-16 21:46:33 +00:00
|
|
|
BuildRequires: mingw64-gcc
|
2008-12-21 11:16:37 +00:00
|
|
|
BuildRequires: mingw32-binutils
|
2012-03-16 21:46:33 +00:00
|
|
|
BuildRequires: mingw64-binutils
|
|
|
|
BuildRequires: autoconf, automake, libtool
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bzip2 is a freely available, patent-free, high quality data compressor.
|
2012-03-16 21:46:33 +00:00
|
|
|
Bzip2 compresses files to within 10 to 15 percent of the capabilities
|
|
|
|
of the best techniques available. However, bzip2 has the added benefit
|
|
|
|
of being approximately two times faster at compression and six times
|
|
|
|
faster at decompression than those techniques. Bzip2 is not the
|
|
|
|
fastest compression utility, but it does strike a balance between speed
|
2008-12-21 11:16:37 +00:00
|
|
|
and compression capability.
|
|
|
|
|
|
|
|
This package contains development tools and libraries for use when
|
|
|
|
cross-compiling Windows software in Fedora.
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
# Win32
|
2012-03-07 15:44:50 +00:00
|
|
|
%package -n mingw32-bzip2
|
2012-03-16 21:46:33 +00:00
|
|
|
Summary: 32 Bit version of bzip2 for Windows
|
2012-03-07 15:44:50 +00:00
|
|
|
|
|
|
|
%description -n mingw32-bzip2
|
|
|
|
Bzip2 is a freely available, patent-free, high quality data compressor.
|
|
|
|
Bzip2 compresses files to within 10 to 15 percent of the capabilities
|
|
|
|
of the best techniques available. However, bzip2 has the added benefit
|
|
|
|
of being approximately two times faster at compression and six times
|
|
|
|
faster at decompression than those techniques. Bzip2 is not the
|
|
|
|
fastest compression utility, but it does strike a balance between speed
|
|
|
|
and compression capability.
|
|
|
|
|
|
|
|
This package contains development tools and libraries for use when
|
|
|
|
cross-compiling Windows software in Fedora.
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
%package -n mingw32-bzip2-static
|
|
|
|
Summary: Static library for mingw32-bzip2 development
|
|
|
|
Requires: mingw32-bzip2 = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw32-bzip2-static
|
|
|
|
Static library for mingw32-bzip2 development.
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
# Win64
|
|
|
|
%package -n mingw64-bzip2
|
|
|
|
Summary: 64 Bit version of bzip2 for Windows
|
|
|
|
|
|
|
|
%description -n mingw64-bzip2
|
|
|
|
Bzip2 is a freely available, patent-free, high quality data compressor.
|
|
|
|
Bzip2 compresses files to within 10 to 15 percent of the capabilities
|
|
|
|
of the best techniques available. However, bzip2 has the added benefit
|
|
|
|
of being approximately two times faster at compression and six times
|
|
|
|
faster at decompression than those techniques. Bzip2 is not the
|
|
|
|
fastest compression utility, but it does strike a balance between speed
|
|
|
|
and compression capability.
|
|
|
|
|
|
|
|
This package contains development tools and libraries for use when
|
|
|
|
cross-compiling Windows software in Fedora.
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
%package -n mingw64-bzip2-static
|
|
|
|
Summary: Static library for mingw64-bzip2 development
|
|
|
|
Requires: mingw64-bzip2 = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n mingw64-bzip2-static
|
|
|
|
Static library for mingw64-bzip2 development.
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
|
|
|
|
%?mingw_debug_package
|
|
|
|
|
2012-03-07 15:44:50 +00:00
|
|
|
|
2008-12-21 11:16:37 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n bzip2-%{version}
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
%patch12 -p1 -b .autoconfiscated
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
%patch13 -p1 -b .cdecl
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
sh ./autogen.sh
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2012-03-16 21:46:33 +00:00
|
|
|
%mingw_configure
|
|
|
|
%mingw_make %{?_smp_mflags}
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2012-03-16 21:46:33 +00:00
|
|
|
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
# The binaries which are symlinks contain the full buildroot
|
|
|
|
# name in the symlink, so replace those.
|
2012-03-16 21:46:33 +00:00
|
|
|
for dir in $RPM_BUILD_ROOT%{mingw32_bindir} $RPM_BUILD_ROOT%{mingw64_bindir} ; do
|
|
|
|
pushd $dir
|
|
|
|
rm bzcmp.exe bzegrep.exe bzfgrep.exe bzless.exe
|
2008-12-21 11:16:37 +00:00
|
|
|
ln -s bzdiff bzcmp
|
|
|
|
ln -s bzgrep bzegrep
|
|
|
|
ln -s bzgrep bzfgrep
|
|
|
|
ln -s bzmore bzless
|
|
|
|
popd
|
2012-03-16 21:46:33 +00:00
|
|
|
done
|
|
|
|
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
# Remove the manpages, they're duplicates of the native package,
|
|
|
|
# and located in the wrong place anyway.
|
2012-03-16 21:46:33 +00:00
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man1
|
|
|
|
rm -r $RPM_BUILD_ROOT%{mingw64_mandir}/man1
|
2008-12-21 11:16:37 +00:00
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
# Remove libtool .la files.
|
2012-03-16 21:46:33 +00:00
|
|
|
rm $RPM_BUILD_ROOT%{mingw32_libdir}/libbz2.la
|
|
|
|
rm $RPM_BUILD_ROOT%{mingw64_libdir}/libbz2.la
|
2008-12-21 11:16:37 +00:00
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
# Win32
|
2012-03-07 15:44:50 +00:00
|
|
|
%files -n mingw32-bzip2
|
2012-03-16 21:46:33 +00:00
|
|
|
%doc COPYING
|
|
|
|
%{mingw32_bindir}/libbz2-1.dll
|
|
|
|
%{mingw32_bindir}/bunzip2.exe
|
|
|
|
%{mingw32_bindir}/bzcat.exe
|
2012-03-07 15:45:33 +00:00
|
|
|
%{mingw32_bindir}/bzcmp
|
|
|
|
%{mingw32_bindir}/bzdiff
|
|
|
|
%{mingw32_bindir}/bzegrep
|
|
|
|
%{mingw32_bindir}/bzfgrep
|
|
|
|
%{mingw32_bindir}/bzgrep
|
2012-03-16 21:46:33 +00:00
|
|
|
%{mingw32_bindir}/bzip2.exe
|
|
|
|
%{mingw32_bindir}/bzip2recover.exe
|
2012-03-07 15:45:33 +00:00
|
|
|
%{mingw32_bindir}/bzless
|
|
|
|
%{mingw32_bindir}/bzmore
|
|
|
|
%{mingw32_includedir}/bzlib.h
|
2012-03-16 21:46:33 +00:00
|
|
|
%{mingw32_libdir}/libbz2.dll.a
|
|
|
|
%{mingw32_libdir}/pkgconfig/bzip2.pc
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
%files -n mingw32-bzip2-static
|
|
|
|
%{mingw32_libdir}/libbz2.a
|
2012-03-16 21:46:33 +00:00
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
# Win64
|
2012-03-16 21:46:33 +00:00
|
|
|
%files -n mingw64-bzip2
|
|
|
|
%doc COPYING
|
|
|
|
%{mingw64_bindir}/libbz2-1.dll
|
|
|
|
%{mingw64_bindir}/bunzip2.exe
|
|
|
|
%{mingw64_bindir}/bzcat.exe
|
|
|
|
%{mingw64_bindir}/bzcmp
|
|
|
|
%{mingw64_bindir}/bzdiff
|
|
|
|
%{mingw64_bindir}/bzegrep
|
|
|
|
%{mingw64_bindir}/bzfgrep
|
|
|
|
%{mingw64_bindir}/bzgrep
|
|
|
|
%{mingw64_bindir}/bzip2.exe
|
|
|
|
%{mingw64_bindir}/bzip2recover.exe
|
|
|
|
%{mingw64_bindir}/bzless
|
|
|
|
%{mingw64_bindir}/bzmore
|
|
|
|
%{mingw64_includedir}/bzlib.h
|
|
|
|
%{mingw64_libdir}/libbz2.dll.a
|
|
|
|
%{mingw64_libdir}/pkgconfig/bzip2.pc
|
2008-12-21 11:16:37 +00:00
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
%files -n mingw64-bzip2-static
|
|
|
|
%{mingw64_libdir}/libbz2.a
|
|
|
|
|
2008-12-21 11:16:37 +00:00
|
|
|
|
|
|
|
%changelog
|
2021-01-26 19:50:10 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 07:28:00 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-29 12:49:18 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-13 18:39:51 +00:00
|
|
|
* Tue Aug 13 2019 Marc-André Lureau <marcandre.lureau@redhat.com> - 1.0.8-1
|
|
|
|
- New upstream version 1.0.8
|
|
|
|
|
2019-07-25 16:36:35 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 10:23:58 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 10:17:35 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-08 01:57:39 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-26 21:29:13 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 21:00:39 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 08:04:24 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.6-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 20:12:03 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-06-07 09:28:08 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 10:27:10 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 06:57:40 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 01:08:07 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-25 15:26:26 +00:00
|
|
|
* Wed Apr 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.6-1
|
|
|
|
- Update to 1.0.6
|
|
|
|
- Export all symbols using the cdecl calling convention instead of
|
|
|
|
stdcall as it is also done by various other downstream distributors
|
|
|
|
(like mingw.org and gnuwin32) and it resolves various autoconf and
|
|
|
|
cmake detection issues (RHBZ #811909, RHBZ #812573)
|
|
|
|
- Added -static subpackages (RHBZ #665539)
|
|
|
|
|
2012-03-16 21:46:33 +00:00
|
|
|
* Fri Mar 16 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.5-13
|
|
|
|
- Added win64 support (contributed by Jay Higley)
|
|
|
|
- Added the autoconf patch from http://ftp.suse.com/pub/people/sbrabec/bzip2/
|
|
|
|
- Dropped some unneeded patches
|
|
|
|
- Dropped the non-implementated testsuite pieces
|
|
|
|
- Bundle the pkgconfig files
|
|
|
|
|
2012-03-07 15:44:50 +00:00
|
|
|
* Wed Mar 07 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.5-12
|
|
|
|
- Renamed the source package to mingw-bzip2 (RHBZ #800847)
|
2012-03-07 15:45:33 +00:00
|
|
|
- Use mingw macros without leading underscore
|
2012-03-07 15:46:25 +00:00
|
|
|
- Dropped unneeded RPM tags
|
2012-03-07 15:44:50 +00:00
|
|
|
|
2012-02-27 19:34:28 +00:00
|
|
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0.5-11
|
|
|
|
- Rebuild against the mingw-w64 toolchain
|
|
|
|
|
2012-01-13 09:55:51 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 18:20:29 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 12:14:52 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 00:55:56 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-20 22:48:51 +00:00
|
|
|
* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.5-6
|
|
|
|
- Rebuild for mingw32-gcc 4.4
|
|
|
|
|
2008-12-21 11:16:37 +00:00
|
|
|
* Thu Dec 18 2008 Richard Jones <rjones@redhat.com> - 1.0.5-5
|
|
|
|
- Include the LICENSE file in doc section.
|
|
|
|
|
|
|
|
* Sat Nov 22 2008 Richard Jones <rjones@redhat.com> - 1.0.5-4
|
|
|
|
- Rename the implib as libbz2.dll.a so that libtool can find it.
|
|
|
|
|
|
|
|
* Wed Oct 29 2008 Richard Jones <rjones@redhat.com> - 1.0.5-3
|
|
|
|
- Fix mixed spaces/tabs in specfile.
|
|
|
|
|
|
|
|
* Fri Oct 10 2008 Richard Jones <rjones@redhat.com> - 1.0.5-2
|
|
|
|
- Allow the tests to be disabled selectively.
|
|
|
|
|
|
|
|
* Thu Sep 25 2008 Richard Jones <rjones@redhat.com> - 1.0.5-1
|
|
|
|
- Initial RPM release.
|