epel9
Jitka Plesnikova 10 years ago
parent f18509cce1
commit 1154739392

1
.gitignore vendored

@ -1 +1,2 @@
/GraphViz-2.14.tgz /GraphViz-2.14.tgz
/GraphViz-2.16.tgz

@ -1,6 +1,6 @@
Name: perl-GraphViz Name: perl-GraphViz
Version: 2.14 Version: 2.16
Release: 6%{?dist} Release: 1%{?dist}
Summary: Interface to the GraphViz graphing tool Summary: Interface to the GraphViz graphing tool
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -8,34 +8,33 @@ URL: http://search.cpan.org/dist/GraphViz/
Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/GraphViz-%{version}.tgz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(lib) BuildRequires: graphviz-devel
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(Carp) >= 1.01 BuildRequires: perl(Carp) >= 1.01
BuildRequires: perl(Config) BuildRequires: perl(Config)
BuildRequires: perl(File::Which)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Which) >= 1.09
BuildRequires: perl(Getopt::Long) >= 2.34 BuildRequires: perl(Getopt::Long) >= 2.34
BuildRequires: perl(IO::Dir) >= 1.04 BuildRequires: perl(IO::Dir) >= 1.04
BuildRequires: perl(IO::File) >= 1.1 BuildRequires: perl(IO::File) >= 1.1
BuildRequires: perl(IPC::Run) >= 0.6 BuildRequires: perl(IPC::Run) >= 0.6
BuildRequires: perl(File::Which) >= 1.09 BuildRequires: perl(lib)
BuildRequires: perl(LWP::Simple) >= 6 BuildRequires: perl(LWP::Simple) >= 6
BuildRequires: perl(Parse::RecDescent) >= 1.965001 BuildRequires: perl(Parse::RecDescent) >= 1.965001
BuildRequires: perl(XML::Twig) >= 3.38
BuildRequires: perl(XML::XPath) >= 1.13
BuildRequires: perl(Pod::Usage) >= 1.16 BuildRequires: perl(Pod::Usage) >= 1.16
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes) >= 1.51 BuildRequires: perl(Time::HiRes) >= 1.51
BuildRequires: perl(vars)
BuildRequires: graphviz-devel BuildRequires: perl(warnings)
BuildRequires: perl(XML::Twig) >= 3.38
BuildRequires: perl(XML::XPath) >= 1.13
# optional test # optional test
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod) >= 1.45
# not autodetected # not autodetected
Requires: graphviz Requires: graphviz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter} %{?perl_default_filter}
@ -54,26 +53,27 @@ find lib t -type f -exec chmod -c -x {} \;
sed -i -e 's|#!.*perl|#!/usr/bin/perl|' examples/primes_aux.pl examples/clusters2.pl sed -i -e 's|#!.*perl|#!/usr/bin/perl|' examples/primes_aux.pl examples/clusters2.pl
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install PERL_INSTALL_ROOT=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%files %files
%doc CHANGES README examples/ %doc Changes README examples/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Wed Nov 12 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.16-1
- 2.16 bump
- Modernize spec file
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-6 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.14-6
- Perl 5.20 rebuild - Perl 5.20 rebuild
@ -103,7 +103,7 @@ make test
* Mon Jun 18 2012 Petr Pisar <ppisar@redhat.com> - 2.10-2 * Mon Jun 18 2012 Petr Pisar <ppisar@redhat.com> - 2.10-2
- Perl 5.16 rebuild - Perl 5.16 rebuild
* Tue Mar 03 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.10-1 * Tue Apr 03 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.10-1
- Upstream update. - Upstream update.
* Sun Jan 15 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.09-1 * Sun Jan 15 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 2.09-1

@ -1 +1 @@
c401c26a2695d82f3cb1878bbef2d7b1 GraphViz-2.14.tgz 45954ab14ed5e5d2af0d7edaf982c927 GraphViz-2.16.tgz

Loading…
Cancel
Save