SPECS: perl-Alien-wxWidgets.spec (NEW) - saving work, not working ...
prism
prism at pld-linux.org
Sat Oct 21 22:01:52 CEST 2006
Author: prism Date: Sat Oct 21 20:01:52 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- saving work, not working yet, help needed
---- Files affected:
SPECS:
perl-Alien-wxWidgets.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Alien-wxWidgets.spec
diff -u /dev/null SPECS/perl-Alien-wxWidgets.spec:1.1
--- /dev/null Sat Oct 21 22:01:52 2006
+++ SPECS/perl-Alien-wxWidgets.spec Sat Oct 21 22:01:46 2006
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+#
+# 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/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/10/21 20:01:46 prism
+- saving work, not working yet, help needed
+
================================================================
More information about the pld-cvs-commit
mailing list