Mass letter "g" update (and some missed before), one or more apply :

- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
This commit is contained in:
Matthias Saou 2005-03-03 21:26:03 +00:00
parent c020f9b5ac
commit 1fe03b7137

View File

@ -1,37 +1,36 @@
# Note: graphviz requires gd with gif support (and other fixes), hence use # Note: graphviz requires gd with gif support (and other fixes), hence use
# internal one for now. # internal one for now.
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Name: graphviz Name: graphviz
Version: 2.2 Version: 2.2
Release: 3 Release: 3
Epoch: 0 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.tar.gz
Source: http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.2.tar.gz BuildRoot: %{_tmppath}/%{name}-root
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: zlib-devel libpng-devel libjpeg-devel XFree86-devel expat-devel BuildRequires: zlib-devel libpng-devel libjpeg-devel XFree86-devel expat-devel
BuildRequires: /bin/ksh bison m4 flex tk tcl >= 0:8.3 BuildRequires: /bin/ksh bison m4 flex tk tcl >= 8.3
BuildRequires: /usr/include/tcl.h /usr/include/tk.h BuildRequires: /usr/include/tcl.h /usr/include/tk.h
%package tcl %package tcl
Group: Applications/Multimedia Group: Applications/Multimedia
Summary: Tcl extension tools for %{name} Summary: Tcl extension tools for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release} tcl >= 0:8.3 tk Requires: %{name} = %{version}-%{release} tcl >= 8.3 tk
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release} pkgconfig Requires: %{name} = %{version}-%{release} pkgconfig
%package doc %package doc
Group: Documentation Summary: PDF and HTML documents for %{name}
Summary: PDF and HTML documents for %{name} Group: Documentation
%package graphs %package graphs
Group: Applications/Multimedia Summary: Demo graphs for %{name}
Summary: Demo graphs for %{name} Group: Applications/Multimedia
%description %description
@ -82,7 +81,7 @@ make \
DESTDIR=$RPM_BUILD_ROOT \ DESTDIR=$RPM_BUILD_ROOT \
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
@ -154,7 +153,7 @@ rm -rf $RPM_BUILD_ROOT
- Fix lefty/* permissions. - Fix lefty/* permissions.
* Sat Jan 22 2005 John Ellson <ellson@research.att.com> - 0:2.2-1 * Sat Jan 22 2005 John Ellson <ellson@research.att.com> - 0:2.2-1
- Updated to 2.2 - Updated to 2.2
- split out: - split out:
graphviz-docs - optional and large graphviz-docs - optional and large
graphviz-graphs - optional demo graphs graphviz-graphs - optional demo graphs