Blame SPECS/mingw-win-iconv.spec

3db49d
%?mingw_package_header
3db49d
3db49d
Name:          mingw-win-iconv
3db49d
Version:       0.0.6
3db49d
Release:       9%{?dist}
3db49d
Summary:       Iconv implementation using Win32 API
3db49d
3db49d
License:       Public Domain
3db49d
Group:         Development/Libraries
3db49d
URL:           http://code.google.com/p/win-iconv
3db49d
Source0:       http://win-iconv.googlecode.com/files/win-iconv-%{version}.tar.bz2
3db49d
BuildArch:     noarch
36535e
ExclusiveArch: %{ix86} x86_64 %{arm}
3db49d
3db49d
BuildRequires: mingw32-filesystem >= 95
3db49d
BuildRequires: mingw32-gcc
3db49d
BuildRequires: mingw32-gcc-c++
3db49d
BuildRequires: mingw32-binutils
3db49d
3db49d
BuildRequires: mingw64-filesystem >= 95
3db49d
BuildRequires: mingw64-gcc
3db49d
BuildRequires: mingw64-gcc-c++
3db49d
BuildRequires: mingw64-binutils
3db49d
3db49d
BuildRequires: cmake >= 2.8.0
3db49d
BuildRequires: dos2unix
3db49d
3db49d
3db49d
%description
3db49d
MinGW Windows Iconv library
3db49d
3db49d
3db49d
%?mingw_debug_package
3db49d
3db49d
3db49d
# Win32
3db49d
%package -n mingw32-win-iconv
3db49d
Summary:       MinGW Windows Iconv library
3db49d
Obsoletes:     mingw32-iconv < 1.12-14
3db49d
Provides:      mingw32-iconv = 1.12-14
3db49d
3db49d
%description -n mingw32-win-iconv
3db49d
MinGW Windows cross compiled Iconv library.
3db49d
3db49d
%package -n mingw32-win-iconv-static
3db49d
Summary:       Static version of the MinGW Windows Iconv library
3db49d
Requires:      mingw32-win-iconv = %{version}-%{release}
3db49d
Obsoletes:     mingw32-iconv-static < 1.12-14
3db49d
Provides:      mingw32-iconv-static = 1.12-14
3db49d
3db49d
%description -n mingw32-win-iconv-static
3db49d
Static version of the MinGW Windows Iconv library.
3db49d
3db49d
# Win64
3db49d
%package -n mingw64-win-iconv
3db49d
Summary:       MinGW Windows Iconv library
3db49d
Obsoletes:     mingw64-iconv < 1.13.1-2%{?dist}
3db49d
Provides:      mingw64-iconv = 1.13.1-2%{?dist}
3db49d
3db49d
%description -n mingw64-win-iconv
3db49d
MinGW Windows Iconv library
3db49d
3db49d
%package -n mingw64-win-iconv-static
3db49d
Summary:       Static version of the MinGW Windows Iconv library
3db49d
Requires:      mingw64-win-iconv = %{version}-%{release}
3db49d
Obsoletes:     mingw64-iconv-static < 1.13.1-2%{?dist}
3db49d
Provides:      mingw64-iconv-static = 1.13.1-2%{?dist}
3db49d
3db49d
%description -n mingw64-win-iconv-static
3db49d
Static version of the MinGW Windows Iconv library.
3db49d
3db49d
3db49d
%prep
3db49d
%setup -q -n win-iconv-%{version}
3db49d
3db49d
dos2unix readme.txt
3db49d
dos2unix ChangeLog
3db49d
chmod -x readme.txt
3db49d
chmod -x ChangeLog
3db49d
3db49d
3db49d
%build
3db49d
%mingw_cmake -DBUILD_STATIC=1
3db49d
3db49d
3db49d
%install
3db49d
%mingw_make_install DESTDIR=$RPM_BUILD_ROOT
3db49d
3db49d
rm -rf $RPM_BUILD_ROOT%{mingw32_bindir}/*.exe
3db49d
rm -rf $RPM_BUILD_ROOT%{mingw64_bindir}/*.exe
3db49d
3db49d
3db49d
%files -n mingw32-win-iconv
3db49d
%doc ChangeLog readme.txt
3db49d
%{mingw32_bindir}/iconv.dll
3db49d
%{mingw32_includedir}/iconv.h
3db49d
%{mingw32_libdir}/libiconv.dll.a
3db49d
3db49d
%files -n mingw32-win-iconv-static
3db49d
%{mingw32_libdir}/libiconv.a
3db49d
3db49d
%files -n mingw64-win-iconv
3db49d
%doc ChangeLog readme.txt
3db49d
%{mingw64_bindir}/iconv.dll
3db49d
%{mingw64_includedir}/iconv.h
3db49d
%{mingw64_libdir}/libiconv.dll.a
3db49d
3db49d
%files -n mingw64-win-iconv-static
3db49d
%{mingw64_libdir}/libiconv.a
3db49d
3db49d
3db49d
%changelog
3db49d
* Tue Aug 14 2018 Victor Toso <victortoso@redhat.com> - 0.0.6-9
3db49d
- ExclusiveArch: i686, x86_64
3db49d
- Related: rhbz#1615874
3db49d
3db49d
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-8
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3db49d
3db49d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-7
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3db49d
3db49d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-6
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3db49d
3db49d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3db49d
3db49d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-4
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3db49d
3db49d
* Sat Apr 11 2015 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.6-3
3db49d
- Stop using deprecated MinGW packaging macros
3db49d
3db49d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3db49d
3db49d
* Wed May 28 2014 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.6-1
3db49d
- Update to 0.0.6
3db49d
3db49d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-3
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3db49d
3db49d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-2
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3db49d
3db49d
* Fri Sep 21 2012 Kalev Lember <kalevlember@gmail.com> - 0.0.4-1
3db49d
- Update to 0.0.4
3db49d
- Drop upstreamed dllname patch
3db49d
3db49d
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-8
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3db49d
3db49d
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0-3-7
3db49d
- Added win64 support
3db49d
3db49d
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-6
3db49d
- Rebuild against the mingw-w64 toolchain
3db49d
3db49d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
3db49d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3db49d
3db49d
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 0.0.3-4
3db49d
- Rename the shared library to iconv.dll instead of hacking up the
3db49d
  import library
3db49d
3db49d
* Wed Jul  6 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-3
3db49d
- Make sure that the .dll.a import library refers to libiconv.dll
3db49d
  instead of iconv.dll
3db49d
3db49d
* Sun Jul  3 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-2
3db49d
- Add versioned BR for cmake >= 2.8.0
3db49d
3db49d
* Fri Jun  3 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.3-1
3db49d
- Update to 0.0.3
3db49d
3db49d
* Thu Jun  2 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-3
3db49d
- Moved the obsoletes/provides to the proper location
3db49d
- Bumped the requirement for mingw32-filesystem to >= 68 because of RPM 4.9 support
3db49d
- Dropped the %%defattr tags
3db49d
- Dropped the %%{?dist} tag from the obsoletes/provides
3db49d
3db49d
* Thu Jun  2 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-2
3db49d
- Use the name mingw-win-iconv for the srpm to ease the transition to
3db49d
  the mingw-w64 based toolchain
3db49d
- Use the RPM 4.9 dependency generator
3db49d
- Dropped unnecessary tags
3db49d
3db49d
* Thu Feb 17 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.2-1
3db49d
- Update to version 0.0.2
3db49d
- Dropped upstreamed patch
3db49d
- Dropped the win_iconv.exe binary
3db49d
- Bumped the mingw32-iconv obsoletes
3db49d
3db49d
* Thu Sep 30 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.0.1-1
3db49d
- Initial release
3db49d
- Obsoletes/provides mingw32-iconv and mingw32-iconv-static
3db49d