rpms/perl-Wx/devel perl-Wx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jose Pedro Oliveira (jpo)
fedora-extras-commits at redhat.com
Mon Oct 2 10:42:07 UTC 2006
Author: jpo
Update of /cvs/extras/rpms/perl-Wx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31997/devel
Modified Files:
.cvsignore sources
Added Files:
perl-Wx.spec
Log Message:
auto-import perl-Wx-0.57-2 on branch devel from perl-Wx-0.57-2.src.rpm
--- NEW FILE perl-Wx.spec ---
#
# Rebuild option:
#
# --with testsuite - run the test suite (requires X)
#
Name: perl-Wx
Version: 0.57
Release: 2%{?dist}
Summary: Interface to the wxWidgets cross-platform GUI toolkit
Group: Development/Libraries
License: GPL or Artistic
URL: http://search.cpan.org/dist/Wx/
Source0: http://www.cpan.org/authors/id/M/MB/MBARBON/Wx-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wxGTK-devel
BuildRequires: perl(Alien::wxWidgets) >= 0.15
BuildRequires: perl(Module::Info)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(YAML) >= 0.35
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The Wx module is a wrapper for the wxWidgets (formerly known as
wxWindows) GUI toolkit.
This module comes with extensive documentation in HTML format;
you can download it from http://wxperl.sourceforge.net/.
%prep
%setup -q -n Wx-%{version}
chmod -c a-x README.txt docs/todo.txt samples/*/*.pl
find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" |
xargs chmod -c a-x
# Provides: exclude perl(Wx)
cat <<__EOF__ > %{name}-perl.prov
#!/bin/sh
/usr/lib/rpm/perl.prov \$* | grep -v '^perl(Wx)$'
__EOF__
%define __perl_provides %{_builddir}/Wx-%{version}/%{name}-perl.prov
chmod +x %{__perl_provides}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
%{?_with_testsuite:make test}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README.txt docs/todo.txt wxpl.ico wxpl.xpm
%doc run samples/
%{_bindir}/*
%{perl_vendorarch}/Wx*
%{perl_vendorarch}/auto/Wx/
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3pm*
%changelog
* Sun Oct 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.57-2
- Filtered perl(Wx) duplicate provide.
- Corrected several file permission.
* Sun Sep 24 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.57-1
- Update to 0.57.
* Sun May 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
- First build.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Wx/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2 Oct 2006 10:41:36 -0000 1.1
+++ .cvsignore 2 Oct 2006 10:42:07 -0000 1.2
@@ -0,0 +1 @@
+Wx-0.57.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Wx/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 2 Oct 2006 10:41:36 -0000 1.1
+++ sources 2 Oct 2006 10:42:07 -0000 1.2
@@ -0,0 +1 @@
+95689cae67e55eb62febe8f41751c1c2 Wx-0.57.tar.gz
More information about the fedora-extras-commits
mailing list