SPECS: graphviz.spec - BR: rpm-pythonprov, php-program instead of ...

charles charles at pld-linux.org
Mon Dec 12 05:38:41 CET 2005


Author: charles                      Date: Mon Dec 12 04:38:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR: rpm-pythonprov, php-program instead of php-cli
- -devel R: gd-devel, libltdl-devel
- added orphaned %{_libdir}/graphviz/config ("dot -c" is not needed in %postun)

---- Files affected:
SPECS:
   graphviz.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/graphviz.spec
diff -u SPECS/graphviz.spec:1.49 SPECS/graphviz.spec:1.50
--- SPECS/graphviz.spec:1.49	Wed Nov 16 18:02:35 2005
+++ SPECS/graphviz.spec	Mon Dec 12 05:38:36 2005
@@ -7,7 +7,7 @@
 Summary(pl):	Narzędzie do wizualizacji w postaci grafów
 Name:		graphviz
 Version:	2.6
-Release:	3
+Release:	4
 License:	CPL v1.0
 Group:		X11/Applications/Graphics
 Source0:	http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
@@ -33,9 +33,10 @@
 BuildRequires:	libtool
 BuildRequires:	perl-devel
 BuildRequires:	php-devel >= 3:5.0.0
-BuildRequires:	php-cli >= 3:5.0.0
+BuildRequires:	php-program >= 3:5.0.0
 BuildRequires:	pkgconfig
 BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
 BuildRequires:	ruby-devel
 BuildRequires:	tcl-devel >= 8.3.0
 BuildRequires:	tk-devel >= 8.3.0
@@ -58,6 +59,8 @@
 Summary(pl):	Pliki nagłówkowe do bibliotek graphviz
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	gd-devel >= 2.0.33-5
+Requires:	libltdl-devel
 
 %description devel
 This package contains the header files for graphviz libraries.
@@ -189,6 +192,9 @@
 echo ".so dot.1" >$RPM_BUILD_ROOT%{_mandir}/man1/neato.1
 echo ".so dot.1" >$RPM_BUILD_ROOT%{_mandir}/man1/twopi.1
 
+# created by %{_bindir}/dot -c
+touch $RPM_BUILD_ROOT%{_libdir}/graphviz/config
+
 rm -f $RPM_BUILD_ROOT%{_libdir}/graphviz/libgv_{java,perl,php,python,ruby,tcl}.la
 
 %clean
@@ -199,16 +205,14 @@
 umask 022
 [ ! -x %{_bindir}/dot ] || %{_bindir}/dot -c > /dev/null 2>&1
 
-%postun
-/sbin/ldconfig
-umask 022
-[ ! -x %{_bindir}/dot ] || %{_bindir}/dot -c > /dev/null 2>&1
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS doc/*.pdf
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/graphviz
+%{_libdir}/graphviz/config
 # linkable libs
 %attr(755,root,root) %{_libdir}/graphviz/libagraph.so.*
 %attr(755,root,root) %{_libdir}/graphviz/libcdt.so.*
@@ -301,6 +305,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2005/12/12 04:38:36  charles
+- BR: rpm-pythonprov, php-program instead of php-cli
+- -devel R: gd-devel, libltdl-devel
+- added orphaned %{_libdir}/graphviz/config ("dot -c" is not needed in %postun)
+
 Revision 1.49  2005/11/16 17:02:35  baggins
 - rel 3
 - R: ghostscript-fonts-std
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/graphviz.spec?r1=1.49&r2=1.50&f=u




More information about the pld-cvs-commit mailing list