2011-04-14 08:22:42 +00:00
|
|
|
#
|
2011-04-14 08:22:55 +00:00
|
|
|
# spec file for package icoutils
|
2011-04-14 08:22:42 +00:00
|
|
|
#
|
2011-04-14 08:22:55 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-04-14 08:22:42 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-04-14 08:22:55 +00:00
|
|
|
|
|
|
|
|
2011-04-14 08:22:42 +00:00
|
|
|
Name: icoutils
|
|
|
|
Version: 0.29.1
|
2011-06-07 07:30:36 +00:00
|
|
|
Release: 3
|
2011-04-14 08:22:42 +00:00
|
|
|
License: GPLv3+
|
|
|
|
Summary: Extracting and Converting Microsoft Icon and Cursor Files
|
2011-04-14 08:22:55 +00:00
|
|
|
Url: http://www.nongnu.org/icoutils/
|
2011-04-14 08:22:42 +00:00
|
|
|
Group: Productivity/Graphics/Other
|
2011-06-07 07:30:21 +00:00
|
|
|
Source0: http://savannah.nongnu.org/download/icoutils/%{name}-%{version}.tar.bz2
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} >= 1130
|
2011-04-14 08:22:42 +00:00
|
|
|
BuildRequires: libpng12-compat-devel
|
2011-06-07 07:30:21 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: libpng-devel
|
2011-04-14 08:22:42 +00:00
|
|
|
%endif
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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 (.dll-files).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Frank Richter <frank.richter@gmail.com>
|
|
|
|
Oskar Liljeblad <oskar@osk.mine.nu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# Don't compile strange locales en@boldquot and en@quot.
|
|
|
|
# Otherwise, remove '--disable-nls'.
|
|
|
|
%configure --disable-nls
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
%changelog
|