Sisyphus repository
Last update: 18 september 2019 | SRPMs: 17447 | Visits: 15123432
en ru br
ALT Linux repos

Group :: System/Libraries
RPM: libgdchart

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libgdchart
Version: 0.11.5
Release: alt1.1.qa1

Packager: Victor Forsiuk <force at>

Summary: Generate graphs using the GD library
License: BSD
Group: System/Libraries


# Automatically added by buildreq on Thu Jan 28 2010

BuildRequires: libfreetype-devel libgd2-devel libjpeg-devel libpng-devel

A library for generating nice 2d and 3d graphs with the use of GD.

%package devel
Summary: Development tools for programs which will use the %name library
Group: Development/C
Requires: %name = %version-%release

%description devel
The %name-devel package includes the header files necessary for developing
programs which will use the %name library.

%setup -n gdchart%{version}dev

subst 's at /local at  at ' Makefile
subst 's at /usr/lib at %_libdir at ' Makefile
subst 's/^EXTERND//' array_alloc.h  gdchart.h  gdcpie.h gdc.h
%make_build CFLAGS="%optflags -fPIC -fno-stack-protector"

# Author build only static library, but we need shared one.

ld -shared -soname -o price_conv.o gdc.o gdc_pie.o gdchart.o array_alloc.o -lm -lgd
ln -s
ln -s

install -d %buildroot{%_includedir,%_libdir}
install -pm644 gdc.h gdchart.h gdcpie.h %buildroot%_includedir
install -pm644* %buildroot%_libdir


%files devel


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin