perl/perl.spec

changeset 481
7b6013bffe8c
parent 358
832ab278201b
child 501
4d4d275a712a
equal deleted inserted replaced
2:384ad189c1cd 3:6da3f12efab0
30 Distribution: OpenPKG Community 30 Distribution: OpenPKG Community
31 Class: CORE 31 Class: CORE
32 Group: Perl 32 Group: Perl
33 License: GPL/Artistic 33 License: GPL/Artistic
34 Version: 5.14.1 34 Version: 5.14.1
35 Release: 20110618 35 Release: 20110914
36 36
37 # list of sources 37 # list of sources
38 Source0: http://www.cpan.org/src/perl-%{version}.tar.gz 38 Source0: http://www.cpan.org/src/perl-%{version}.tar.gz
39 Patch0: perl.patch 39 Patch0: perl.patch
40 40
41 # build information 41 # build information
42 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc 42 Prefix: %{l_prefix}
43 PreReq: OpenPKG, openpkg >= 20100101 43 BuildRoot: %{l_buildroot}
44 BuildPreReq: OpenPKG, openpkg >= 20060823, gcc
45 PreReq: OpenPKG, openpkg >= 20060823
46 AutoReq: no
47 AutoReqProv: no
44 48
45 %description 49 %description
46 Perl ("Practical Reporting and Extraction Language") is a very 50 Perl ("Practical Reporting and Extraction Language") is a very
47 sophisticated and flexible (but this way also complex) programming 51 sophisticated and flexible (but this way also complex) programming
48 language. This is the original implementation of the Perl 5 52 language. This is the original implementation of the Perl 5
113 117
114 # build the Perl package 118 # build the Perl package
115 %{l_make} %{l_mflags} -f Makefile 119 %{l_make} %{l_mflags} -f Makefile
116 120
117 %install 121 %install
122 # remove build cruft
123 rm -rf $RPM_BUILD_ROOT
118 124
119 # install the Perl package via standard procedure 125 # install the Perl package via standard procedure
120 %{l_make} %{l_mflags} -f Makefile install DESTDIR=$RPM_BUILD_ROOT 126 %{l_make} %{l_mflags} -f Makefile install DESTDIR=$RPM_BUILD_ROOT
121 127
122 # allow us to already use the temporary install perl(1) 128 # allow us to already use the temporary install perl(1)
206 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 212 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
207 213
208 %files -f files 214 %files -f files
209 215
210 %clean 216 %clean
211 217 rm -rf $RPM_BUILD_ROOT
218

mercurial