2007-01-15 23:45:54 +00:00
|
|
|
#
|
|
|
|
# spec file for package zimg (Version 5.0.0)
|
|
|
|
#
|
2008-04-11 22:06:25 +00:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:45:54 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
2008-04-11 22:06:25 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:45:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-11 22:06:25 +00:00
|
|
|
|
|
|
|
Name: zimg
|
|
|
|
BuildRequires: freetype2-devel gd-devel libpng-devel libtiff-devel xorg-x11 xorg-x11-devel
|
|
|
|
License: BSD 3-Clause
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Requires: gd >= 1.8.3
|
|
|
|
AutoReqProv: on
|
|
|
|
Version: 5.0.0
|
2008-05-06 22:22:40 +00:00
|
|
|
Release: 166
|
2008-04-11 22:06:25 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Patch: %{name}-%{version}.patch
|
|
|
|
Url: http://sourceforge.net/projects/zimg/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: display 2-D data of arbitrary format
|
|
|
|
Requires: ImageMagick
|
2007-01-15 23:45:54 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
zimg generates png images from arbitrary formatted f(x,y) data. Both
|
|
|
|
plain unformatted ascii and a variety of binary input formats are
|
|
|
|
supported. Output options include variable logarithmic color mapping
|
|
|
|
VLCM and contour graphics and lots of color maps. zimg is a fast
|
|
|
|
converter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Johannes Zellner <johannes@zellner.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
|
|
|
%patch
|
|
|
|
%{suse_update_config}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%define prefix /usr/
|
2008-04-11 22:06:25 +00:00
|
|
|
autoreconf -fi
|
2007-01-15 23:45:54 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
CXXFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
./configure --mandir=%{_mandir} \
|
|
|
|
--prefix=%{prefix} \
|
|
|
|
--with-gd-includes=/usr/include/ \
|
|
|
|
--with-x-viewer=display \
|
|
|
|
--with-gd-lib=%{_libdir} \
|
|
|
|
--with-jpeg-lib=%{_libdir}
|
|
|
|
make xpm_libs="-L/usr/X11R6/%{_lib} -lXpm -lX11"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/include/zimg.h
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README ChangeLog AUTHORS COPYING INSTALL NEWS TODO
|
|
|
|
/usr/bin/zimg
|
|
|
|
/usr/share/man/man1/zimg*
|
|
|
|
|
2008-04-11 22:06:25 +00:00
|
|
|
%changelog
|
2008-05-06 22:22:40 +00:00
|
|
|
* Tue May 06 2008 schwab@suse.de
|
|
|
|
- Don't use libtool before it is created.
|
2008-04-11 22:06:25 +00:00
|
|
|
* Fri Apr 11 2008 schwab@suse.de
|
|
|
|
- Work around broken configure script.
|
|
|
|
- Use autoreconf.
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:45:54 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-11 22:06:25 +00:00
|
|
|
* Mon Nov 14 2005 lmichnovic@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- update to verison 5.0.0
|
|
|
|
- Default graphical output application changed from xv to display (ImageMagick) due to licence of xv.
|
|
|
|
- Added Requires: ImageMagick.
|
2008-04-11 22:06:25 +00:00
|
|
|
* Mon Feb 16 2004 ltinkl@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- update to 4.22.0
|
2008-04-11 22:06:25 +00:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2007-01-15 23:45:54 +00:00
|
|
|
- add %%defattr
|
2008-04-11 22:06:25 +00:00
|
|
|
* Tue May 27 2003 ro@suse.de
|
2007-01-15 23:45:54 +00:00
|
|
|
- remove unpackaged files from buildroot
|
2008-04-11 22:06:25 +00:00
|
|
|
* Mon Feb 17 2003 tcrhak@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- update to version 4.19.1
|
2008-04-11 22:06:25 +00:00
|
|
|
* Fri Apr 26 2002 tcrhak@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- fixed to build with lib64
|
2008-04-11 22:06:25 +00:00
|
|
|
* Fri Feb 01 2002 ro@suse.de
|
2007-01-15 23:45:54 +00:00
|
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
2008-04-11 22:06:25 +00:00
|
|
|
* Wed Mar 21 2001 pblaha@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- fix needfor build for freetype2
|
2008-04-11 22:06:25 +00:00
|
|
|
* Thu Jan 25 2001 pblaha@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- update on lates stable 4.5.0
|
2008-04-11 22:06:25 +00:00
|
|
|
* Mon Dec 18 2000 pblaha@suse.cz
|
2007-01-15 23:45:54 +00:00
|
|
|
- create this package
|