File perl-Inline-C.spec of Package perl-Inline-C

# spec file for package perl-Inline-C (Version 0.12)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           perl-Inline-C
BuildRequires:  perl-Inline
BuildRequires:  perl-macros
Version:        0.12
Release:        351
Provides:       Inline-C
Requires:       perl-Inline
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic
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

This module allows you to program C in perl. See also perl-Inline.

    Brian Ingerson <>

%setup -q -n Inline-CPR-%{version}

perl Makefile.PL 
make %{?_smp_mflags} CCCDLFLAGS="$RPM_OPT_FLAGS"
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%defattr(-, root, root)
%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by