|
Packit |
6e6f77 |
%define package @PACKAGE@
|
|
Packit |
6e6f77 |
%define version @VERSION@
|
|
Packit |
6e6f77 |
%define release 1
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
Summary: Utility for extracting and converting Microsoft icon and cursor files
|
|
Packit |
6e6f77 |
Name: %{package}
|
|
Packit |
6e6f77 |
Version: %{version}
|
|
Packit |
6e6f77 |
Release: %{release}
|
|
Packit |
6e6f77 |
License: GPL
|
|
Packit |
6e6f77 |
Group: Amusements/Graphics
|
|
Packit |
6e6f77 |
Source: http://savannah.nongnu.org/download/%{package}/%{package}-%{version}.tar.gz
|
|
Packit |
6e6f77 |
URL: http://www.nongnu.org/%{package}
|
|
Packit |
6e6f77 |
Packager: Oskar Liljeblad <oskar@osk.mine.nu>
|
|
Packit |
6e6f77 |
Vendor: Oskar Liljeblad <oskar@osk.mine.nu>
|
|
Packit |
6e6f77 |
BuildRoot: %{_tmppath}/%{package}-%{version}-%{release}-root
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
%description
|
|
Packit |
6e6f77 |
The icoutils are a set of program for extracting and converting images in
|
|
Packit |
6e6f77 |
Microsoft Windows(R) icon and cursor files. These files usually have the
|
|
Packit |
6e6f77 |
extension .ico or .cur, but they can also be embedded in executables and
|
|
Packit |
6e6f77 |
libraries (.dll-files).
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
The icotool program converts icon and cursor files into a set of PNG
|
|
Packit |
6e6f77 |
images. (Each icon/cursor file may contain multiple images, usually of
|
|
Packit |
6e6f77 |
different sizes and with different number of colors.) Icotool can also
|
|
Packit |
6e6f77 |
create icon/cursor files from PNG images.
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
The wrestool program can extract both icons and cursors from 32-bit ("PE")
|
|
Packit |
6e6f77 |
and 16-bit ("NE") executables and libraries. It writes .ico and .cur files
|
|
Packit |
6e6f77 |
that can be used on Windows(R) operating systems as well. Other types of
|
|
Packit |
6e6f77 |
embedded resourced can be extracted, however only in raw form - icons and
|
|
Packit |
6e6f77 |
cursors require additional conversion before they can be saved as icon and
|
|
Packit |
6e6f77 |
cursor files.
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
The extresso script automates the tasks of extracting and converting icons.
|
|
Packit |
6e6f77 |
This is done with the help of of special resource scripts. The purpose of
|
|
Packit |
6e6f77 |
these scripts are to give names to the icons in the executables and
|
|
Packit |
6e6f77 |
libraries.
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
%prep
|
|
Packit |
6e6f77 |
%setup -q
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
%build
|
|
Packit |
6e6f77 |
./configure --prefix=${_prefix}
|
|
Packit |
6e6f77 |
make
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
%install
|
|
Packit |
6e6f77 |
rm -rf $RPM_BUILD_ROOT
|
|
Packit |
6e6f77 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
Packit |
6e6f77 |
|
|
Packit |
6e6f77 |
%files
|
|
Packit |
6e6f77 |
%defattr(-,root,root)
|
|
Packit |
6e6f77 |
%doc README AUTHORS COPYING NEWS TODO ChangeLog
|
|
Packit |
6e6f77 |
%{_bindir}/*
|
|
Packit |
6e6f77 |
%{_mandir}/*/*
|