From mboxrd@z Thu Jan 1 00:00:00 1970 To: devel@linux.iplabs.ru Message-ID: <20001130155728.B23672@localhost.localdomain> Mail-Followup-To: mookid@sigent.ru, devel@linux.iplabs.ru Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i From: mookid@sigent.ru (Mikhail Zabaluev) Subject: [devel] perl-5.6.0-ipl1mdk Sender: devel-admin@linux.iplabs.ru Errors-To: devel-admin@linux.iplabs.ru X-BeenThere: devel@linux.iplabs.ru X-Mailman-Version: 2.0beta6 Precedence: bulk Reply-To: devel@linux.iplabs.ru List-Help: List-Post: List-Subscribe: , List-Id: IPLabs Linux Team Developers mailing list List-Unsubscribe: , List-Archive: http://www.logic.ru/pipermail/devel/ X-Original-Date: Thu, 30 Nov 2000 15:57:28 +0300 Date: Thu, 30 Nov 2000 15:57:28 +0300 Archived-At: List-Archive: List-Post: --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit Доброе время суток. Вашему вниманию предлагается новый spec для пакета perl, с именем релиза, характерным для дистрибутива Linux-Mandrake RE. Выполнен перевод информативных полей на русский. Для сборки желательно использовать rpm-3.0.6-ipl8mdk. Замечания приветствуются. -- Stay tuned, MhZ mailto:mookid@sigent.ru ----------- It was Penguin lust... at its ugliest. --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="perl.spec" Content-Transfer-Encoding: 8bit %define version 5.6.0 %define oldversion 5.00600 %define release ipl1mdk Name: perl Epoch: 1 Version: %{version} Release: %{release} Summary: The Perl programming language. Summary(de): Die Perl-Programmiersprache Summary(ru): Интерпретатор языка программирования Perl Group: Development/Perl Group(ru): Разработка/Perl Copyright: GPL or Artistic Packager: Mikhail Zabaluev Distribution: Linux-Mandrake RE Provides: perl = 0:%{oldversion} Requires: perl-base = 1:%{version} AutoProv: yes, perl #ftp://ftp.linux.activestate.com/pub/staff/gsar/APC/5.6.0/perl-5.6.0.tar.gz %define header_pkgs glibc-devel gdbm-devel gpm-devel libgr-devel libjpeg-devel libpng-devel libtiff-devel ncurses-devel popt-devel zlib-devel binutils libelf e2fsprogs-devel pam-devel pwdb rpm-devel BuildRequires: %header_pkgs %define _perl_lib_path %{_libdir}/perl5/%{version} %{_libdir}/perl5/%{version}/%{_arch}-linux Source0: ftp://ftp.perl.org/pub/perl/CPAN/src/5.0/maint/perl-%{version}.tar.bz2 Patch0: perl5.005_02-buildsys.patch.bz2 Patch2: perl5.005_61-nodb.patch.bz2 Patch3: perl5-norootcheck.patch.bz2 Patch4: perl-5.6.0-CGI_upload_tmpdir.patch.bz2 Patch5: perl-5.6.0-unsafe-mailing-in-setuid.patch.bz2 Patch6: perl-5.6.0-fix-LD_RUN_PATH-for-MakeMaker.patch.bz2 Patch7: perl-5.6.0-fix-errno_h-parsing-for-glibc-2.1.95.patch.bz2 Patch8: perl-5.6.0-cop.patch.bz2 Buildroot: %{_tmppath}/%{name}-buildroot %package base Summary: The Perl programming language (base). Summary(ru): Интерпретатор языка программирования Perl (базовая установка) Group: Development/Perl Group(ru): Разработка/Perl Epoch: 1 Version: %{version} Provides: perl-base = 0:%{oldversion} AutoProv: yes, perl %package devel Summary: The Perl programming language (devel). Summary(ru): Интерпретатор языка программирования Perl (средства разработки) Group: Development/Perl Group(ru): Разработка/Perl Epoch: 1 Version: %{version} Provides: perl-devel = 0:%{oldversion} Requires: perl = 1:%{version} %description Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text. Perl's hallmarks are practicality and efficiency. While it is used to do a lot of different things, Perl's most common applications (and what it excels at) are probably system administration utilities and web programming. A large proportion of the CGI scripts on the web are written in Perl. You need the perl package installed on your system so that your system can handle Perl scripts. You need perl-base to have a full perl. %description -l ru Perl - интерпретируемый язык программирования высокого уровня, имеющий корни в C, sed, awk и shell-скриптах. Perl хорошо подходит для обработки процессов и файлов, и особенно хорош для обработки текстов. Ключевые достоинства Perl - практичность и эффективность. Хотя с его помощью выполнялось множество различных задач, возможно, самые распространенные области применения Perl (а также и те, в которых он показывает себя наилучшим образом) - это задачи системного администрирования и программирование для Web. Большая доля CGI-программ написана на Perl. Вам нужно установить пакет perl, чтобы ваша система могла исполнять программы на Perl. Для установки perl также потребуется пакет perl-base. %description base This is the base package for %{name}. %description devel This is the devel package for %{name}. %prep %setup -q -n perl-%{version} %patch0 -p1 -b .buildsys %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %build sh Configure \ -des -Darchname=${RPM_ARCH}-linux -Dd_dosuid -Ud_csh -Duseshrplib \ -Doptimize="$RPM_OPT_FLAGS" -Dprefix=/usr \ -Dman1dir=%{_mandir}/man1 -Dman3dir=%{_libdir}/perl5/man/man3 %{make} %install rm -rf $RPM_BUILD_ROOT cp -f lib/Config.pm.orig lib/Config.pm ||: # in case of short-circuit cp -f lib/Config.pm lib/Config.pm.orig perl -pi -e "s,^(install.*?)='(/usr.*)',\$1='$RPM_BUILD_ROOT\$2'," lib/Config.pm make install cp -f lib/Config.pm.orig $RPM_BUILD_ROOT%{_libdir}/perl5/%{version}/%{_arch}-linux/Config.pm install -m 755 utils/pl2pm $RPM_BUILD_ROOT%{_bindir}/pl2pm bzip2 -9 $RPM_BUILD_ROOT%{_libdir}/perl5/man/man3/* export LD_LIBRARY_PATH=$(pwd) # Generate *.ph files with a trick. Is this sick or what ? make all -f - < perl-base.list < perl.list < perl-devel.list <> %{name}.list (cd $RPM_BUILD_ROOT ; find $LDR/perl5/%{version} -type d -printf "%%%%dir /%%p\n") >> %{name}.list perl -ni -e 'BEGIN { open F, "perl-base.list"; $s{$_} = 1 foreach ; } print unless $s{$_}' %{name}.list perl -ni -e 'BEGIN { open F, "perl-devel.list"; $s{$_} = 1 foreach ; } print unless $s{$_}' %{name}.list ) %clean rm -rf $RPM_BUILD_ROOT %files -f perl.list %defattr(-,root,root) %files base -f perl-base.list %defattr(-,root,root) %files devel -f perl-devel.list %defattr(-,root,root) %changelog * Sat Nov 25 2000 Mikhail Zabaluev 1:5.6.0-ipl1mdk - turned into an official Mandrake RE package - old version set to 5.00600 to comply with automatic requires - Russian groups and information - packages listed to build *.ph files are made BuildRequires - used _perl_lib_path macro to specify the Perl autodeps search path strictly * Tue Nov 23 2000 Mikhail Zabaluev 1:5.6.0-4mdk_mhz - synchronized with 5.600-20mdk by pixel@mandrakesoft.com - enabled 'uselargefiles' again, since the new kernel must support it - removed redundant epoch 1 provides - automatic dependency building for perl * Mon Oct 16 2000 Mikhail Zabaluev 1:5.6.0-3mdk_mhz - -Uuselargefiles configuration option, for compatibility with Apache and workable fcntl($fd, F_SETLK, ...) * Sun Oct 8 2000 Mikhail Zabaluev 1:5.6.0-2mdk_mhz - added %{name} = 1:%{version} in provides to work around an rpm flaw * Sat Oct 7 2000 Mikhail Zabaluev 1:5.6.0-1mdk_mhz - versioning with epoch - excluded *.bs files from perl.list * Sun Sep 3 2000 Pixel 5.600-17mdk - also move warnings/register.pm - fix silly error * Sat Sep 2 2000 Pixel 5.600-16mdk - move Glob.pm and dependencies to perl-base * Sat Sep 2 2000 Pixel 5.600-15mdk - fix filelist cleaning * Wed Aug 23 2000 Pixel 5.600-14mdk - add Packager * Tue Aug 22 2000 Pixel 5.600-13mdk - move dir .../CORE to perl-base - move lib.pm to perl-base (to make installkernel happy) * Fri Aug 18 2000 Pixel 5.600-12mdk - fix-LD_RUN_PATH-for-MakeMaker * Mon Aug 7 2000 Pixel 5.600-11mdk - fix the mailx `!~' (in case you're using the old mailx or a bug appears in mailx...) * Tue Jul 25 2000 Pixel 5.600-10mdk - move DynaLoader.a to -devel - remove menu * Sat Jul 22 2000 Pixel 5.600-9mdk - patch CGI.pm to have $TempFile::TMPDIRECTORY = '/tmp' * Fri Jul 21 2000 Pixel 5.600-8mdk - bad config.h * Fri Jul 21 2000 Pixel 5.600-7mdk - oups, devel was bad :-( * Wed Jul 19 2000 Pixel 5.600-6mdk - BM, macroization * Fri May 19 2000 FranГois Pons 5.600-5mdk - changed asm/*.h to asm*/*.h during .ph generation for sparc. * Fri Mar 31 2000 Pixel 5.600-4mdk - fix a bug causing missing .ph's * Tue Mar 28 2000 Pixel 5.600-3mdk - really add menu * Mon Mar 27 2000 Pixel 5.600-2mdk - add menu * Thu Mar 23 2000 Pixel 5.600-1mdk - change version number for backward compatibility :( (serial is not enough, cuz there are some requires >= 5.00503) * Thu Mar 23 2000 Pixel 5.6.0-1mdk - new version * Tue Mar 21 2000 Pixel 5.6-0.3mdk - RC3 * Thu Mar 16 2000 Pixel 5.6-0.2mdk - RC2 * Thu Mar 9 2000 Pixel 5.6-0.1mdk - new version * Wed Mar 1 2000 Pixel 5.5.670-1mdk - new version * Thu Feb 24 2000 Pixel 5.5.660-1mdk - remove the strip'ing and man page bzip'ing - new version * Wed Feb 9 2000 Pixel 5.5.650-1mdk - new version * Thu Feb 3 2000 Pixel 5.5.640-6mdk - new version (and new version numbering) * Mon Jan 17 2000 FranГois Pons - changed asm/*.h to asm*/*.h during .ph generation for sparc. * Fri Dec 17 1999 Pixel - clean up - fixed the reference to the egcs package * Mon Nov 29 1999 Pixel - removed the `Provides: perl' in perl-base * Mon Nov 22 1999 Stefan van der Eijk - changed i386 into ${RPM_ARCH} * Mon Oct 25 1999 Chmouel Boudjnah - Fix forget manpages from %files. * Thu Oct 14 1999 Pixel - create hackperl based on perl's spec - split in two packages - removed csh dependencie - merged redhat's spec (not everything) * Mon Jul 12 1999 Chmouel Boudjnah - ln /usr/lib/perl5 to /usr/lib/perl5%{current_version} - bzip2 manpages. * Tue Apr 13 1999 Chmouel Boudjnah - Add patch from RedHat6.0. - Update to 5.005_03 * Sat Apr 10 1999 Bernhard Rosenkraenzer - Mandrake adaptions - bzip2 man/info pages - handle RPM_OPT_FLAGS - add de locale * Thu Jan 07 1999 Cristian Gafton - guilty of the inlined Makefile in the spec file - adapted for the arm build * Wed Sep 09 1998 Preston Brown - added newer CGI.pm to the build - changed the version naming scheme around to work with RPM * Sun Jul 19 1998 Jeff Johnson - attempt to generate *.ph files reproducibly * Mon Jun 15 1998 Jeff Johnson - update to 5.004_04-m4 (pre-5.005 maintenance release) * Tue Jun 12 1998 Christopher McCrory - added a patch to correct the .ph constructs unless defined (foo) to read unless(defined(foo)) * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Tue Mar 10 1998 Cristian Gafton - fixed strftime problem * Sun Mar 08 1998 Cristian Gafton - added a patch to fix a security race - do not use setres[ug]id - those are not implemented on 2.0.3x kernels * Mon Mar 02 1998 Cristian Gafton - upgraded to 5.004_04 - 5.004_01 had some nasty memory leaks. - fixed the spec file to be version-independent * Fri Dec 05 1997 Erik Troan - Config.pm wasn't right do to the builtrooting * Mon Oct 20 1997 Erik Troan - fixed arch-specfic part of spec file * Sun Oct 19 1997 Erik Troan - updated to perl 5.004_01 - users a build root * Thu Jun 12 1997 Erik Troan - built against glibc * Tue Apr 22 1997 Erik Troan - Incorporated security patch from Chip Salzenberg * Fri Feb 07 1997 Erik Troan - Use -Darchname=i386-linux - Require csh (for glob) - Use RPM_ARCH during configuration and installation for arch independence --EVF5PPMfhYS0aIcm-- _______________________________________________ Devel mailing list Devel@linux.iplabs.ru http://www.logic.ru/mailman/listinfo/devel