File psiconv.spec of Package psiconv
#
# spec file for package psiconv (Version 0.9.8)
#
# 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: psiconv
BuildRequires: ImageMagick-devel bc gcc-c++
Version: 0.9.8
Release: 1
URL: http://www.frodol.dds.nl/psiconv/index.html
Group: Hardware/Psion
License: GPL
Summary: EPOC32 PSION 5(MX) File Format Data Conversion Utilities
Source: %{name}-%{version}.tar.bz2
Autoreqprov: on
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package is meant to make the Psion 5 series of PDAs, as well as
other small computers running EPOC 32, more usable to non-Windows
users.
The package consists of several parts: * Documentation about Psion 5
data formats;
* A library which can be linked against application that have to
read and write Psion 5 files;
* An example command-line program which reads Psion files and writes
more commonly used formats.
Authors:
--------
Frodo Looijaard <frodol@dds.nl>
Andrew Johnson <anj@aps.anl.gov>
James <James000@jps.net>
Jwan-Luc Damnet <jldamnet@antall.com>
Wolfgang Szoecs <wolfi@wolfi.munich.sgi.com>
Kevin Wheatley <hxpro@cinesite.co.uk>
Tamas Decsi <moose@interware.hu>
Keitha Kawabe <keita.kawabe@mpq.mpg.de>
%package devel
Group: Hardware/Psion
Summary: EPOC32 PSION 5(MX) File Format Data Conversion Utilities
Requires: %{name} = %{version}
%description devel
This package is meant to make the Psion 5 series of PDAs, as well as
other small computers running EPOC 32, more usable to non-Windows
users.
The package consists of several parts: * Documentation about Psion 5
data formats;
* A library which can be linked against application that have to
read and write Psion 5 files;
* An example command-line program which reads Psion files and writes
more commonly used formats.
Authors:
--------
Frodo Looijaard <frodol@dds.nl>
Andrew Johnson <anj@aps.anl.gov>
James <James000@jps.net>
Jwan-Luc Damnet <jldamnet@antall.com>
Wolfgang Szoecs <wolfi@wolfi.munich.sgi.com>
Kevin Wheatley <hxpro@cinesite.co.uk>
Tamas Decsi <moose@interware.hu>
Keitha Kawabe <keita.kawabe@mpq.mpg.de>
%prep
%setup
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
./configure\
--prefix=/usr\
--sysconfdir=/etc\
--libdir=/usr/%{_lib}\
--mandir=/usr/share/man\
--enable-html4-docs
make pkgdatadir=%{_docdir}/%{name}/formats
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT pkgdatadir=%{_docdir}/%{name}/formats install
cp AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $RPM_BUILD_ROOT/%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-, root, root)
%doc %dir /usr/share/doc/packages/psiconv
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/ChangeLog
%doc %{_docdir}/%{name}/INSTALL
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README
%doc %{_docdir}/%{name}/TODO
%dir /etc/psiconv
%config /etc/psiconv/psiconv.conf
/etc/psiconv/psiconv.conf.eg
/usr/%{_lib}/*.so.*
/usr/bin/psiconv
%doc /usr/share/man/man?/*.*
%files devel
%doc %defattr (-, root, root)
%doc %{_docdir}/%{name}/formats
/usr/%{_lib}/*.so
/usr/%{_lib}/*.*a
/usr/bin/*-config
/usr/include/*
%changelog -n psiconv
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - nadvornik@suse.cz
- updated to 0.9.8: bugfix release
* Fri Nov 04 2005 - sbrabec@suse.cz
- New SuSE package, version 0.9.7.