commit 62121700b7021760de0f5187caaed121865caa88 Author: Miro Hrončok <miro@xxxxxxxxxx> Date: Mon Jul 22 17:38:06 2013 +0200 Initial import (#978010) .gitignore | 1 + perl-Wx-GLCanvas.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..95fb474 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Wx-GLCanvas-0.09.tar.gz diff --git a/perl-Wx-GLCanvas.spec b/perl-Wx-GLCanvas.spec new file mode 100644 index 0000000..18eddbf --- /dev/null +++ b/perl-Wx-GLCanvas.spec @@ -0,0 +1,66 @@ +Name: perl-Wx-GLCanvas +Version: 0.09 +Release: 2%{?dist} +Summary: Interface to wxWidgets' OpenGL canvas +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Wx-GLCanvas/ +Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Wx-GLCanvas-%{version}.tar.gz + +BuildRequires: perl +BuildRequires: perl(Alien::wxWidgets) +BuildRequires: perl(Exporter) +BuildRequires: perl(lib) +BuildRequires: perl(strict) +BuildRequires: perl(Wx::build::MakeMaker) >= 0.16 +BuildRequires: wxGTK-devel + +%if 0%{?with_tests} +BuildRequires: perl(base) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Wx) +BuildRequires: perl(Wx::ScrolledWindow) +%endif + +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +A wrapper for wxWidgets' wxGLCanvas, used to display OpenGL graphics. + +%prep +%setup -q -n Wx-GLCanvas-%{version} +rm -rf wx + +chmod -x Changes README.txt + +%build +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags} -I/usr/include/wx-2.8" +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%if 0%{?with_tests} +%check +DISPLAY=:0.0 make test +%endif + +%files +%doc Changes README.txt +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Wx* +%{_mandir}/man3/* + +%changelog +* Thu Jul 04 2013 Miro Hrončok <mhroncok@xxxxxxxxxx> - 0.09-2 +- Redone BRs + +* Tue Jun 25 2013 Miro Hrončok <mhroncok@xxxxxxxxxx> 0.09-1 +- Specfile autogenerated by cpanspec 1.78 and revised diff --git a/sources b/sources index e69de29..c853357 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4f6475010bd6e4231e2dbb3fb52bc642 Wx-GLCanvas-0.09.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel