# # spec file for package imgvtopgm (Version 2.0) # # 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: imgvtopgm BuildRequires: netpbm License: GPL Group: Productivity/Graphics/Convertors Requires: netpbm Autoreqprov: on Version: 2.0 Release: 533 Summary: Palm Pilot Image Viewer to PGM Converter Source: http://www.trends.net/~mu/srcs/%{name}-%{version}.tar.bz2 Patch: %{name}-%{version}-warnings-fix.diff URL: http://www.trends.net/~mu/pilot.html BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Tools for converting Pilot Image Viewer pdb files to and from Portable Graymaps and Portable Bitmaps. The tools support grayscale and monochrome images with or without compression and with or without notes. If you are looking for a cool (and free) image viewer for your Pilot, you should look at TinyViewer (http://www.righto.com/pilot/tv.html). Authors: -------- Eric Howe %prep %setup %patch %build CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" \ LIBS="-lm" \ ./configure --mandir=%{_mandir} \ --prefix=%{_prefix} \ --datadir=%{_prefix}/share make LDFLAGS= %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS CREDITS INSTALL NEWS Pilot16 COPYING ChangeLog Pilot README %doc samples/ %{_prefix}/bin/* %{_prefix}/share/man/man1/* %changelog -n imgvtopgm * Wed May 24 2006 - schwab@suse.de - Don't strip binaries. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Aug 02 2005 - ro@suse.de - add -lm to help configure with netpbm * Thu Jun 23 2005 - meissner@suse.de - use RPM_OPT_FLAGS, fixed all implicit warnings. * Mon Apr 26 2004 - postadal@suse.cz - fixed gcc warnings * Sun Jan 11 2004 - adrian@suse.de - add %%defattr * Tue Sep 17 2002 - ro@suse.de - removed bogus self-provides * Tue Nov 13 2001 - tcrhak@suse.cz - removed aclocal, autoconf and automake * Mon Jul 30 2001 - adostal@suse.cz - change gz to bz2 * Tue Feb 13 2001 - pblaha@suse.cz - create this package for view images on Palm