87 lines
2.4 KiB
RPMSpec
87 lines
2.4 KiB
RPMSpec
Name: icoutils
|
|
Version: 0.29.1
|
|
Release: 3%{?dist}
|
|
Summary: Utility for extracting and converting Microsoft icon and cursor files
|
|
|
|
Group: Applications/Multimedia
|
|
License: GPLv3+
|
|
URL: http://www.nongnu.org/icoutils/
|
|
Source0: http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
# this patch fixes http://bugzilla.redhat.com/show_bug.cgi?id=701855
|
|
# it has already been applied to the upstream Git repo
|
|
Patch0: %{name}-%{version}-iconsize.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: gettext libpng-devel
|
|
|
|
%description
|
|
The icoutils are a set of programs for extracting and converting images in
|
|
Microsoft Windows icon and cursor files. These files usually have the
|
|
extension .ico or .cur, but they can also be embedded in executables or
|
|
libraries.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
for f in AUTHORS NEWS; do
|
|
iconv -f ISO88592 -t UTF8 < $f > $f.utf8 && \
|
|
touch -r $f $f.utf8 && \
|
|
mv $f.utf8 $f
|
|
done
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
%find_lang %{name}
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%doc README AUTHORS COPYING NEWS TODO ChangeLog
|
|
%{_bindir}/extresso
|
|
%{_bindir}/genresscript
|
|
%{_bindir}/icotool
|
|
%{_bindir}/wrestool
|
|
%{_mandir}/man1/*.1*
|
|
|
|
|
|
%changelog
|
|
* Mon May 16 2011 Martin Gieseking <martin.gieseking@uos.de> - 0.29.1-3
|
|
- fixed http://bugzilla.redhat.com/show_bug.cgi?id=701855
|
|
- minor spec cleanup
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Mar 20 2010 - Martin Gieseking <martin.gieseking@uos.de> - 0.29.1-1
|
|
- new upstream release fixes a segfault occurred in icotool
|
|
- fixed encoding of file AUTHORS
|
|
|
|
* Wed Feb 24 2010 - Martin Gieseking <martin.gieseking@uos.de> - 0.29.0-1
|
|
- updated to latest upstream release
|
|
- added newly available locales to package
|
|
|
|
* Mon Aug 17 2009 - Martin Gieseking <martin.gieseking@uos.de> - 0.28.0-1
|
|
- updated to latest upstream release
|
|
- changed license tag to GPLv3+
|
|
|
|
* Fri Aug 14 2009 - Martin Gieseking <martin.gieseking@uos.de> - 0.27.0-1
|
|
- updated to latest upstream release
|
|
- added missing BuildRequires
|
|
- patched wrestool/Makefile.am to fix ppc build failures
|
|
|
|
* Fri Apr 17 2009 - Eric Moret <eric.moret@gmail.com> - 0.26.0-1
|
|
- Initial spec
|