diff --git a/.cvsignore b/.cvsignore index e69de29..4f3e1dc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +graphviz-1.10.tar.gz diff --git a/graphviz.spec b/graphviz.spec new file mode 100644 index 0000000..e716cfe --- /dev/null +++ b/graphviz.spec @@ -0,0 +1,114 @@ +Summary: Graph Visualization Tools +Name: graphviz +Version: 1.10 +Release: 0.fdr.2.rh80 +Epoch: 0 +Group: Applications/Multimedia +Copyright: AT&T open source (see COPYING) +URL: http://www.graphviz.org/ +Source: graphviz-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-root +BuildRequires: zlib-devel libpng-devel libjpeg-devel XFree86-devel expat-devel +BuildRequires: bison flex tk +BuildRequires: tcl >= 0:8.3 +BuildRequires: /usr/include/tcl.h /usr/include/tk.h +%package devel +Summary: Development package for %{name} +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +# ----------------------------------------------------------------------------- + +%description +A collection of tools and tcl packages for the manipulation and layout +of graphs (as in nodes and edges, not as in barcharts). + +%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). +This package contains development files for %{name} + +# ----------------------------------------------------------------------------- + +%prep +%setup -q -n %{name}-%{version} + +# ----------------------------------------------------------------------------- + +%build +# XXX ix86 only used to have -ffast-math, let's use everywhere +%{expand: %%define optflags %{optflags} -ffast-math} +%configure --with-x +make docdir=%{_docdir}/%{name} %{?_smp_mflags} + +# ----------------------------------------------------------------------------- + +%install +rm -rf $RPM_BUILD_ROOT +make \ + DESTDIR=$RPM_BUILD_ROOT \ + docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \ + transform='s,x,x,' \ + install + +# ----------------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +# ----------------------------------------------------------------------------- + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING MINTERMS.txt NEWS README +%doc doc/*.html doc/*.pdf doc/*.ref +%{_bindir}/* +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/pkgIndex.tcl +%{_libdir}/%{name}/*.so.* +%{_mandir}/man1/*.1* +%{_mandir}/mann/*.n* +%{_datadir}/%{name} + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name} +# libltdl in use -> need *.la +%{_libdir}/%{name}/*.la +%{_libdir}/%{name}/*.so +%{_mandir}/man3/*.3* + +# ----------------------------------------------------------------------------- + +%changelog +* Sat Aug 23 2003 Dams 0:1.10-0.fdr.2 +- Hopefully fixed BuildRequires + +* Sun Aug 17 2003 Dams 0:1.10-0.fdr.2 +- Added some BuildRequires to satisfy build conditions on severn. + +* Sat Aug 16 2003 Dams 0:1.10-0.fdr.1 +- Added _smp_mflags +- Removed "transform='s,x,x,'" configure arg + +* Tue Jul 29 2003 Ville Skyttä - 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 0:1.9-0.fdr.1 +- Updated to 1.9 +- Split devel package + +* Tue Jul 8 2003 Dams 0:1.7.14-0.fdr.1 +- Applied fedora spec file look&feel + +* Tue Jan 1 2002 Jeff Johnson +- update to 1.7.14. + +* Wed Apr 25 2001 Jeff Johnson +- repackage for powertools. +- simplify spec file. +- add -ffast-math for all arch's, not just ix86. +- remove Requires: webfonts. diff --git a/sources b/sources index e69de29..e843f12 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e1402531abff68d146bf94e72b44dc2a graphviz-1.10.tar.gz