rpms/perl-ExtUtils-XSBuilder/devel perl-ExtUtils-XSBuilder.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Jul 8 18:39:19 UTC 2005


Author: spot

Update of /cvs/extras/rpms/perl-ExtUtils-XSBuilder/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6181/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-ExtUtils-XSBuilder.spec 
Log Message:
auto-import perl-ExtUtils-XSBuilder-0.27-2 on branch devel from perl-ExtUtils-XSBuilder-0.27-2.src.rpm


--- NEW FILE perl-ExtUtils-XSBuilder.spec ---
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}

Name:           perl-ExtUtils-XSBuilder
Version:        0.27
Release:        2%{?dist}
Summary:        Modules that parse C header files and create XS glue code
Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/ExtUtils-XSBuilder/
Source0:        http://search.cpan.org/CPAN/authors/id/G/GR/GRICHTER/ExtUtils-XSBuilder-0.27.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl >= 1:5.6.1
BuildRequires:  perl(Tie::IxHash)
Requires:       perl(Tie::IxHash)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
ExtUtils::XSBuilder is a set of modules to parse C header files and create 
XS glue code and documentation out of it. Ideally this allows one to "write" 
an interface to a C library without coding a line. Since no C-API is ideal,
some adjuments are necessary most of the time. So to use this module you
must still be familiar with C and XS programming, but it removes a lot of
stupid work and copy&paste from you. Also when the C API changes, most
of the time you only have to rerun XSBuilder to get your new Perl API.

%prep
%setup -q -n ExtUtils-XSBuilder-%{version}
find . -type f | xargs chmod -x

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make

%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 d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/ExtUtils
%{_mandir}/man3/*.3*

%changelog
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.27-2
- cleanups

* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.27-1
- Initial package for Fedora Extras


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-ExtUtils-XSBuilder/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Jul 2005 18:38:52 -0000	1.1
+++ .cvsignore	8 Jul 2005 18:39:17 -0000	1.2
@@ -0,0 +1 @@
+ExtUtils-XSBuilder-0.27.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-ExtUtils-XSBuilder/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Jul 2005 18:38:52 -0000	1.1
+++ sources	8 Jul 2005 18:39:17 -0000	1.2
@@ -0,0 +1 @@
+6e1f1c8207b598166dc7a06d633db308  ExtUtils-XSBuilder-0.27.tar.gz




More information about the scm-commits mailing list