9932fef
Name:           icoutils
0af5872
Version:        0.32.3
ffece85
Release:        2%{?dist}
9932fef
Summary:        Utility for extracting and converting Microsoft icon and cursor files
9932fef
9932fef
License:        GPLv3+
9932fef
URL:            http://www.nongnu.org/icoutils/
a524023
Source0:        http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
f82d3c0
7975502
# Possible security fix, at minimum it's a DoS.
7975502
# Upstream commit d72956a6de228c91d1fc48fd15448fadea9ab6cf
7975502
Patch1:         0001-wrestool-Fix-get_resource_id_quoted-to-return-heap-a.patch
7975502
6381609
BuildRequires:  autoconf
6381609
BuildRequires:  automake
4757127
BuildRequires:  gcc
2d16409
BuildRequires:  gettext 
2d16409
BuildRequires:  libpng-devel
981bad7
BuildRequires:  perl-generators
f82d3c0
014ec62
Provides:       bundled(gnulib)
9932fef
9932fef
%description
9932fef
The icoutils are a set of programs for extracting and converting images in
9932fef
Microsoft Windows icon and cursor files. These files usually have the
9932fef
extension .ico or .cur, but they can also be embedded in executables or
9932fef
libraries.
9932fef
9932fef
%prep
9932fef
%setup -q
86a1ed3
7975502
%patch1 -p1
7975502
a36df63
autoreconf -i
f82d3c0
2d16409
for f in AUTHORS NEWS; do
2d16409
  iconv -f ISO88592 -t UTF8 < $f > $f.utf8 && \
2d16409
  touch -r $f $f.utf8 && \
2d16409
  mv $f.utf8 $f 
