Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
ploticus
ploticus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ploticus.spec of Package ploticus
# # spec file for package ploticus # # Copyright (c) 2013 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/ # Name: ploticus Summary: Ploticus Data Display Engine License: GPL-2.0+ Group: Productivity/Graphics/Visualization/Graph Version: 2.41 Release: 0 %define pkg_version 241 %define ming_version 0.4.4 Url: http://ploticus.sourceforge.net Source: http://prdownloads.sourceforge.net/ploticus/pl%{pkg_version}src.tar.gz Source1: http://prdownloads.sourceforge.net/ming/ming-%{ming_version}.tar.bz2 Patch1: ploticus-makefile.patch Patch2: ploticus-2.41-implicit-fortify-decl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: flex BuildRequires: gcc BuildRequires: make # BuildRequires: freetype2-devel BuildRequires: gd-devel BuildRequires: giflib-devel BuildRequires: glibc-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: zlib-devel %description A free, GPL, non-interactive software package for producing plots, charts, and graphics from data. It was developed in a Unix/C environment and runs on various Unix, Linux, and win32 systems. ploticus is good for automated or just-in-time graph generation, handles date and time data nicely, and has basic statistical capabilities. It allows significant user control over colors, styles, options and details. This package includes SWF support (using a statically built ming %{ming_version}). %prep %setup -q -n "pl%{pkg_version}src" -a 1 %patch1 %patch2 -p1 %build pushd "ming-%{ming_version}" %configure --disable-shared --enable-static %__make %{?jobs:-j%{jobs}} %__make install DESTDIR="$PWD/_LOCAL-%{name}-%{version}" popd #"ming-%{ming_version}" %__make -C src \ %{?jobs:-j%{jobs}} \ LIB="%{_lib}" \ CC="%__cc %{optflags} -w" \ MING="-L$PWD/ming-%{ming_version}/_LOCAL-%{name}-%{version}%{_libdir}/ -lming" \ MINGH="-I$PWD/ming-%{ming_version}/_LOCAL-%{name}-%{version}%{_includedir}/" \ NOSWFFLAG="" \ PREFABS_DIR="%{_libdir}/ploticus" %install %__install -D -m0755 src/pl "%{buildroot}%{_bindir}/ploticus" %__install -d "%{buildroot}%{_libdir}/ploticus" %__rm prefabs/README %__cp prefabs/* "%{buildroot}%{_libdir}/ploticus/" %__install -D -m0644 man/man1/pl.1 "%{buildroot}%{_mandir}/man1/ploticus.1" %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc src/GPL.txt %{_bindir}/ploticus %{_libdir}/ploticus %doc %{_mandir}/man1/ploticus.1* %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