]> git.pld-linux.org Git - packages/perl-Alien-GSL.git/commitdiff
- new auto/th/perl-Alien-GSL-1.07-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 4 Dec 2021 21:33:28 +0000 (22:33 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 4 Dec 2021 21:33:28 +0000 (22:33 +0100)
perl-Alien-GSL.spec [new file with mode: 0644]

diff --git a/perl-Alien-GSL.spec b/perl-Alien-GSL.spec
new file mode 100644 (file)
index 0000000..eba19e5
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%define                pdir    Alien
+%define                pnam    GSL
+Summary:       Alien::GSL - Easy installation of the GSL library
+Name:          perl-Alien-GSL
+Version:       1.07
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: a5dee649d2af80624c99cf3554230d6b
+URL:           https://metacpan.org/pod/Alien::GSL
+BuildRequires: perl-Alien-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
+%if %{with tests}
+BuildRequires: perl-Alien-Base
+BuildRequires: perl-Test-Alien
+BuildRequires: perl-Test2-Suite
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Alien::GSL - Easy installation of the GSL library.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README.md
+%{perl_vendorarch}/Alien/GSL
+%{perl_vendorarch}/Alien/GSL.pm
+%{perl_vendorarch}/auto/Alien/GSL/GSL.txt
+%{perl_vendorarch}/auto/share/dist/Alien-GSL
+%{_mandir}/man3/*
This page took 0.182056 seconds and 4 git commands to generate.