SHA256
1
0
forked from pool/imgvtopgm
imgvtopgm/imgvtopgm.spec

99 lines
2.8 KiB
RPMSpec

#
# spec file for package imgvtopgm (Version 2.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: imgvtopgm
BuildRequires: libnetpbm-devel
License: GPL v2 or later
Group: Productivity/Graphics/Convertors
Requires: netpbm
AutoReqProv: on
Version: 2.0
Release: 676
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 <mu@trends.net>
%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
* Fri Aug 10 2007 ro@suse.de
- added libnetpbm-devel to buildreq
* 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