[packages/perl-Glib-IO] - new

qboosh qboosh at pld-linux.org
Fri Apr 24 20:18:15 CEST 2020


commit 694c40b044de35072fad2f4d44184974bc8b5166
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Apr 24 20:18:08 2020 +0200

    - new

 perl-Glib-IO.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/perl-Glib-IO.spec b/perl-Glib-IO.spec
new file mode 100644
index 0000000..cba5600
--- /dev/null
+++ b/perl-Glib-IO.spec
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
+%define		pnam	Glib-IO
+Summary:	Perl GIO (Glib IO) bindings
+Summary(pl.UTF-8):	Wiązania GIO (Glib IO) dla Perla
+Name:		perl-Glib-IO
+Version:	0.001
+Release:	1
+License:	LGPL v2.1+
+Group:		Development/Languages/Perl
+Source0:	http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
+# Source0-md5:	8628744ae27b20a2f45dbe2d620cb89c
+URL:		http://gtk2-perl.sourceforge.net/
+BuildRequires:	glib2-devel >= 1:2.24.0
+BuildRequires:	perl-ExtUtils-MakeMaker
+BuildRequires:	perl-Glib-Object-Introspection >= 0.014
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	rpmbuild(macros) >= 1.745
+Requires:	perl-Glib-Object-Introspection >= 0.014
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides Perl access to GIO (Glib IO) library.
+
+%description -l pl.UTF-8
+Ten moduł daje dostęp z poziomu Perla do biblioteki GIO (Glib IO).
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+
+%{__make} \
+	CC="%{__cc}"
+
+%{?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 NEWS README
+%dir %{perl_vendorlib}/Glib
+%{perl_vendorlib}/Glib/IO.pm
+%{_mandir}/man3/Glib::IO.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Glib-IO.git/commitdiff/694c40b044de35072fad2f4d44184974bc8b5166



More information about the pld-cvs-commit mailing list