tizen 2.3.1 release tizen_2.3.1 submit/tizen_2.3.1/20150915.100557 tizen_2.3.1_release
authorjk7744.park <jk7744.park@samsung.com>
Tue, 8 Sep 2015 17:28:51 +0000 (02:28 +0900)
committerjk7744.park <jk7744.park@samsung.com>
Tue, 8 Sep 2015 17:28:51 +0000 (02:28 +0900)
packaging/perl-URI.spec
packaging/perl-URI.yaml [new file with mode: 0644]

index 0f456a8..1dcabb0 100644 (file)
@@ -1,3 +1,10 @@
+# 
+# Do not Edit! Generated by:
+# spectacle version 0.18
+# 
+# >> macros
+# << macros
+
 Name:       perl-URI
 Summary:    A Perl module implementing URI parsing and manipulation
 Version:    1.54
@@ -6,7 +13,8 @@ Group:      Development/Libraries
 License:    GPL+ or Artistic
 BuildArch:  noarch
 URL:        http://search.cpan.org/dist/URI/
-Source0:    %{name}-%{version}.tar.bz2
+Source0:    http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
+Source100:  perl-URI.yaml
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:  perl(MIME::Base64)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -19,12 +27,18 @@ This module implements the URI class. Objects of this class represent
 updated by RFC 2732).
 
 
+
+
 %prep
-%setup
+%setup -q -n URI-%{version}
 
+# >> setup
 chmod 644 uri-test
+# << setup
 
 %build
+# >> build pre
+# << build pre
 
 if test -f Makefile.PL; then
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -34,8 +48,12 @@ else
 ./Build
 fi
 
+# >> build post
+# << build post
 %install
 rm -rf %{buildroot}
+# >> install pre
+# << install pre
 if test -f Makefile.PL; then
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 else
@@ -46,6 +64,7 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
 %{_fixperms} %{buildroot}/*
 
+# >> install post
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 for file in Changes; do
@@ -54,11 +73,23 @@ mv -f "${file}_" "$file"
 done
 
 
+# << install post
 %check
+# >> check
 make test
+# << check
+
+
+
+
+
 
 %files
 %defattr(-,root,root,-)
+# >> files
 %doc Changes README uri-test
 %{perl_vendorlib}/URI*
-#%doc %{_mandir}/man3/*.3*
+%doc %{_mandir}/man3/*.3*
+# << files
+
+
diff --git a/packaging/perl-URI.yaml b/packaging/perl-URI.yaml
new file mode 100644 (file)
index 0000000..6527991
--- /dev/null
@@ -0,0 +1,22 @@
+Name: perl-URI
+Summary: A Perl module implementing URI parsing and manipulation
+Version: 1.54
+Release: 1
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/URI/
+Sources:
+    - http://www.cpan.org/authors/id/G/GA/GAAS/URI-%{version}.tar.gz
+Description: |
+    This module implements the URI class. Objects of this class represent
+    "Uniform Resource Identifier references" as specified in RFC 2396 (and
+    updated by RFC 2732).
+
+PkgBR:
+    - perl(MIME::Base64)
+    - perl(ExtUtils::MakeMaker)
+    - perl(Test::More)
+Configure: none
+Builder: perl
+BuildArch: noarch
+Check: yes