- Update
- Took over maintainership - Merge with spec provided within source tarball
This commit is contained in:
parent
fb0a684556
commit
cf619ee421
@ -1 +1 @@
|
|||||||
graphviz-2.2.1.tar.gz
|
graphviz-2.4.tar.gz
|
||||||
|
@ -1,23 +1,27 @@
|
|||||||
# Note: graphviz requires gd with gif support (and other fixes), hence use
|
|
||||||
# internal one for now.
|
|
||||||
|
|
||||||
Summary: Graph Visualization Tools
|
Summary: Graph Visualization Tools
|
||||||
Name: graphviz
|
Name: graphviz
|
||||||
Version: 2.2.1
|
|
||||||
Release: 2
|
Version: 2.4
|
||||||
|
Release: 1
|
||||||
|
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
License: CPL
|
License: CPL
|
||||||
|
|
||||||
URL: http://www.graphviz.org/
|
URL: http://www.graphviz.org/
|
||||||
Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.2.1.tar.gz
|
Source0: http://www.graphviz.org/pub/graphviz/ARCHIVE/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
|
||||||
BuildRequires: zlib-devel libpng-devel libjpeg-devel XFree86-devel expat-devel
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: /bin/ksh bison m4 flex tk tcl >= 8.3
|
|
||||||
BuildRequires: /usr/include/tcl.h /usr/include/tk.h
|
BuildRequires: zlib-devel libpng-devel libjpeg-devel expat-devel freetype-devel >= 2
|
||||||
|
BuildRequires: /bin/ksh bison m4 flex
|
||||||
|
BuildRequires: tcl-devel >= 8.3
|
||||||
|
BuildRequires: tk-devel
|
||||||
|
BuildRequires: fontconfig-devel xorg-x11-devel
|
||||||
|
BuildRequires: php-devel guile-devel
|
||||||
|
|
||||||
%package tcl
|
%package tcl
|
||||||
Group: Applications/Multimedia
|
|
||||||
Summary: Tcl extension tools for %{name}
|
Summary: Tcl extension tools for %{name}
|
||||||
|
Group: Applications/Multimedia
|
||||||
Requires: %{name} = %{version}-%{release} tcl >= 8.3 tk
|
Requires: %{name} = %{version}-%{release} tcl >= 8.3 tk
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -33,7 +37,6 @@ Group: Documentation
|
|||||||
Summary: Demo graphs for %{name}
|
Summary: Demo graphs for %{name}
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A collection of tools and tcl packages for the manipulation and layout
|
A collection of tools and tcl packages for the manipulation and layout
|
||||||
of graphs (as in nodes and edges, not as in barcharts).
|
of graphs (as in nodes and edges, not as in barcharts).
|
||||||
@ -52,46 +55,36 @@ Provides some additional PDF and HTML documentation for %{name}.
|
|||||||
%description graphs
|
%description graphs
|
||||||
Some demo graphs for %{name}.
|
Some demo graphs for %{name}.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# XXX ix86 only used to have -ffast-math, let's use everywhere
|
# XXX ix86 only used to have -ffast-math, let's use everywhere
|
||||||
%{expand: %%define optflags %{optflags} -ffast-math}
|
%{expand: %%define optflags %{optflags} -ffast-math}
|
||||||
# %%configure is broken in RH7.3 rpmbuild
|
|
||||||
# need unreleased changes to gd, so use --with-mylibgd for now.
|
%configure --with-x \
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
|
||||||
./configure \
|
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--bindir=%{_bindir} \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--includedir=%{_includedir} \
|
|
||||||
--datadir=%{_datadir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--with-x \
|
|
||||||
--with-mylibgd \
|
--with-mylibgd \
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT __doc
|
rm -rf $RPM_BUILD_ROOT __doc
|
||||||
make \
|
|
||||||
|
%{__make} \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
|
docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \
|
||||||
pkgconfigdir=%{_libdir}/pkgconfig \
|
pkgconfigdir=%{_libdir}/pkgconfig \
|
||||||
transform='s,x,x,' \
|
transform='s,x,x,' \
|
||||||
install
|
install
|
||||||
|
|
||||||
chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
|
chmod -x $RPM_BUILD_ROOT%{_datadir}/%{name}/lefty/*
|
||||||
cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
|
cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/doc __doc
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
@ -103,8 +96,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/%{name}/lefty
|
%{_datadir}/%{name}/lefty
|
||||||
%exclude %{_libdir}/%{name}/lib*tcl*.so.*
|
%exclude %{_libdir}/%{name}/lib*tcl*.so.*
|
||||||
%exclude %{_libdir}/%{name}/libtk*.so.*
|
%exclude %{_libdir}/%{name}/libtk*.so.*
|
||||||
%exclude %{_bindir}/dotneato-config
|
%exclude %{_includedir}/ltdl*
|
||||||
%exclude %{_mandir}/man1/dotneato-config.1*
|
%exclude %{_libdir}/libltdl*
|
||||||
|
|
||||||
%files tcl
|
%files tcl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -113,17 +106,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/%{name}/pkgIndex.tcl
|
%{_libdir}/%{name}/pkgIndex.tcl
|
||||||
%{_datadir}/%{name}/demo
|
%{_datadir}/%{name}/demo
|
||||||
%{_mandir}/mann/*.n*
|
%{_mandir}/mann/*.n*
|
||||||
%exclude %{_libdir}/%{name}/lib*tcl*.so.?
|
|
||||||
%exclude %{_libdir}/%{name}/libtk*.so.?
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/dotneato-config
|
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
%{_libdir}/%{name}/*.la
|
%{_libdir}/%{name}/*.la
|
||||||
%{_libdir}/%{name}/*.so
|
%{_libdir}/%{name}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_mandir}/man1/dotneato-config.1*
|
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
%exclude %{_libdir}/%{name}/lib*tcl*.*
|
%exclude %{_libdir}/%{name}/lib*tcl*.*
|
||||||
%exclude %{_libdir}/%{name}/libtk*.*
|
%exclude %{_libdir}/%{name}/libtk*.*
|
||||||
@ -137,8 +126,22 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc __doc/*
|
%doc __doc/*
|
||||||
|
|
||||||
|
# run "dot -V" to generate plugin config in %{_libdir}/%{name}/config
|
||||||
|
%post
|
||||||
|
%{_bindir}/dot -V 2>/dev/null
|
||||||
|
|
||||||
|
%post tcl
|
||||||
|
%{_bindir}/dot -V 2>/dev/null
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
%{_bindir}/dot -V 2>/dev/null
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 11 2005 Oliver Falk <oliver@linux-kernel.at> - 2.4-1
|
||||||
|
- Update
|
||||||
|
- Took over maintainership
|
||||||
|
- Merge with spec provided within source tarball
|
||||||
|
|
||||||
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.2.1-2
|
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 2.2.1-2
|
||||||
- rebuild on all arches
|
- rebuild on all arches
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user