Blame SPECS/mingw-win-iconv.spec

734ac7
%{?mingw_package_header}
734ac7
734ac7
%global pkgname win-iconv
734ac7
734ac7
Name:          mingw-%{pkgname}
734ac7
Version:       0.0.8
734ac7
Release:       7%{?dist}
734ac7
Summary:       Iconv implementation using Win32 API
734ac7
734ac7
License:       Public Domain
734ac7
URL:           https://github.com/win-iconv/win-iconv
734ac7
Source0:       https://github.com/win-iconv/win-iconv/archive/v%{version}/%{pkgname}-%{version}.tar.gz
734ac7
BuildArch:     noarch
734ac7
734ac7
BuildRequires: make
734ac7
BuildRequires: mingw32-filesystem >= 95
734ac7
BuildRequires: mingw32-gcc
734ac7
BuildRequires: mingw32-gcc-c++
734ac7
BuildRequires: mingw32-binutils
734ac7
734ac7
BuildRequires: mingw64-filesystem >= 95
734ac7
BuildRequires: mingw64-gcc
734ac7
BuildRequires: mingw64-gcc-c++
734ac7
BuildRequires: mingw64-binutils
734ac7
734ac7
BuildRequires: cmake >= 2.8.0
734ac7
BuildRequires: dos2unix
734ac7
734ac7
734ac7
%description
734ac7
MinGW Windows Iconv library
734ac7
734ac7
734ac7
%{?mingw_debug_package}
734ac7
734ac7
734ac7
# Win32
734ac7
%package -n mingw32-win-iconv
734ac7
Summary:       MinGW Windows Iconv library
734ac7
Obsoletes:     mingw32-iconv < 1.12-14
734ac7
Provides:      mingw32-iconv = 1.12-14
734ac7
734ac7
%description -n mingw32-win-iconv
734ac7
MinGW Windows cross compiled Iconv library.
734ac7
734ac7
%package -n mingw32-win-iconv-static
734ac7
Summary:       Static version of the MinGW Windows Iconv library
734ac7
Requires:      mingw32-win-iconv = %{version}-%{release}
734ac7
Obsoletes:     mingw32-iconv-static < 1.12-14
734ac7
Provides:      mingw32-iconv-static = 1.12-14
734ac7
734ac7
%description -n mingw32-win-iconv-static
734ac7
Static version of the MinGW Windows Iconv library.
734ac7
734ac7
# Win64
734ac7
%package -n mingw64-win-iconv
734ac7
Summary:       MinGW Windows Iconv library
734ac7
Obsoletes:     mingw64-iconv < 1.13.1-2%{?dist}
734ac7
Provides:      mingw64-iconv = 1.13.1-2%{?dist}
734ac7
734ac7
%description -n mingw64-win-iconv
734ac7
MinGW Windows Iconv library
734ac7
734ac7
%package -n mingw64-win-iconv-static
734ac7
Summary:       Static version of the MinGW Windows Iconv library
734ac7
Requires:      mingw64-win-iconv = %{version}-%{release}
734ac7
Obsoletes:     mingw64-iconv-static < 1.13.1-2%{?dist}
734ac7
Provides:      mingw64-iconv-static = 1.13.1-2%{?dist}
734ac7
734ac7
%description -n mingw64-win-iconv-static
734ac7
Static version of the MinGW Windows Iconv library.
734ac7
734ac7
734ac7
%prep
734ac7
%autosetup -n %{pkgname}-%{version}
734ac7
734ac7
dos2unix readme.txt
734ac7
dos2unix ChangeLog
734ac7
chmod -x readme.txt
734ac7
chmod -x ChangeLog
734ac7
734ac7
734ac7
%build
734ac7
%mingw_cmake -DBUILD_STATIC=1
734ac7
734ac7
734ac7
%install
734ac7
%mingw_make_install DESTDIR=%{buildroot}
734ac7
734ac7
rm -rf %{buildroot}%{mingw32_bindir}/*.exe
734ac7
rm -rf %{buildroot}%{mingw64_bindir}/*.exe
734ac7
734ac7
734ac7
734ac7
%files -n mingw32-win-iconv
734ac7
%doc ChangeLog readme.txt
734ac7
%{mingw32_bindir}/iconv.dll
734ac7
%{mingw32_includedir}/iconv.h
734ac7
%{mingw32_libdir}/libiconv.dll.a
734ac7
734ac7
%files -n mingw32-win-iconv-static
734ac7
%{mingw32_libdir}/libiconv.a
734ac7
734ac7
%files -n mingw64-win-iconv
734ac7
%doc ChangeLog readme.txt
734ac7
%{mingw64_bindir}/iconv.dll
734ac7
%{mingw64_includedir}/iconv.h
734ac7
%{mingw64_libdir}/libiconv.dll.a
734ac7
734ac7
%files -n mingw64-win-iconv-static
734ac7
%{mingw64_libdir}/libiconv.a
734ac7
734ac7
734ac7
%changelog
734ac7
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.8-7
734ac7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
734ac7
  Related: rhbz#1991688
734ac7
734ac7
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.8-6
734ac7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
734ac7
734ac7
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-5
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
734ac7
734ac7
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-4
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
734ac7
734ac7
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
734ac7
734ac7
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-2
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
734ac7
734ac7
* Wed Apr 17 2019 Sandro Mani <manisandro@gmail.com> - 0.0.8-1
734ac7
- Update to 0.0.8
734ac7
- Update upstream URLs
734ac7
734ac7
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-10
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
734ac7
734ac7
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-9
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
734ac7
734ac7
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
734ac7
734ac7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
734ac7
734ac7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
734ac7
734ac7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
734ac7
734ac7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-4
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
734ac7
734ac7
* Sat Apr 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.6-3
734ac7
- Stop using deprecated MinGW packaging macros
734ac7
734ac7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
734ac7
734ac7
* Wed May 28 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.6-1
734ac7
- Update to 0.0.6
734ac7
734ac7
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-3
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
734ac7
734ac7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
734ac7
734ac7
* Fri Sep 21 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.4-1
734ac7
- Update to 0.0.4
734ac7
- Drop upstreamed dllname patch
734ac7
734ac7
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-8
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
734ac7
734ac7
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0-3-7
734ac7
- Added win64 support
734ac7
734ac7
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-6
734ac7
- Rebuild against the mingw-w64 toolchain
734ac7
734ac7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
734ac7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
734ac7
734ac7
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 0.0.3-4
734ac7
- Rename the shared library to iconv.dll instead of hacking up the
734ac7
  import library
734ac7
734ac7
* Wed Jul  6 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-3
734ac7
- Make sure that the .dll.a import library refers to libiconv.dll
734ac7
  instead of iconv.dll
734ac7
734ac7
* Sun Jul  3 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-2
734ac7
- Add versioned BR for cmake >= 2.8.0
734ac7
734ac7
* Fri Jun  3 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-1
734ac7
- Update to 0.0.3
734ac7
734ac7
* Thu Jun  2 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-3
734ac7
- Moved the obsoletes/provides to the proper location
734ac7
- Bumped the requirement for mingw32-filesystem to >= 68 because of RPM 4.9 support
734ac7
- Dropped the %%defattr tags
734ac7
- Dropped the %%{?dist} tag from the obsoletes/provides
734ac7
734ac7
* Thu Jun  2 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-2
734ac7
- Use the name mingw-win-iconv for the srpm to ease the transition to
734ac7
  the mingw-w64 based toolchain
734ac7
- Use the RPM 4.9 dependency generator
734ac7
- Dropped unnecessary tags
734ac7
734ac7
* Thu Feb 17 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-1
734ac7
- Update to version 0.0.2
734ac7
- Dropped upstreamed patch
734ac7
- Dropped the win_iconv.exe binary
734ac7
- Bumped the mingw32-iconv obsoletes
734ac7
734ac7
* Thu Sep 30 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.1-1
734ac7
- Initial release
734ac7
- Obsoletes/provides mingw32-iconv and mingw32-iconv-static
734ac7