graphviz-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. Name: graphviz
  2. Version: 2.20.3
  3. Release: 2%{?_dist_release}
  4. Group: Applications/Graphics
  5. License: CPL
  6. URL: http://www.graphviz.org/
  7. Summary: Graph Visualization Tools
  8. Source: http://www.graphviz.org/pub/%{name}/ARCHIVE/%{name}-%{version}.tar.gz
  9. Source: http://www.graphviz.org/pub/%{name}/stable/SOURCES/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: freetype2-devel libjpeg-devel libpng-devel zlib-devel
  12. BuildRequires: expat-devel flex bison pkgconfig
  13. BuildRequires: swig ruby-devel
  14. BuildRequires: tcl >= 8.4, tk >= 8.4
  15. BuildRequires: libtool-ltdl-devel >= 2.2.6a
  16. Requires: freetype2 libjpeg libpng zlib libexpat
  17. %description
  18. A collection of tools and tcl packages for the manipulation and layout
  19. of graphs (as in nodes and edges, not as in barcharts).
  20. %package tcl
  21. Group: Applications/Graphics
  22. Summary: Tcl extension tools for version %{version} of %{name}
  23. Requires: tcl >= 8.4, tk >= 8.4
  24. Requires: %{name} = %{version}
  25. Provides: %{name}-tcl = %{version}
  26. %description tcl
  27. The %{name}-tcl package contains the various tcl packages (extensions)
  28. for version %{version} of the %{name} tools.
  29. %package devel
  30. Group: Development/Libraries
  31. Summary: Development tools for version %{version} of %{name}
  32. Requires: %{name} = %{version}
  33. Provides: %{name}-devel = %{version}
  34. %description devel
  35. The %{name}-devel package contains the header files
  36. and man3 pages necessary for developing programs
  37. using version %{version} of the %{name} libraries.
  38. %prep
  39. %setup -q
  40. %build
  41. CFLAGS=${CFLAGS-"$RPM_OPT_FLAGS"}
  42. CXXFLAGS=${CXXFLAGS-"$CFLAGS"}
  43. export CFLAGS CXXFLAGS
  44. ./configure \
  45. --prefix=%{_prefix} \
  46. --bindir=%{_bindir} \
  47. --libdir=%{_libdir} \
  48. --includedir=%{_includedir} \
  49. --datadir=%{_datadir} \
  50. --mandir=%{_mandir} \
  51. --disable-rpath \
  52. --disable-static \
  53. --without-ipsepcola \
  54. --with-mylibgd \
  55. --without-ming \
  56. --disable-sharp \
  57. --disable-guile \
  58. --disable-io \
  59. --disable-java \
  60. --disable-lua \
  61. --disable-ocaml \
  62. --disable-perl \
  63. --disable-php \
  64. --disable-python \
  65. --disable-ruby
  66. make %{?_smp_mflags}
  67. %install
  68. rm -rf $RPM_BUILD_ROOT
  69. make DESTDIR=$RPM_BUILD_ROOT install
  70. find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
  71. chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
  72. cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
  73. rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
  74. # run "dot -c" to generate plugin config in %{_libdir}/%{name}/config
  75. %post
  76. %{_bindir}/dot -c
  77. %post tcl
  78. %{_bindir}/dot -c
  79. %post devel
  80. %{_bindir}/dot -c
  81. %clean
  82. rm -rf $RPM_BUILD_ROOT
  83. %files
  84. %defattr(-,root,root)
  85. %doc README __doc/*
  86. %{_bindir}/*
  87. %dir %{_datadir}/%{name}
  88. %{_datadir}/%{name}/lefty
  89. %{_mandir}/man1/*
  90. %{_mandir}/man7/*
  91. %dir %{_libdir}/%{name}
  92. %{_libdir}/*.so.*
  93. %{_libdir}/%{name}/*.so.*
  94. %exclude %{_libdir}/graphviz/*/*
  95. %files tcl
  96. %defattr(-,root,root)
  97. %doc AUTHORS COPYING ChangeLog README
  98. %{_libdir}/%{name}/tcl/*
  99. %{_libdir}/tcl8.4/graphviz
  100. %{_datadir}/%{name}/demo
  101. %{_mandir}/mann/*
  102. %files devel
  103. %defattr(-,root,root)
  104. %{_includedir}/%{name}
  105. %{_libdir}/*.so
  106. %{_libdir}/%{name}/*.so
  107. %{_libdir}/pkgconfig/*.pc
  108. %{_datadir}/%{name}/graphs
  109. %{_mandir}/man3/*
  110. %changelog
  111. * Thu Apr 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.20.3-3
  112. - rebuild with libtool-2.2.6a
  113. * Sun Nov 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.20.3-1
  114. - new upstream release
  115. * Sun Nov 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.20.2-2
  116. - rebuild with libXaw.so.7 (libXaw-1.0.5)
  117. * Wed Jul 16 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.20.2-1
  118. - new upstream release
  119. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.16.1-0vl1
  120. - new upstream release
  121. - build with expat-2.0.1
  122. - add man7
  123. * Tue Oct 09 2007 Shu KONNO <owa@bg.wakwak.com> 2.12-0vl2
  124. - rebuild with tcl/tk-8.4.16
  125. * Sun May 13 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.12-0vl1
  126. - new upstream release
  127. - add BuildPrereq: swig
  128. - delete BuildPrereq: gd-progs gd-devel
  129. - add --with-mylibgd and --disable-FEATURE to configure option
  130. - update %%files
  131. * Sun Jul 30 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.6-0vl2
  132. - added BuildPrereq: ruby-devel
  133. * Tue Oct 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.6-0vl1
  134. - new upstream release
  135. - add BuildPrereq: libtool-ltdl-devel
  136. - move pkgconfig files to %%{_libdir}/pkgconfig
  137. - add --disable-rpath --disable-static to configure option
  138. - add %%post to every package
  139. * Mon Jan 24 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2-0vl1
  140. - new upstream release
  141. - BuildPrereq: tcl >= 8.4, tk >= 8.4
  142. - add BuildPrereq: gd-progs gd-devel flex bison pkgconfig
  143. - update %%files
  144. - remove lines about Vine2.6
  145. - change License to CPL
  146. * Sun May 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.12-0vl1
  147. - source upgrade
  148. - remove patch0 and commented lines
  149. * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.10-0vl2
  150. - build for VineSeed
  151. * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.10-0vl1
  152. - source upgrade
  153. - change spec to build both VineSeed and Vine2.5/2.6
  154. - add BuildPrereq: expat-devel and Requires: libexpat
  155. - add patch0 to build against freetype2-2.1.7
  156. - stop using autogen.sh script
  157. - add BuildPrereq: tcl >= 8.3 tk >= 8.3 (VineSeed)
  158. - add graphviz-tcl package (VineSeed)
  159. * Thu Aug 7 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 1.9-0vl2
  160. - rebuild for new Vine
  161. * Wed Mar 05 2003 Kunio Murasawa <murasawa@fa2.so-net.ne.jp> 1.9-0vl1
  162. - import from offical site (src.rpm)