perl/perl.spec

changeset 546
7894123eadbf
parent 501
4d4d275a712a
child 639
86e8808a3984
equal deleted inserted replaced
4:a9a4dec71d4d 5:19a9d30c2fd0
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.16.0 34 Version: 5.16.0
35 Release: 20120712 35 Release: 20120800
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 BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make
43 PreReq: OpenPKG, openpkg >= 20100101 43 PreReq: OpenPKG, openpkg >= 20100101
44 44
45 %description 45 %description
46 Perl ("Practical Reporting and Extraction Language") is a very 46 Perl ("Practical Reporting and Extraction Language") is a very
47 sophisticated and flexible (but this way also complex) programming 47 sophisticated and flexible (but this way also complex) programming
110 -Uinstallusrbinperl \ 110 -Uinstallusrbinperl \
111 -Ui_malloc -Ui_iconv -Ui_db \ 111 -Ui_malloc -Ui_iconv -Ui_db \
112 -Uusedevel 112 -Uusedevel
113 113
114 # build the Perl package 114 # build the Perl package
115 %{l_make} %{l_mflags} -f Makefile 115 %{l_make} %{l_mflags -O} -f Makefile
116 116
117 %install 117 %install
118 118
119 # install the Perl package via standard procedure 119 # install the Perl package via standard procedure
120 %{l_make} %{l_mflags} -f Makefile install DESTDIR=$RPM_BUILD_ROOT 120 %{l_make} %{l_mflags} -f Makefile install DESTDIR=$RPM_BUILD_ROOT

mercurial