|
|
10111a1 |
Name: perl-Graph-Easy
|
|
|
10111a1 |
Version: 0.70
|
|
|
42e4bb3 |
Release: 2%{?dist}
|
|
|
10111a1 |
Summary: Convert or render graphs as ASCII, HTML, SVG or via Graphviz
|
|
|
10111a1 |
License: GPLv2+ and ASL 1.1
|
|
|
10111a1 |
Group: Development/Libraries
|
|
|
10111a1 |
URL: http://search.cpan.org/dist/Graph-Easy/
|
|
|
10111a1 |
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Graph-Easy-%{version}.tar.gz
|
|
|
10111a1 |
Patch0: graph-easy-undefined-lc.patch
|
|
|
10111a1 |
BuildArch: noarch
|
|
|
10111a1 |
BuildRequires: perl >= 0:5.008002
|
|
|
10111a1 |
BuildRequires: perl(Data::Dumper)
|
|
|
10111a1 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
10111a1 |
BuildRequires: perl(File::Spec)
|
|
|
10111a1 |
BuildRequires: perl(lib)
|
|
|
10111a1 |
BuildRequires: perl(Pod::Coverage)
|
|
|
10111a1 |
BuildRequires: perl(Scalar::Util) >= 1.13
|
|
|
10111a1 |
BuildRequires: perl(strict)
|
|
|
10111a1 |
BuildRequires: perl(Test::Differences)
|
|
|
10111a1 |
BuildRequires: perl(Test::More)
|
|
|
10111a1 |
BuildRequires: perl(Test::Pod)
|
|
|
10111a1 |
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
10111a1 |
BuildRequires: perl(utf8)
|
|
|
10111a1 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
10111a1 |
|
|
|
10111a1 |
# avoid circular dependencies
|
|
|
10111a1 |
%bcond_without bootstrap
|
|
|
10111a1 |
%if %{without bootstrap}
|
|
|
10111a1 |
BuildRequires: perl(Graph::Easy::As_svg) >= 0.23
|
|
|
10111a1 |
Requires: perl(Graph::Easy::As_svg) >= 0.23
|
|
|
10111a1 |
%endif
|
|
|
10111a1 |
|
|
|
10111a1 |
# filter unversioned provides
|
|
|
10111a1 |
%{?perl_default_filter:
|
|
|
10111a1 |
%filter_from_provides /^perl(Graph::Easy\(\|::Edge\|::Edge::Cell\|::Group\|::Node\))\s*$/d
|
|
|
10111a1 |
%perl_default_filter
|
|
|
10111a1 |
}
|
|
|
10111a1 |
|
|
|
10111a1 |
%description
|
|
|
10111a1 |
Graph::Easy lets you generate graphs consisting of various shaped nodes
|
|
|
10111a1 |
connected by edges (with optional labels). It can read and write graphs in a
|
|
|
10111a1 |
variety of formats, as well as render them via its own grid-based layouter.
|
|
|
10111a1 |
Since the layouter works on a grid (manhattan layout), the output is most
|
|
|
10111a1 |
useful for flow charts, network diagrams, or hierarchy trees.
|
|
|
10111a1 |
|
|
|
10111a1 |
%prep
|
|
|
10111a1 |
%setup -q -n Graph-Easy-%{version}
|
|
|
10111a1 |
%patch0 -p 1
|
|
|
10111a1 |
|
|
|
10111a1 |
chmod 0644 examples/*
|
|
|
10111a1 |
|
|
|
10111a1 |
%build
|
|
|
10111a1 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
10111a1 |
make %{?_smp_mflags}
|
|
|
10111a1 |
|
|
|
10111a1 |
%install
|
|
|
10111a1 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
10111a1 |
|
|
|
10111a1 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
10111a1 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
10111a1 |
|
|
|
10111a1 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
10111a1 |
|
|
|
10111a1 |
%check
|
|
|
10111a1 |
make test
|
|
|
10111a1 |
|
|
|
10111a1 |
%files
|
|
|
10111a1 |
%defattr(-,root,root,-)
|
|
|
10111a1 |
%doc CHANGES LICENSE README TODO examples
|
|
|
10111a1 |
%{_bindir}/*
|
|
|
10111a1 |
%{_mandir}/man1/*
|
|
|
10111a1 |
%{perl_vendorlib}/*
|
|
|
10111a1 |
%{_mandir}/man3/*
|
|
|
10111a1 |
|
|
|
10111a1 |
%changelog
|
|
|
42e4bb3 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.70-2
|
|
|
42e4bb3 |
- Perl mass rebuild
|
|
|
42e4bb3 |
|
|
|
10111a1 |
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 0.70-1
|
|
|
10111a1 |
- Specfile autogenerated by cpanspec 1.79.
|