commit c27956baa832e5cb6a22e00fab363b43dec975ff7002dd79dfa431b8fec5f290 Author: Stephan Kulow Date: Thu Apr 14 08:46:45 2011 +0000 initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-GnuplotIF?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Graphics-GnuplotIF-1.6.tar.gz b/Graphics-GnuplotIF-1.6.tar.gz new file mode 100644 index 0000000..888f6c2 --- /dev/null +++ b/Graphics-GnuplotIF-1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:049fcce25cc7db41f5f87bd93732de6d8f90463d4dc8a151b2def33b20328d62 +size 14657 diff --git a/perl-Graphics-GnuplotIF.changes b/perl-Graphics-GnuplotIF.changes new file mode 100644 index 0000000..53b20eb --- /dev/null +++ b/perl-Graphics-GnuplotIF.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Thu Apr 14 08:46:37 UTC 2011 - coolo@opensuse.org + +- initial package 1.6 + * created by cpanspec 1.78.04 + diff --git a/perl-Graphics-GnuplotIF.spec b/perl-Graphics-GnuplotIF.spec new file mode 100644 index 0000000..5488a2d --- /dev/null +++ b/perl-Graphics-GnuplotIF.spec @@ -0,0 +1,85 @@ +# +# spec file for package perl-Graphics-GnuplotIF (Version 1.6) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: perl-Graphics-GnuplotIF +Version: 1.6 +Release: 1 +License: GPL+ or Artistic +%define cpan_name Graphics-GnuplotIF +Summary: A dynamic Perl interface to gnuplot +Url: http://search.cpan.org/dist/Graphics-GnuplotIF/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/M/ME/MEHNER/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl(Module::Build) +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(version) +Requires: perl(Test::More) +Requires: perl(version) +%{perl_requires} + +%description +Graphics::GnuplotIF is a simple and easy to use dynamic Perl interface to +*gnuplot*. *gnuplot* is a freely available, command-driven graphical +display tool for Unix. It compiles and works quite well on a number of Unix +flavours as well as other operating systems. + +This module enables sending display requests asynchronously to *gnuplot* +through simple Perl subroutine calls. + +A gnuplot session is an instance of class Graphics::GnuplotIF. The +constructor starts *gnuplot* as a separate process for each session. The +plot commands are send through a _pipe_. The graphical output from +*gnuplot* will be displayed immediately. + +Several independent plots can be started from one script. Each plot has its +own pipe. All pipes will be closed automatically by the destructor when the +script terminates. The *gnuplot* processes terminate when the corresponding +pipes are closed. Their graphical output will now disappear (but see +parameter new). + +Graphics::GnuplotIF is similar to ' gnuplot_i ', a C interface to *gnuplot* +( http://ndevilla.free.fr/gnuplot/ ), and to ' gnuplot_i++ ', a C++ +interface to *gnuplot* ( http://jijo.cjb.net/code/cc++ ). + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} + +%check +./Build test + +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist + +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc %attr(644,root,root,755) Changes README + +%changelog