psabata pushed to perl-License-Syntax (f21). "Initial import (#1208509)"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 8df20a5dc59ce013ebb75392312af498fadac86d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@xxxxxxxxxx>
Date: Wed, 8 Apr 2015 14:08:03 +0200
Subject: Initial import (#1208509)


diff --git a/.gitignore b/.gitignore
index e69de29..39ccbc4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/License-Syntax-0.13.tar.gz
diff --git a/perl-License-Syntax.spec b/perl-License-Syntax.spec
new file mode 100644
index 0000000..3310205
--- /dev/null
+++ b/perl-License-Syntax.spec
@@ -0,0 +1,63 @@
+Name:           perl-License-Syntax
+Version:        0.13
+Release:        1%{?dist}
+Summary:        Coding and decoding of license strings using SPDX and SUSE syntax
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/License-Syntax/
+Source0:        http://www.cpan.org/authors/id/J/JN/JNW/License-Syntax-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(DBD::SQLite)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Text::CSV)
+# Tests only
+BuildRequires:  perl(Test::More)
+# Optional tests only
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(DBD::SQLite)
+
+%description
+License::Syntax is an object oriented module.  When constructing new
+License::Syntax objects, you can provide a mapping table for license
+names.  The table is used for recognizing alternate alias names for the
+licenses (left hand side) and also defines the canonical short names of
+the licenses (right hand side).  The mapping table is consulted twice,
+before and after decoding the syntax, thus non-terminal mappings may
+actually be followed.
+
+%prep
+%setup -q -n License-Syntax-%{version}
+chmod -c a-x license_syntax.pl
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+rm %{buildroot}/%{perl_vendorlib}/License/license_syntax.pl
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+
+%doc Changes README license_syntax.pl synopsis.csv
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Apr 02 2015 Petr Å abata <contyk@xxxxxxxxxx> 0.13-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..215292d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2bde09452f00ba7eb0af312f637f579e  License-Syntax-0.13.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-License-Syntax.git/commit/?h=f21&id=8df20a5dc59ce013ebb75392312af498fadac86d
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux