forked from pool/perl-GraphViz
Accepting request 92441 from devel:languages:perl
- update to 2.08 - Wind back pre-reqs for various modules to match what was shipped with Perl V 5.8.1. Many thanx to Brian Cassidy for the error report: https://rt.cpan.org/Ticket/Display.html?id=72068. - Rewrite Build.PL and Makefile.PL to try loading File::Which rather than assuming it is installed. This avoids the chicken-and-egg problem whereby these 2 programs need File::Which::which to find 'dot'. Many thanx to Richard Clamp for the error report: https://rt.cpan.org/Public/Bug/Display.html?id=71971. - Add File::Which to the pre-reqs in Build.PL and Makefile.PL. - Add 'Deprecated. See GraphViz2' to the docs. - Add Build.PL. - Add ability to set ORIENTATION. Thanx to Christian Lackas for the patch. See RT#71787. - Add Changelog.ini. - Add META.json, MYMETA.json and MYMETA.yml. - Add MANIFEST.SKIP. - Ensure all modules contain a version number. - Update the docs regarding the list of modules shipped in this distro. - Remove examples/remote.pl because GraphViz::Remote is no longer shipped. - Clean up examples/clusters2.pl. - Clean up Makefile.PL. OBS-URL: https://build.opensuse.org/request/show/92441 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-GraphViz?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
b7254dd737
commit
db71da404d
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:80655e20015a775e07d7a25d413a977a643967d3b5c76c7b76cb2b2725f22535
|
|
||||||
size 61147
|
|
3
GraphViz-2.08.tgz
Normal file
3
GraphViz-2.08.tgz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e38ab6c63df018ffe16066dab96d06d3868485594ce3c3afba60ad16131106df
|
||||||
|
size 115835
|
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 11:28:01 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- update to 2.08
|
||||||
|
- Wind back pre-reqs for various modules to match what was shipped with Perl V 5.8.1.
|
||||||
|
Many thanx to Brian Cassidy for the error report: https://rt.cpan.org/Ticket/Display.html?id=72068.
|
||||||
|
|
||||||
|
- Rewrite Build.PL and Makefile.PL to try loading File::Which rather than assuming it is installed.
|
||||||
|
This avoids the chicken-and-egg problem whereby these 2 programs need File::Which::which to find 'dot'.
|
||||||
|
Many thanx to Richard Clamp for the error report: https://rt.cpan.org/Public/Bug/Display.html?id=71971.
|
||||||
|
|
||||||
|
- Add File::Which to the pre-reqs in Build.PL and Makefile.PL.
|
||||||
|
|
||||||
|
- Add 'Deprecated. See GraphViz2' to the docs.
|
||||||
|
- Add Build.PL.
|
||||||
|
- Add ability to set ORIENTATION. Thanx to Christian Lackas for the patch. See RT#71787.
|
||||||
|
- Add Changelog.ini.
|
||||||
|
- Add META.json, MYMETA.json and MYMETA.yml.
|
||||||
|
- Add MANIFEST.SKIP.
|
||||||
|
- Ensure all modules contain a version number.
|
||||||
|
- Update the docs regarding the list of modules shipped in this distro.
|
||||||
|
- Remove examples/remote.pl because GraphViz::Remote is no longer shipped.
|
||||||
|
- Clean up examples/clusters2.pl.
|
||||||
|
- Clean up Makefile.PL.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 13:32:41 UTC 2010 - coolo@novell.com
|
Wed Dec 1 13:32:41 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -15,29 +15,41 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-GraphViz
|
Name: perl-GraphViz
|
||||||
%define cpan_name GraphViz
|
Version: 2.08
|
||||||
Summary: Interface to the GraphViz graphing tool
|
|
||||||
Version: 2.04
|
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
%define cpan_name GraphViz
|
||||||
|
Summary: Interface to AT&T's GraphViz. Deprecated. See GraphViz2
|
||||||
Url: http://search.cpan.org/dist/GraphViz/
|
Url: http://search.cpan.org/dist/GraphViz/
|
||||||
#Source: http://www.cpan.org/modules/by-module/GraphViz/GraphViz-%{version}.tar.gz
|
Group: Development/Libraries/Perl
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{cpan_name}-%{version}.tgz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(File::Which) >= 1.09
|
||||||
BuildRequires: perl(IPC::Run) >= 0.6
|
BuildRequires: perl(IPC::Run) >= 0.6
|
||||||
BuildRequires: graphviz
|
BuildRequires: perl(LWP::Simple) >= 6
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
BuildRequires: perl(Parse::RecDescent) >= 1.965001
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.44
|
||||||
|
BuildRequires: perl(XML::Twig) >= 3.38
|
||||||
|
BuildRequires: perl(XML::XPath) >= 1.13
|
||||||
|
Requires: perl(File::Which) >= 1.09
|
||||||
Requires: perl(IPC::Run) >= 0.6
|
Requires: perl(IPC::Run) >= 0.6
|
||||||
|
Requires: perl(LWP::Simple) >= 6
|
||||||
|
Requires: perl(Parse::RecDescent) >= 1.965001
|
||||||
|
Requires: perl(XML::Twig) >= 3.38
|
||||||
|
Requires: perl(XML::XPath) >= 1.13
|
||||||
|
%{perl_requires}
|
||||||
|
# MANUAL BEGIN
|
||||||
|
BuildRequires: graphviz
|
||||||
# graphviz-gnome is required so that dot -Tpng works.
|
# graphviz-gnome is required so that dot -Tpng works.
|
||||||
Requires: graphviz graphviz-gnome pango cairo
|
Requires: graphviz graphviz-gnome pango cairo
|
||||||
|
# MANUAL END
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module provides an interface to layout and image generation of
|
This module provides an interface to layout and image generation of
|
||||||
@@ -46,35 +58,25 @@ etc.) using the "dot", "neato", "twopi", "circo" and "fdp" programs from
|
|||||||
the GraphViz project (http://www.graphviz.org/ or
|
the GraphViz project (http://www.graphviz.org/ or
|
||||||
http://www.research.att.com/sw/tools/graphviz/).
|
http://www.research.att.com/sw/tools/graphviz/).
|
||||||
|
|
||||||
Author:
|
GraphViz is deprecated in favour of the GraphViz2 manpage.
|
||||||
-------
|
|
||||||
Leon Brocard <acme@astray.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
./Build build flags=%{?_smp_mflags}
|
||||||
%{__make} %{?_smp_mflags}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
# do not perl_process_packlist (noarch)
|
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc CHANGES README
|
%doc Changelog.ini CHANGES examples README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user