[packages/perl-Symbol-Global-Name] - initial

arekm arekm at pld-linux.org
Thu Oct 10 13:36:26 CEST 2013


commit 41a9c49ad8c3b7045ac2a8a77415440a86bf57e3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 10 13:36:12 2013 +0200

    - initial

 perl-Symbol-Global-Name.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/perl-Symbol-Global-Name.spec b/perl-Symbol-Global-Name.spec
new file mode 100644
index 0000000..68384ff
--- /dev/null
+++ b/perl-Symbol-Global-Name.spec
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Symbol
+%define	pnam	Global-Name
+Summary:	Symbol::Global::Name - finds name and type of a global variable
+#Summary(pl.UTF-8):
+Name:		perl-Symbol-Global-Name
+Version:	0.04
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Symbol/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	102e5e9ef292c546192036165101518b
+URL:		http://search.cpan.org/dist/Symbol-Global-Name/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Symbol::Global::Name - Lookups symbol table to find an element by
+reference..
+
+%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
+%dir %{perl_vendorlib}/Symbol/Global
+%{perl_vendorlib}/Symbol/Global/Name.pm
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Symbol-Global-Name.git/commitdiff/41a9c49ad8c3b7045ac2a8a77415440a86bf57e3



More information about the pld-cvs-commit mailing list