[Tizen-submit] 20341: New package Tizen:IVI:Genivi/perl-Switch

noreply at tizen.org noreply at tizen.org
Fri Jan 31 03:15:33 GMT 2014


Hi,
Adding new package perl-Switch in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031132
Git project: platform/upstream/perl-Switch
Tag: submit/tizen_ivi_genivi/20140131.031132
Commit: de6d1312adf4a844aed5e86fb9a59560ab318114 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20341

  submit:       Tizen:IVI:Genivi:build/perl-Switch(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031132
Git project: platform/upstream/perl-Switch
Tag: submit/tizen_ivi_genivi/20140131.031132
Commit: de6d1312adf4a844aed5e86fb9a59560ab318114 resetting manifest requested domain to floor

State:   new        2014-01-31T03:17:29 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- perl-Switch.changes
+++ perl-Switch.changes
@@ -0,0 +1,3 @@
+* Fri Mar 22 2013 Anas Nashif <anas.nashif at intel.com> upstream/2.16 at d54c458
+- Remove old perl macro
+

new:
----
  0001-fix-syntax.patch
  Switch-2.16.tar.gz
  perl-Switch.changes
  perl-Switch.manifest
  perl-Switch.spec

spec files:
-----------

++++++ new spec file:
--- perl-Switch.spec
+++ perl-Switch.spec
@@ -0,0 +1,72 @@
+#
+# spec file for package perl-Switch
+#
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+
+Name:           perl-Switch
+VCS:            platform/upstream/perl-Switch#de6d1312adf4a844aed5e86fb9a59560ab318114
+Version:        2.16
+Release:        4
+License:        GPL-1.0+ or Artistic-1.0
+%define cpan_name Switch
+Summary:        A switch statement for Perl
+Url:            http://search.cpan.org/dist/Switch/
+Group:          Development/Libraries
+Source:         http://www.cpan.org/authors/id/R/RG/RGARCIA/%{cpan_name}-%{version}.tar.gz
+Source1001: 	perl-Switch.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-fix-syntax.patch
+BuildRequires:  perl
+BuildRequires:  perl-macros
+BuildArch:      noarch
+
+%description
+The Switch.pm module implements a generalized case mechanism that covers
+most (but not all) of the numerous possible combinations of switch and case
+values described above.
+
+The module augments the standard Perl syntax with two new control
+statements: 'switch' and 'case'. The 'switch' statement takes a single
+scalar argument of any type, specified in parentheses. 'switch' stores this
+value as the current switch value in a (localized) control variable. The
+value is followed by a block which may contain one or more Perl statements
+(including the 'case' statement described below). The block is
+unconditionally executed once the switch value has been cached.
+
+%prep
+%setup -q -n %{cpan_name}-%{version}
+# 0001-fix-syntax.patch
+%patch0 -p1
+cp %{SOURCE1001} .
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%check

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list