• R/O
  • SSH

contrib-spec-files: Commit

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


Commit MetaInfo

Revision2e7a0c04cccc8761d9b6bcb561a5bb76aba3e041 (tree)
Time2012-06-21 23:27:02
AuthorFumihisa TONAKA <fumi.ftnk@gmai...>
CommiterFumihisa TONAKA

Log Message

merge

Change Summary

Incremental Difference

diff -r 0a8c8395999b -r 2e7a0c04cccc .hgtags
--- a/.hgtags Thu Jun 21 22:34:03 2012 +0900
+++ b/.hgtags Thu Jun 21 23:27:02 2012 +0900
@@ -33,3 +33,4 @@
3333 a27d3298a8a01202032bbd11bc88e4cbfd505ff7 spec_SFEruby-facter_base
3434 d4c05c75ad57d690f75821adc465811a7354c030 spec_SFEperl-try-tiny_base
3535 ee2fd4d340ffcfb255d7b6a737e7e69154915c00 spec_SFEperl-file-chdir_base
36+0a8c8395999b496987ab27f7fdf3d9f33c3878a3 spec_SFEperl-ipc-run3_base
diff -r 0a8c8395999b -r 2e7a0c04cccc specs/SFEperl-ipc-run3.spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/SFEperl-ipc-run3.spec Thu Jun 21 23:27:02 2012 +0900
@@ -0,0 +1,102 @@
1+#
2+# spec file for package: SFEperl-ipc-run3
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+%include packagenamemacros.inc
11+
12+%define tarball_version 0.045
13+%define tarball_name IPC-Run3
14+
15+Name: SFEperl-ipc-run3
16+IPS_package_name: library/perl-5/ipc-run3
17+Version: 0.045
18+IPS_component_version: 0.45
19+Summary: IPC::Run3 - run a subprocess with input/ouput redirection
20+License: Artistic
21+Distribution: OpenSolaris
22+Vendor: OpenSolaris Community
23+Url: http://search.cpan.org/~rjbs/%{tarball_name}-%{tarball_version}
24+SUNW_Basedir: %{_basedir}
25+SUNW_Copyright: %{name}.copyright
26+Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/IPC-Run3-%{tarball_version}.tar.gz
27+
28+BuildRequires: runtime/perl-584
29+BuildRequires: runtime/perl-512
30+
31+Meta(info.maintainer): roboporter by pkglabo.justplayer.com <pkgadmin@justplayer.com>
32+Meta(info.upstream): Ricardo SIGNES <rjbs@cpan.org>
33+Meta(info.upstream_url): http://search.cpan.org/~rjbs/%{tarball_name}-%{tarball_version}
34+Meta(info.classification): org.opensolaris.category.2008:Development/Perl
35+
36+%description
37+
38+
39+%package 584
40+IPS_package_name: library/perl-5/ipc-run3-584
41+Summary: IPC::Run3 - run a subprocess with input/ouput redirection for perl-584
42+BuildRequires: runtime/perl-584
43+Requires: runtime/perl-584
44+
45+%package 512
46+IPS_package_name: library/perl-5/ipc-run3-512
47+Summary: IPC::Run3 - run a subprocess with input/ouput redirection for perl-512
48+BuildRequires: runtime/perl-512
49+Requires: runtime/perl-512
50+
51+
52+%prep
53+%setup -q -n %{tarball_name}-%{tarball_version}
54+
55+%build
56+export PERL5LIB=/usr/perl5/vendor_perl/5.8.4
57+/usr/perl5/5.8.4/bin/perl Makefile.PL PREFIX=%{_prefix} \
58+ DESTDIR=$RPM_BUILD_ROOT \
59+ LIB=/usr/perl5/vendor_perl/5.8.4
60+make
61+make test
62+
63+rm -rf $RPM_BUILD_ROOT
64+make pure_install
65+make clean
66+
67+export PERL5LIB=/usr/perl5/vendor_perl/5.12
68+/usr/perl5/5.12/bin/perl Makefile.PL PREFIX=%{_prefix} \
69+ DESTDIR=$RPM_BUILD_ROOT \
70+ LIB=/usr/perl5/vendor_perl/5.12
71+make
72+make test
73+
74+
75+%install
76+make pure_install
77+mkdir -p $RPM_BUILD_ROOT%{_datadir}
78+mv $RPM_BUILD_ROOT%{_prefix}/man $RPM_BUILD_ROOT%{_datadir}
79+mv $RPM_BUILD_ROOT%{_datadir}/man/man3 $RPM_BUILD_ROOT%{_datadir}/man/man3perl
80+
81+%clean
82+rm -rf $RPM_BUILD_ROOT
83+
84+%files
85+%defattr(-,root,bin)
86+#%{_prefix}/perl5
87+%attr(0755,root,sys) %dir %{_datadir}
88+%{_mandir}
89+#%attr(0755,root,bin) %dir %{_bindir}
90+#%{_bindir}/*
91+
92+%files 584
93+%defattr (-, root, bin)
94+%{_prefix}/perl5/vendor_perl/5.8.4
95+
96+%files 512
97+%defattr (-, root, bin)
98+%{_prefix}/perl5/vendor_perl/5.12
99+
100+%changelog
101+* Thu Jun 21 2012 - Fumihisa TONAKA <fumi.ftnk@gmail.com>
102+- initial commit
diff -r 0a8c8395999b -r 2e7a0c04cccc specs/copyright/SFEperl-ipc-run3.copyright
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/copyright/SFEperl-ipc-run3.copyright Thu Jun 21 23:27:02 2012 +0900
@@ -0,0 +1,9 @@
1+
2+You may use this module under the terms of the BSD, Artistic, or GPL licenses,
3+any version.
4+
5+See more information at:
6+
7+ BSD: http://www.opensource.org/licenses/bsd-license.php
8+ GPL: http://www.opensource.org/licenses/gpl-license.php
9+ Artistic: http://opensource.org/licenses/artistic-license.php
Show on old repository browser