perl-Alien-wxWidgets/perl-Alien-wxWidgets.spec

71 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: perl-Alien-wxWidgets
Version: 0.22
Release: 1%{?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
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wxGTK-devel
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Pluggable)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%define debug_package %{nil}
%description
"Alien::wxWidgets" can be used to detect and get configuration
settings from an installed wxWidgets.
%prep
%setup -q -n Alien-wxWidgets-%{version}
%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
* Tue Oct 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
- Update to 0.22.
- Avoid creation of the debuginfo package (#209180).
- Dropped patch Alien-wxWidgets-0.21-Any_wx_config.pm.patch
(http://rt.cpan.org/Public/Bug/Display.html?id=21854).
* 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.