SPECS: graphviz-cairo.spec (NEW) - new, not tested

arekm arekm at pld-linux.org
Fri Jul 22 21:11:18 CEST 2005


Author: arekm                        Date: Fri Jul 22 19:11:18 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, not tested

---- Files affected:
SPECS:
   graphviz-cairo.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/graphviz-cairo.spec
diff -u /dev/null SPECS/graphviz-cairo.spec:1.1
--- /dev/null	Fri Jul 22 21:11:18 2005
+++ SPECS/graphviz-cairo.spec	Fri Jul 22 21:11:12 2005
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+# TODO:
+# - linking (duplicate code, somewhere linked dynamically, somewhere statically)
+#
+# Conditional build:
+%bcond_without	dynagraph	# without dynagraph program (they say it requires gcc 3.1)
+#
+Summary:	Cairo renderer plugin for graphviz
+Summary(pl):	Narzędzie do wizualizacji w postaci grafów
+Name:		graphviz-cairo
+Version:	2.4
+Release:	1
+License:	CPL v1.0
+Group:		X11/Applications/Graphics
+Source0:	http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
+# Source0-md5:	62c363e278a2854a50f3ae12ae3655c8
+URL:		http://www.graphviz.org/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
+BuildRequires:	bison
+BuildRequires:	flex
+BuildRequires:	cairo-devel >= 0.5.0
+BUildRequires:	graphviz-devel >= 2.4
+BuildRequires:	gtk+-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A renderer plugin for graphviz that uses cairo and provides output formats
+such as png, x11.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--with-x
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+[ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
+
+%postun
+[ ! -x %{_bindir}/dot ] || %{_bindir}/dot -V > /dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/graphviz/*.so*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/07/22 19:11:12  arekm
+- new, not tested
+
================================================================



More information about the pld-cvs-commit mailing list