perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec
2006-10-01 01:32:52 +00:00

64 lines
1.6 KiB
RPMSpec

Name: perl-Alien-wxWidgets
Version: 0.21
Release: 3%{?dist}
Summary: Building, finding and using wxWidgets binaries
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Alien-wxWidgets/
Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Alien-wxWidgets-%{version}.tar.gz
Patch0: Alien-wxWidgets-0.21-Any_wx_config.pm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wxGTK-devel
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
"Alien::wxWidgets" can be used to detect and get configuration
settings from an installed wxWidgets.
%prep
%setup -q -n Alien-wxWidgets-%{version}
%patch0 -p1
%build
%{__perl} Build.PL installdirs=vendor < /dev/null
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
chmod -R u+w $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorarch}/Alien/
%{_mandir}/man3/*.3pm*
%changelog
* Sun Oct 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-3
- Patch to add /usr/lib64 to the library search path.
* Thu Sep 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-2
- This is a binary RPM (see bug #208007 comment #2).
* Sun Sep 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
- First build.