2005-09-28 16:44:17 +00:00
|
|
|
# $Id: graphviz.spec,v 1.18 2005/09/28 16:44:17 oliver Exp $ $Revision: 1.18 $
|
2005-08-29 11:33:04 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
Summary: Graph Visualization Tools
|
|
|
|
Name: graphviz
|
2005-01-23 16:27:43 +00:00
|
|
|
|
2005-08-29 08:13:23 +00:00
|
|
|
Version: 2.6
|
2005-08-22 10:54:20 +00:00
|
|
|
Release: 1
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
Group: Applications/Multimedia
|
|
|
|
License: CPL
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
URL: http://www.graphviz.org/
|
|
|
|
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel freetype-devel >= 2
|
2005-08-29 11:33:04 +00:00
|
|
|
BuildRequires: /bin/ksh bison m4 flex tcl-devel >= 8.3 tk-devel swig
|
|
|
|
BuildRequires: /usr/include/tcl.h /usr/include/tk.h
|
2005-08-22 10:54:20 +00:00
|
|
|
BuildRequires: php-devel guile-devel
|
2005-08-29 11:33:04 +00:00
|
|
|
BuildRequires: fontconfig-devel xorg-x11-devel libtool-ltdl-devel
|
2005-08-22 10:54:20 +00:00
|
|
|
Requires(post): %{_bindir}/dot
|
2005-08-29 08:47:16 +00:00
|
|
|
Requires(postun): %{_bindir}/dot
|
2005-09-28 16:44:17 +00:00
|
|
|
Requires: urw-fonts
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
%package tcl
|
|
|
|
Summary: Tcl extension tools for %{name}
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Requires: %{name} = %{version}-%{release} tcl >= 8.3 tk
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
%package doc
|
|
|
|
Summary: PDF and HTML documents for %{name}
|
|
|
|
Group: Documentation
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
%package graphs
|
|
|
|
Summary: Demo graphs for %{name}
|
|
|
|
Group: Applications/Multimedia
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A collection of tools and tcl packages for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in barcharts).
|
|
|
|
|
2005-01-23 16:27:43 +00:00
|
|
|
%description tcl
|
|
|
|
Various tcl packages (extensions) for the %{name} tools.
|
|
|
|
|
2004-11-08 04:30:25 +00:00
|
|
|
%description devel
|
|
|
|
A collection of tools and tcl packages for the manipulation and layout
|
|
|
|
of graphs (as in nodes and edges, not as in barcharts).
|
2005-01-23 16:27:43 +00:00
|
|
|
This package contains development files for %{name}.
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Provides some additional PDF and HTML documentation for %{name}.
|
|
|
|
|
|
|
|
%description graphs
|
|
|
|
Some demo graphs for %{name}.
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%prep
|
2004-11-08 04:31:13 +00:00
|
|
|
%setup -q
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%build
|
2005-08-11 09:24:26 +00:00
|
|
|
%configure --with-x \
|
|
|
|
--with-mylibgd \
|
2005-08-22 10:54:20 +00:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-static
|
2005-08-11 09:24:26 +00:00
|
|
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%install
|
2005-08-29 11:33:04 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-29 11:33:04 +00:00
|
|
|
%{__make} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
# docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \
|
|
|
|
# pkgconfigdir=%{_libdir}/pkgconfig \
|
|
|
|
# install
|
2005-08-11 09:24:26 +00:00
|
|
|
|
2005-08-29 11:33:04 +00:00
|
|
|
#chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
|
|
|
|
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
|
|
|
|
#rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2005-01-23 16:27:43 +00:00
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2004-11-08 04:30:25 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%{_libdir}/%{name}/*.so.*
|
|
|
|
%{_mandir}/man1/*.1*
|
2005-01-23 16:27:43 +00:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/lefty
|
2005-08-29 11:33:04 +00:00
|
|
|
#%exclude %{_libdir}/%{name}/lib*tcl*.so.*
|
|
|
|
#%exclude %{_libdir}/%{name}/libtk*.so.*
|
|
|
|
#%exclude %{_includedir}/ltdl*
|
|
|
|
#%exclude %{_libdir}/libltdl*
|
2005-01-23 16:27:43 +00:00
|
|
|
|
|
|
|
%files tcl
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/%{name}/lib*tcl*.so.*.*
|
|
|
|
%{_libdir}/%{name}/libtk*.so.*.*
|
|
|
|
%{_libdir}/%{name}/pkgIndex.tcl
|
|
|
|
%{_datadir}/%{name}/demo
|
2004-11-08 04:30:25 +00:00
|
|
|
%{_mandir}/mann/*.n*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/%{name}/*.la
|
|
|
|
%{_libdir}/%{name}/*.so
|
2005-01-23 16:27:43 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2004-11-08 04:30:25 +00:00
|
|
|
%{_mandir}/man3/*.3*
|
2005-08-29 11:33:04 +00:00
|
|
|
#%exclude %{_libdir}/%{name}/lib*tcl*.*
|
|
|
|
#%exclude %{_libdir}/%{name}/libtk*.*
|
2005-01-23 16:27:43 +00:00
|
|
|
|
|
|
|
%files graphs
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/graphs
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc __doc/*
|
2004-11-08 04:30:25 +00:00
|
|
|
|
2005-08-29 12:09:27 +00:00
|
|
|
# run "dot -c" to generate plugin config in %{_libdir}/%{name}/config
|
2005-08-11 09:24:26 +00:00
|
|
|
%post
|
2005-08-29 12:53:11 +00:00
|
|
|
%{_bindir}/dot -c
|
2005-08-11 09:24:26 +00:00
|
|
|
|
|
|
|
%post tcl
|
2005-08-29 12:53:11 +00:00
|
|
|
%{_bindir}/dot -c
|
2005-08-11 09:24:26 +00:00
|
|
|
|
|
|
|
%post devel
|
2005-08-29 12:53:11 +00:00
|
|
|
%{_bindir}/dot -c
|
2004-11-08 04:30:25 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-08-29 08:13:23 +00:00
|
|
|
* Mon Aug 29 2005 Oliver Falk <oliver@linux-kernel.at> - 2.6-1
|
|
|
|
- Update
|
|
|
|
|
2005-08-22 10:54:20 +00:00
|
|
|
* Mon Aug 22 2005 Oliver Falk <oliver@linux-kernel.at> - 2.4-2
|
|
|
|
- Bug #163840
|
|
|
|
|
2005-08-11 09:24:26 +00:00
|
|
|
* Thu Aug 11 2005 Oliver Falk <oliver@linux-kernel.at> - 2.4-1
|
|
|
|
- Update
|
|
|
|
- Took over maintainership
|
|
|
|
- Merge with spec provided within source tarball
|
|
|
|
|
2005-05-22 22:59:38 +00:00
|
|
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.2.1-2
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2005-04-16 19:16:43 +00:00
|
|
|
* Fri Apr 7 2005 John Ellson <ellson@research.att.com> - 2.2.1-1
|
|
|
|
- update to graphviz-2.2.1
|
|
|
|
|
2005-04-06 22:11:39 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-01-23 16:27:43 +00:00
|
|
|
* Sun Jan 23 2005 John Ellson <ellson@research.att.com> - 0:2.2-3
|
|
|
|
- change BuildRequires to /bin/ksh, since ksh doesn't provide a /usr/bin/ksh
|
|
|
|
- change devel exclude to also exclude libtcl*.la
|
|
|
|
|
|
|
|
* Sat Jan 22 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:2.2-2
|
|
|
|
- Move -doc back to %%{__docdir}, remove unused docdir=... from build.
|
|
|
|
- Own %%{_datadir}/%%{name} in -graphs.
|
|
|
|
- Require tcl and tk in -tcl.
|
|
|
|
- Require pkgconfig in -devel, fix *.pc install location.
|
|
|
|
- Build without dependency tracking.
|
|
|
|
- Honor $RPM_OPT_FLAGS again.
|
|
|
|
- Move dotneato-config to -devel.
|
|
|
|
- Fix lefty/* permissions.
|
|
|
|
|
|
|
|
* Sat Jan 22 2005 John Ellson <ellson@research.att.com> - 0:2.2-1
|
2005-03-03 21:26:03 +00:00
|
|
|
- Updated to 2.2
|
2005-01-23 16:27:43 +00:00
|
|
|
- split out:
|
|
|
|
graphviz-docs - optional and large
|
|
|
|
graphviz-graphs - optional demo graphs
|
|
|
|
graphviz-tcl - optional, of interest only to tcl users, requires tcl
|
|
|
|
- avoid use of %%configure which breaks on RH73
|
|
|
|
- add some pkgconfigs - probably in wrong place they're a bit experimental
|
|
|
|
so OK for now
|
|
|
|
- add BuildRequires /usr/bin/ksh (either pdksh or the real one)
|
|
|
|
|
2004-11-08 04:31:13 +00:00
|
|
|
* Thu Jun 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.2
|
|
|
|
- BuildRequire m4 to work around https://bugzilla.redhat.com/108655 on FC1.
|
|
|
|
|
|
|
|
* Tue May 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
|
|
|
|
- Update to 1.12.
|
|
|
|
|
|
|
|
* Tue Nov 11 2003 Dams <anvil[AT]livna.org> 0:1.10-0.fdr.3
|
|
|
|
- Applied patch to fix build on FC1
|
|
|
|
|
2004-11-08 04:30:25 +00:00
|
|
|
* Sat Aug 23 2003 Dams <anvil[AT]livna.org> 0:1.10-0.fdr.2
|
|
|
|
- Hopefully fixed BuildRequires
|
|
|
|
|
|
|
|
* Sun Aug 17 2003 Dams <anvil[AT]livna.org> 0:1.10-0.fdr.2
|
|
|
|
- Added some BuildRequires to satisfy build conditions on severn.
|
|
|
|
|
|
|
|
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:1.10-0.fdr.1
|
|
|
|
- Added _smp_mflags
|
|
|
|
- Removed "transform='s,x,x,'" configure arg
|
|
|
|
|
|
|
|
* Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
|
|
|
|
- Update to 1.10.
|
|
|
|
- BuildRequires expat-devel.
|
|
|
|
- Include *.la (uses ltdl).
|
|
|
|
- %%configure in %%build.
|
|
|
|
|
|
|
|
* Thu Jul 10 2003 Dams <anvil[AT]livna.org> 0:1.9-0.fdr.1
|
|
|
|
- Updated to 1.9
|
|
|
|
- Split devel package
|
|
|
|
|
|
|
|
* Tue Jul 8 2003 Dams <anvil[AT]livna.org> 0:1.7.14-0.fdr.1
|
|
|
|
- Applied fedora spec file look&feel
|
|
|
|
|
|
|
|
* Tue Jan 1 2002 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 1.7.14.
|
|
|
|
|
|
|
|
* Wed Apr 25 2001 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- repackage for powertools.
|
|
|
|
- simplify spec file.
|
|
|
|
- add -ffast-math for all arch's, not just ix86.
|
|
|
|
- remove Requires: webfonts.
|