2024-01-06 09:12:45 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Inline
|
2024-01-06 09:12:45 +01:00
|
|
|
Version: 0.67
|
2024-01-06 09:12:45 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Inline - Write Perl subroutines in other programming languages
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Aleph0 <aleph0@openmamba.org>
|
|
|
|
URL: http://www.cpan.org
|
|
|
|
Source: http://www.cpan.org/modules/by-module/Inline/Inline-%{version}.tar.gz
|
|
|
|
License: Artistic
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
BuildRequires: perl-devel >= %perl_major_ver
|
|
|
|
BuildRequires: perl-Inline-Files
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Inline lets you write Perl subroutines in other programming languages like C, C++, Java, Python, Tcl and even Assembly.
|
|
|
|
You don't need to compile anything.
|
|
|
|
All the details are handled transparently so you can just run your Perl script like normal.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Inline-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor << EOF
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%make
|
|
|
|
#% make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
|
|
|
sort -u > .packlist && rm $packlist
|
|
|
|
|
|
|
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:12:45 +01:00
|
|
|
* Sat Aug 09 2014 Automatic Build System <autodist@mambasoft.it> 0.67-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:12:45 +01:00
|
|
|
* Fri Jul 11 2014 Automatic Build System <autodist@mambasoft.it> 0.58-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:12:45 +01:00
|
|
|
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 0.55-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:12:45 +01:00
|
|
|
* Fri Apr 04 2014 Automatic Build System <autodist@mambasoft.it> 0.54-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu May 09 2013 Automatic Build System <autodist@mambasoft.it> 0.53-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.44-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Nov 23 2007 Aleph0 <aleph0@openmamba.org> 0.44-1mamba
|
|
|
|
- package created by autospec
|