[packages/perl-Wx-GLCanvas] - tests disabled by default, added more wx BRs
qboosh
qboosh at pld-linux.org
Tue Jun 16 20:51:07 CEST 2015
commit 6621a77da4b645eff342cad2a28e7353cc726e8b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jun 16 20:52:19 2015 +0200
- tests disabled by default, added more wx BRs
perl-Wx-GLCanvas.spec | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/perl-Wx-GLCanvas.spec b/perl-Wx-GLCanvas.spec
index 43960e6..1e30332 100644
--- a/perl-Wx-GLCanvas.spec
+++ b/perl-Wx-GLCanvas.spec
@@ -1,11 +1,15 @@
#
# Conditional build:
-%bcond_without tests # do not perform "make test"
+%bcond_without unicode # ANSI instead of Unicode version of wxGTK
+%bcond_with gtk3 # wxGTK3 instead of wxGTK2
+%bcond_with tests # "make test" (requires $DISPLAY)
#
+%define wxpkg wxGTK%{?with_gtk3:3}%{!?with_gtk3:2}%{?with_unicode:-unicode}
%define pdir Wx
%define pnam GLCanvas
%include /usr/lib/rpm/macros.perl
Summary: Wx::GLCanvas - interface to wxWidgets' OpenGL canvas
+Summary(pl.UTF-8): Wx::GLCanvas - interfejs do "płótna" OpenGL biblioteki wxWidgets
Name: perl-Wx-GLCanvas
Version: 0.09
Release: 1
@@ -17,15 +21,16 @@ Source0: http://www.cpan.org/modules/by-module/Wx/%{pdir}-%{pnam}-%{version}.tar
URL: http://search.cpan.org/dist/Wx-GLCanvas/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
-%if %{with tests}
BuildRequires: perl(Wx::build::MakeMaker) >= 0.16
-BuildRequires: perl-Wx >= 0.57
-%endif
+BuildRequires: perl-Wx-devel >= 0.57
+BuildRequires: %{wxpkg}-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The documentation for this module is included in the main
-wxPerl distribution (wxGLCanvas).
+Wx::GLCanvas is an interface to wxWidgets' OpenGL canvas.
+
+%description -l pl.UTF-8
+Wx::GLCanvas to interfejs do "płótna" OpenGL biblioteki wxWidgets.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
@@ -51,9 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc Changes README.txt
-%{perl_vendorarch}/Wx/*.pm
+%{perl_vendorarch}/Wx/GLCanvas.pm
%dir %{perl_vendorarch}/Wx/DemoModules
%{perl_vendorarch}/Wx/DemoModules/wxGLCanvas.pm
%dir %{perl_vendorarch}/auto/Wx/GLCanvas
-%attr(755,root,root) %{perl_vendorarch}/auto/Wx/GLCanvas/*.so
-%{_mandir}/man3/*
+%attr(755,root,root) %{perl_vendorarch}/auto/Wx/GLCanvas/GLCanvas.so
+%{_mandir}/man3/Wx::GLCanvas.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Wx-GLCanvas.git/commitdiff/6621a77da4b645eff342cad2a28e7353cc726e8b
More information about the pld-cvs-commit
mailing list