File pngtoico.spec of Package pngtoico
#
# spec file for package pngtoico (Version 1.0.1)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pngtoico
BuildRequires: libpng-devel
License: GPL
Group: Productivity/Graphics/Convertors
Autoreqprov: on
Version: 1.0.1
Release: 1
Summary: Utility to convert PNG images to Microsoft ICO format
URL: http://www.kernel.org/pub/software/graphics/pngtoico/
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
pngtoico is a small utility to convert a set of PNG images to Microsoft
ICO format. Supports transparency.
Authors:
--------
H. Peter Anvin <hpa@zytor.com>
%prep
%setup -q
%patch0
%{?suse_update_config:%{suse_update_config -f}}
%build
make CFLAGS="$RPM_OPT_FLAGS"
%install
make "INSTALLROOT=$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man1/pngtoico.1.gz
/usr/bin/pngtoico
%changelog -n pngtoico
* Fri Feb 24 2006 - lmichnovic@suse.cz
- update to version 1.0.1
Update fixes only legal issue [#152758]
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Nov 02 2005 - dmueller@suse.de
- don't build as root
* Thu Jun 16 2005 - meissner@suse.de
- use RPM_OPT_FLAGS correctly.
* Mon Jan 13 2003 - ro@suse.de
- also add -lm
* Thu Jul 04 2002 - ro@suse.de
- add -lz for libpng
* Wed Apr 17 2002 - prehak@suse.cz
- first version of this packge (version 1.0)