Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
zimg
zimg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File zimg.spec of Package zimg
# # spec file for package zimg # # Copyright (c) 2015 SUSE LINUX 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/ # Name: zimg Version: 5.0.0 Release: 0 Summary: Display 2-D data of arbitrary format License: BSD-3-Clause Group: Productivity/Graphics/Visualization/Graph Url: http://sourceforge.net/projects/zimg/ Source0: http://sourceforge.net/projects/zimg/files/zimg/zimg-%{version}/%{name}-%{version}.tar.gz Source1: %{name}.changes Patch0: %{name}-%{version}.patch Patch1: zimg-automake-1.13.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: freetype2-devel BuildRequires: gd-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: libtool BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel Requires: ImageMagick Requires: gd >= 1.8.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %prep %setup -q %patch0 %patch1 -p1 # Do not include build time modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE1}")" DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" TIME="\"$(date -d "${modified}" "+%%R")\"" find . -name '*.[ch]' |\ xargs sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" %build autoreconf -fi %configure \ --with-gd-includes=%{_includedir}/ \ --with-x-viewer=display \ --with-gd-lib=%{_libdir} \ --with-jpeg-lib=%{_libdir} make xpm_libs="-L/usr/X11R6/%{_lib} -lXpm -lX11" %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} rm -f %{buildroot}%{_includedir}/zimg.h %files %defattr(-,root,root) %doc README ChangeLog AUTHORS COPYING NEWS TODO %{_bindir}/zimg %{_mandir}/man1/zimg* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor