File perl-Inline-C.spec of Package perl-Inline-C
#
# spec file for package perl-Inline-C (Version 0.12)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Inline-C
BuildRequires: perl-Inline
Version: 0.12
Release: 241
Provides: Inline-C
Requires: perl-Inline
Requires: perl = %{perl_version}
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
URL: http://www.cpan.org/modules/by-module/Inline
Summary: Write Perl subroutines in C
Source: Inline-CPR-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: Inline-CPR-%{version}.diff
Patch1: %{name}-%{version}-implicit.diff
%description
This module allows you to program C in perl. See also perl-Inline.
Authors:
--------
Brian Ingerson <INGY@cpan.org>
%prep
%setup -q -n Inline-CPR-%{version}
%patch
%patch1
%build
perl Makefile.PL
make CCCDLFLAGS="$RPM_OPT_FLAGS"
make test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc Changes README MANIFEST
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Inline/CPR*
%{perl_vendorarch}/auto/Inline/CPR
/usr/bin/cpr.pl
/var/adm/perl-modules/%{name}
%changelog -n perl-Inline-C
* Fri Jan 26 2007 - anicka@suse.cz
- compile with $RPM_OPT_FLAGS and fix implicit definitions of
special functions
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Thu Jul 17 2003 - freitag@suse.de
- used vendor macros and perl_process_packlist in filelist
* Mon May 26 2003 - ro@suse.de
- remove unpackaged files from buildroot
* Tue Dec 03 2002 - freitag@suse.de
- new package version