f82d3c0
done
9932fef
9932fef
%build
9932fef
%configure
9932fef
make %{?_smp_mflags}
9932fef
9932fef
9932fef
%install
2d16409
make install DESTDIR=%{buildroot}
a524023
%find_lang %{name}
9932fef
9932fef
a524023
%files -f %{name}.lang
9932fef
%doc README AUTHORS COPYING NEWS TODO ChangeLog
f82d3c0
%{_bindir}/extresso
f82d3c0
%{_bindir}/genresscript
f82d3c0
%{_bindir}/icotool
f82d3c0
%{_bindir}/wrestool
f82d3c0
%{_mandir}/man1/*.1*
9932fef
9932fef
9932fef
%changelog
7975502
* Tue Mar 13 2018 Richard W.M. Jones <rjones@redhat.com> - 0.32.3-2
7975502
- Add upstream post-0.32.3 commit which appears to fix crash/DoS.
7975502
0af5872
* Mon Mar 12 2018 Martin Gieseking <martin.gieseking@uos.de> - 0.32.3-1
0af5872
- Updated to version 0.32.3.
0af5872
- Dropped patch to fix https://savannah.nongnu.org/bugs/?52319 (applied upstream)
0af5872
4757127
* Mon Feb 19 2018 Martin Gieseking <martin.gieseking@uos.de> - 0.32.2-3
4757127
- Added BR: gcc according to new packaging guidelines
4757127
03daede
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.32.2-2
03daede
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
03daede
0150b92
* Wed Nov 01 2017 Martin Gieseking <martin.gieseking@uos.de> - 0.32.2-1
0150b92
- Updated to version 0.32.2.
0150b92
- Added patch to fix https://savannah.nongnu.org/bugs/?52319
0150b92
1659f1c
* Sat Sep 02 2017 Martin Gieseking <martin.gieseking@uos.de> - 0.32.0-1
1659f1c
- Updated to version 0.32.0.
1659f1c
e731b4e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.3-3
e731b4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e731b4e
283dacb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.3-2
283dacb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
283dacb
f943752
* Sun Mar 12 2017 Richard W.M. Jones <rjones@redhat.com> - 0.31.3-1
f943752
- New upstream version 0.31.3.
f943752
- This includes all the previous upstream patches, and reverts the
f943752
  check which broke processing of PE binaries.
f943752
86a1ed3
* Fri Mar 10 2017 Richard W.M. Jones <rjones@redhat.com> - 0.31.2-3
86a1ed3
- Add a series of upstream patches to enable compiler warnings and
86a1ed3
  fix multiple issues.
86a1ed3
- Revert one of the checks which breaks processing of PE binaries.
86a1ed3
- Removed the 'Group' line, not needed with modern Fedora/RPM.
86a1ed3
6b0e1cf
* Tue Mar 07 2017 Martin Gieseking <martin.gieseking@uos.de> - 0.31.2-1
6b0e1cf
- Updated to version 0.31.2.
6b0e1cf
- Fixes RHBZ #1422906, #1422907, and #1422908
6b0e1cf
70b6375
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.1-2
70b6375
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
70b6375
4bb88eb
* Mon Jan 09 2017 Martin Gieseking <martin.gieseking@uos.de> - 0.31.1-1
4bb88eb
- Updated to version 0.31.1.
4bb88eb
- Dropped wrestool patch because it has been applied upstream.
4bb88eb
9c9ed80
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.31.0-9
9c9ed80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9c9ed80
1fddc18
* Tue Sep 08 2015 Martin Gieseking <martin.gieseking@uos.de> 0.31.0-8
1fddc18
- Added patch to prevent wrestool to segfault when reading inconsistent resource data
1fddc18
7021528
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-7
7021528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7021528
5b97860
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-6
5b97860
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5b97860
3227c71
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-5
3227c71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3227c71
a36df63
* Tue Apr 01 2014 Martin Gieseking <martin.gieseking@uos.de> 0.31.0-4
a36df63
- Fixed autoreconf issue (RHBZ #1083081)
a36df63
3eb4a97
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31.0-3
3eb4a97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3eb4a97
37a3fbc
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 0.31.0-2
37a3fbc
- Perl 5.18 rebuild
37a3fbc
5d1b402
* Mon Jun 17 2013 Martin Gieseking <martin.gieseking@uos.de> 0.31.0-1
5d1b402
- Updated to version 0.31.0.
5d1b402
- Dropped patches as they have been applied upstream.
5d1b402
6b88fbd
* Thu May 16 2013 Richard W.M. Jones <rjones@redhat.com> 0.30.0-3
6b88fbd
- Documentation fixes (RHBZ#948882).
6b88fbd
6381609
* Sat Mar 23 2013 Martin Gieseking <martin.gieseking@uos.de> 0.30.0-2
6381609
- Rebuilt with recent autoconf for https://bugzilla.redhat.com/show_bug.cgi?id=925575
6381609
2d16409
* Wed Mar 20 2013 Martin Gieseking <martin.gieseking@uos.de> 0.30.0-1
2d16409
- updated to release 0.30.0
2d16409
- dropped patch as it has been applied upstream
2d16409
- removed old buildroot stuff
2d16409
549101b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-8
549101b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
549101b
948789d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-7
948789d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
948789d
014ec62
* Sat May 19 2012 Martin Gieseking <martin.gieseking@uos.de> 0.29.1-6
014ec62
- added missing Provides: bundled(gnulib): https://bugzilla.redhat.com/show_bug.cgi?id=821764
014ec62
64016dc
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-5
64016dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
64016dc
4762b42
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.29.1-4
4762b42
- Rebuild for new libpng
4762b42
f82d3c0
* Mon May 16 2011 Martin Gieseking <martin.gieseking@uos.de> - 0.29.1-3
f82d3c0
- fixed http://bugzilla.redhat.com/show_bug.cgi?id=701855
f82d3c0
- minor spec cleanup
f82d3c0
6a3730b
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-2
6a3730b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6a3730b
ea5c39a
* Sat Mar 20 2010 - Martin Gieseking <martin.gieseking@uos.de> - 0.29.1-1
ea5c39a
- new upstream release fixes a segfault occurred in icotool
ea5c39a
- fixed encoding of file AUTHORS
ea5c39a
a524023
* Wed Feb 24 2010 - Martin Gieseking <martin.gieseking@uos.de> - 0.29.0-1
a524023
- updated to latest upstream release
a524023
- added newly available locales to package
a524023
9932fef
* Mon Aug 17 2009 - Martin Gieseking <martin.gieseking@uos.de> - 0.28.0-1
9932fef
- updated to latest upstream release
9932fef
- changed license tag to GPLv3+
9932fef
9932fef
* Fri Aug 14 2009 - Martin Gieseking <martin.gieseking@uos.de> - 0.27.0-1
9932fef
- updated to latest upstream release
9932fef
- added missing BuildRequires
9932fef
- patched wrestool/Makefile.am to fix ppc build failures
9932fef
9932fef
* Fri Apr 17 2009 - Eric Moret <eric.moret@gmail.com> - 0.26.0-1
9932fef
- Initial spec