]> git.pld-linux.org Git - packages/perl-Alien-wxWidgets.git/commitdiff
- saving work, not working yet, help needed
authorMichał Łukaszek <mlukaszek+pld@gmail.com>
Sat, 21 Oct 2006 20:01:46 +0000 (20:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Alien-wxWidgets.spec -> 1.1

perl-Alien-wxWidgets.spec [new file with mode: 0644]

diff --git a/perl-Alien-wxWidgets.spec b/perl-Alien-wxWidgets.spec
new file mode 100644 (file)
index 0000000..bf31384
--- /dev/null
@@ -0,0 +1,73 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+%bcond_with unicode
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Alien
+%define                pnam    wxWidgets
+Summary:       Alien::wxWidgets - building, finding and using wxWidgets binaries
+Summary(pl):   Alien::wxWidgets - budowanie, znajdowanie i wykorzystywanie binariów wxWidgets
+Name:          perl-Alien-wxWidgets
+Version:       0.22
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 98de414f8d378170ede6cf96a0e2f73e
+Patch0:     %{name}-nobuild.patch
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires:  perl-Module-Build >= 0.2611-1
+BuildRequires:  perl-Module-Pluggable >= 3.1-4
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires:  wxGTK2-%{?with_unicode:unicode-}devel >= 2.6.3
+BuildRequires:  wxGTK2-%{?with_unicode:unicode-}gl-devel >= 2.6.3
+
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Alien::wxWidgets allows wxPerl to easily find information about your wxWidgets installation.
+It can store this information for multiple wxWidgets versions or configurations
+(debug, Unicode, etc.). It can also build and install a private copy of wxWidgets
+as part of the build process.
+
+%description -l pl
+Alien::wxWidgets pozwala wxPerlowi ³atwo uzyskaæ informacje na temat instalacji wxWidgets.
+Mo¿e przechowywaæ informacje o wielu wersjach lub konfiguracjach (debug, Unicode, itp.).
+Mo¿e tak¿e zbudowaæ i zainstalowaæ prywatn± kopiê wxWidgets jako czê¶æ procesu budowania.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
+
+%build
+WX_CONFIG=wx-gtk2-%{?with_unicode:unicode}%{!?with_unicode:ansi}-config
+export WX_CONFIG
+%{__perl} Makefile.PL \
+    INSTALLDIRS=vendor
+    
+%{__make} \
+    OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{perl_vendorarch}/Alien
+%{perl_vendorarch}/Alien/*.pm
+%dir %{perl_vendorarch}/Alien/wxWidgets
+%{perl_vendorarch}/Alien/wxWidgets/*.pm
+%dir %{perl_vendorarch}/auto/Alien
+%dir %{perl_vendorarch}/auto/Alien/wxWidgets
+%{perl_vendorarch}/auto/Alien/wxWidgets/*
+%{_mandir}/man3/*
This page took 0.043207 seconds and 4 git commands to generate.