• R/O
  • SSH

contrib-spec-files: Commit

日本OpenSolaris Users Group有志による、レポジトリサーバ作成のためのspecファイル群です。


Commit MetaInfo

Revisionde8ac96b72d3df2a351a90007659061edf7ff89d (tree)
Time2012-06-10 20:16:20
AuthorFumihisa TONAKA <fumi.ftnk@gmai...>
CommiterFumihisa TONAKA

Log Message

SFEperl-encode-locale: initial commit

Change Summary

Incremental Difference

diff -r cb10d95b0db7 -r de8ac96b72d3 specs/SFEperl-encode-locale.spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/SFEperl-encode-locale.spec Sun Jun 10 20:16:20 2012 +0900
@@ -0,0 +1,99 @@
1+#
2+# spec file for package: SFEperl-encode-locale
3+#
4+# This file and all modifications and additions to the pristine
5+# package are under the same license as the package itself.
6+#
7+# includes module(s):
8+#
9+%include Solaris.inc
10+
11+%define tarball_version 1.03
12+%define tarball_name Encode-Locale
13+
14+Name: SFEperl-encode-locale
15+IPS_package_name: library/perl-5/encode-locale
16+Version: 1.03
17+IPS_component_version: 1.3
18+Summary: Encode::Locale
19+License: Artistic
20+Distribution: OpenSolaris
21+Vendor: OpenSolaris Community
22+Url: http://search.cpan.org/~gaas/%{tarball_name}-%{tarball_version}
23+SUNW_Basedir: %{_basedir}
24+SUNW_Copyright: %{name}.copyright
25+Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-%{tarball_version}.tar.gz
26+
27+BuildRequires: runtime/perl-584
28+BuildRequires: runtime/perl-512
29+
30+Meta(info.maintainer): roboporter by pkglabo.justplayer.com <pkgadmin@justplayer.com>
31+Meta(info.upstream): Gisle Aas <gisle@ActiveState.com>
32+Meta(info.upstream_url): http://search.cpan.org/~gaas/%{tarball_name}-%{tarball_version}
33+Meta(info.classification): org.opensolaris.category.2008:Development/Perl
34+
35+%description
36+Encode::Locale
37+
38+%package 584
39+IPS_package_name: library/perl-5/encode-locale-584
40+Summary: Encode::Locale for perl-584
41+BuildRequires: runtime/perl-584
42+Requires: runtime/perl-584
43+
44+%package 512
45+IPS_package_name: library/perl-5/encode-locale-512
46+Summary: Encode::Locale for perl-512
47+BuildRequires: runtime/perl-512
48+Requires: runtime/perl-512
49+
50+
51+%prep
52+%setup -q -n %{tarball_name}-%{tarball_version}
53+
54+%build
55+export PERL5LIB=/usr/perl5/vendor_perl/5.8.4
56+/usr/perl5/5.8.4/bin/perl Makefile.PL PREFIX=%{_prefix} \
57+ DESTDIR=$RPM_BUILD_ROOT \
58+ LIB=/usr/perl5/vendor_perl/5.8.4
59+make
60+make test
61+
62+rm -rf $RPM_BUILD_ROOT
63+make pure_install
64+
65+export PERL5LIB=/usr/perl5/vendor_perl/5.12
66+/usr/perl5/5.12/bin/perl Makefile.PL PREFIX=%{_prefix} \
67+ DESTDIR=$RPM_BUILD_ROOT \
68+ LIB=/usr/perl5/vendor_perl/5.12
69+make
70+make test
71+
72+%install
73+make pure_install
74+mkdir -p $RPM_BUILD_ROOT%{_datadir}
75+mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_datadir}
76+mv $RPM_BUILD_ROOT%{_datadir}/man/man3 $RPM_BUILD_ROOT%{_datadir}/man/man3perl
77+
78+%clean
79+rm -rf $RPM_BUILD_ROOT
80+
81+%files
82+%defattr(-,root,bin)
83+#%{_prefix}/perl5
84+%attr(0755,root,sys) %dir %{_datadir}
85+%{_mandir}
86+#%attr(0755,root,bin) %dir %{_bindir}
87+#%{_bindir}/*
88+
89+%files 584
90+%defattr (-, root, bin)
91+%{_prefix}/perl5/vendor_perl/5.8.4
92+
93+%files 512
94+%defattr (-, root, bin)
95+%{_prefix}/perl5/vendor_perl/5.12
96+
97+%changelog
98+* Sun Jun 10 2012 - Fumihisa TONAKA <fumi.ftnk@gmail.com>
99+- initial commit
Show on old repository browser