]> git.pld-linux.org Git - packages/perl-Alien-wxWidgets.git/blame - perl-Alien-wxWidgets.spec
- up to 0.65
[packages/perl-Alien-wxWidgets.git] / perl-Alien-wxWidgets.spec
CommitLineData
274c91a3
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
bbe2b626 4%bcond_with unicode # use Unicode version of wxGTK2
274c91a3
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir Alien
8%define pnam wxWidgets
9Summary: Alien::wxWidgets - building, finding and using wxWidgets binaries
6b8dacf7 10Summary(pl.UTF-8): Alien::wxWidgets - budowanie, znajdowanie i wykorzystywanie binariów wxWidgets
274c91a3 11Name: perl-Alien-wxWidgets
6496b06f
JR
12Version: 0.65
13Release: 1
274c91a3
14# same as perl
15License: GPL v1+ or Artistic
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
6496b06f 18# Source0-md5: 219a4f572d24eaa98c3dc2d118c5d9f0
bbe2b626
JB
19Patch0: %{name}-nobuild.patch
20URL: http://search.cpan.org/dist/Alien-wxWidgets/
14d6bda2 21BuildRequires: perl-Module-Build >= 0.2611-1
22BuildRequires: perl-Module-Pluggable >= 3.1-4
0e5aa9c3 23BuildRequires: perl-ExtUtils-CBuilder >= 0.24
bbe2b626 24BuildRequires: perl-devel >= 1:5.8.0
274c91a3 25BuildRequires: rpm-perlprov >= 4.1-13
14d6bda2 26BuildRequires: wxGTK2-%{?with_unicode:unicode-}devel >= 2.6.3
27BuildRequires: wxGTK2-%{?with_unicode:unicode-}gl-devel >= 2.6.3
274c91a3
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
bbe2b626
JB
31Alien::wxWidgets allows wxPerl to easily find information about your
32wxWidgets installation. It can store this information for multiple
33wxWidgets versions or configurations (debug, Unicode, etc.). It can
34also build and install a private copy of wxWidgets as part of the
35build process.
274c91a3 36
530a3377
JR
37%description -l pl.UTF-8
38Alien::wxWidgets pozwala wxPerlowi łatwo uzyskać informacje na temat
39instalacji wxWidgets. Może przechowywać informacje o wielu wersjach
40lub konfiguracjach (debug, Unicode, itp.). Może także zbudować i
41zainstalować prywatną kopię wxWidgets jako część procesu budowania.
274c91a3
42
43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45%patch0 -p1
46
47%build
48WX_CONFIG=wx-gtk2-%{?with_unicode:unicode}%{!?with_unicode:ansi}-config
49export WX_CONFIG
50%{__perl} Makefile.PL \
bbe2b626 51 INSTALLDIRS=vendor
14d6bda2 52
274c91a3 53%{__make} \
95dd7826 54 CC="%{__cc}" \
bbe2b626 55 OPTIMIZE="%{rpmcflags}"
274c91a3
56
57%{?with_tests:%{__make} test}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%dir %{perl_vendorarch}/Alien
71%{perl_vendorarch}/Alien/*.pm
72%dir %{perl_vendorarch}/Alien/wxWidgets
73%{perl_vendorarch}/Alien/wxWidgets/*.pm
85bb3c52
JR
74%dir %{perl_vendorarch}/Alien/wxWidgets/Config
75%{perl_vendorarch}/Alien/wxWidgets/Config/*.pm
274c91a3
76%dir %{perl_vendorarch}/auto/Alien
77%dir %{perl_vendorarch}/auto/Alien/wxWidgets
274c91a3 78%{_mandir}/man3/*
This page took 0.04664 seconds and 4 git commands to generate.