]> git.pld-linux.org Git - packages/perl-Inline-Octave.git/blame - perl-Inline-Octave.spec
use generic url
[packages/perl-Inline-Octave.git] / perl-Inline-Octave.spec
CommitLineData
fbee86d5 1#
2# Conditional build:
81a055f2 3%bcond_without tests # do not perform "make test"
6bcc6ea3 4
93afdce2 5%define pdir Inline
5bf7a6c5 6%define pnam Octave
6bcc6ea3 7%include /usr/lib/rpm/macros.perl
2456ffc9 8Summary: Inline::Octave - inline octave code into your perl
06c64e41 9Summary(pl.UTF-8): Inline::Octave - umieszczanie kodu octave w kodzie perlowym
f2bc7f28 10Name: perl-Inline-Octave
a66696be 11Version: 0.20
bdc338d9 12Release: 2
0b6c0148 13# same as perl
14License: GPL v1+ or Artistic
f2bc7f28 15Group: Development/Languages/Perl
5bf7a6c5 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
a66696be 17# Source0-md5: 4c590abe9d4073cc35a3ad8a6322c763
bdc338d9 18Patch0: %{name}-test.patch
6bcc6ea3
ER
19URL: http://search.cpan.org/dist/Inline-Octave/
20BuildRequires: octave
f2bc7f28 21BuildRequires: perl-Inline >= 0.4
6bcc6ea3 22BuildRequires: perl-devel >= 1:5.8.0
a39be5be 23BuildRequires: rpm-perlprov >= 4.1-13
f2bc7f28
JB
24Requires: octave
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
2456ffc9
JB
29Inline::Octave Perl module gives you the power of the octave
30programming language from within your Perl programs.
f2bc7f28 31
7287e567
JR
32%description -l pl.UTF-8
33Moduł Perla Inline::Octave umożliwia korzystanie z mocy języka
34programowania octave wewnątrz skryptów w Perlu.
f2bc7f28
JB
35
36%prep
5bf7a6c5 37%setup -q -n %{pdir}-%{pnam}-%{version}
7c33b2d9 38%patch0 -p1
f2bc7f28
JB
39
40%build
2456ffc9
JB
41echo '/usr/bin/octave' | perl Makefile.PL \
42 INSTALLDIRS=vendor
f2bc7f28 43%{__make}
2456ffc9 44
81a055f2 45%{?with_tests:%{__make} test}
f2bc7f28
JB
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
a39be5be 58%{perl_vendorlib}/Inline/Octave.pm
f2bc7f28 59%{_mandir}/man3/*
This page took 0.036671 seconds and 4 git commands to generate.