SPECS: perl.spec - rel 0.2; more files; is it ready for rel 1 now?...
arekm
arekm at pld-linux.org
Thu Feb 7 21:30:19 CET 2008
Author: arekm Date: Thu Feb 7 20:30:19 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 0.2; more files; is it ready for rel 1 now? speak up if you have objections
---- Files affected:
SPECS:
perl.spec (1.369 -> 1.370)
---- Diffs:
================================================================
Index: SPECS/perl.spec
diff -u SPECS/perl.spec:1.369 SPECS/perl.spec:1.370
--- SPECS/perl.spec:1.369 Tue Jan 15 21:11:29 2008
+++ SPECS/perl.spec Thu Feb 7 21:30:14 2008
@@ -1,32 +1,7 @@
# $Revision$, $Date$
# unpackaged:
-# /usr/bin/config_data
-# /usr/bin/corelist
-# /usr/bin/cpan2dist
-# /usr/bin/cpanp
-# /usr/bin/cpanp-run-perl
-# /usr/bin/prove
-# /usr/bin/ptar
-# /usr/bin/ptardiff
-# /usr/bin/shasum
# /usr/lib/perl5/5.10.0/i686-pld-linux-thread-multi/.packlist
# /usr/lib/perl5/5.10.0/i686-pld-linux-thread-multi/auto/sdbm/extralibs.ld
-# /usr/share/man/man1/config_data.1.gz
-# /usr/share/man/man1/corelist.1.gz
-# /usr/share/man/man1/cpan2dist.1.gz
-# /usr/share/man/man1/cpanp.1.gz
-# /usr/share/man/man1/perlcommunity.1.gz
-# /usr/share/man/man1/prove.1.gz
-# /usr/share/man/man1/ptar.1.gz
-# /usr/share/man/man1/ptardiff.1.gz
-# /usr/share/man/man1/shasum.1.gz
-# /usr/share/man/man3/IPC::Cmd.3perl.gz
-# /usr/share/man/man3/XS::APItest.3perl.gz
-# /usr/share/man/man3/XS::Typemap.3perl.gz
-# /usr/share/man/man3/vmsish.3perl.gz
-# /usr/share/perl5/5.10.0/Unicode/Collate/allkeys.txt
-# /usr/share/perl5/5.10.0/pod/a2p.pod
-# /usr/share/perl5/5.10.0/vmsish.pm
#
# Conditional build:
%bcond_without tests # do not perform "make test"
@@ -58,7 +33,7 @@
%define perl_vendorlib %{_datadir}/perl5/vendor_perl
%define perl_vendorarch %{_libdir}/perl5/vendor_perl/%{_abi}/%{_target_platform}%{perlthread}
-%define _rel 0.1
+%define _rel 0.2
Summary: Practical Extraction and Report Language (Perl)
Summary(cs.UTF-8): Programovací jazyk Perl
Summary(da.UTF-8): Programmeringssproget Perl
@@ -550,18 +525,18 @@
%description tools
Various tools from the core Perl distribution:
a2p - Awk to Perl translator
-cpan - easily interact with CPAN from the command line
find2perl - translate find command lines to Perl code
piconv - iconv(1), reinvented in Perl
psed, s2p - a stream editor
+and others.
%description tools -l pl.UTF-8
Różne narzędzia z podstawowej dystrybucji Perla:
a2p - translator skryptów Awka do Perla
-cpan - easily interact with CPAN from the command line
find2perl - tłumaczenie linii poleceń programu find na kod w Perlu
piconv - iconv(1) napisany w Perlu
psed, s2p - edytor strumieniowy
+i inne.
%package tools-devel
Summary: Developer's tools from the core Perl distribution
@@ -708,7 +683,7 @@
## {Scalar,List}::Util should be in perl_archlib (it's a bit tricky and should
## probably be done in %%prep, but then Configure would complain (->MANIFEST))
mv ext/List/Util/lib/List/Util.pm ext/List/Util
-rm -f ext/List/Util/Makefile.PL
+rm --interactive=never ext/List/Util/Makefile.PL
cat <<'EOF' > ext/List/Util/Makefile.PL
use ExtUtils::MakeMaker;
WriteMakefile(NAME=>"List::Util", VERSION_FROM=>"Util.pm", DEFINE=>"-DPERL_EXT");
@@ -728,7 +703,7 @@
## microperl
%if %{with microperl}
-rm -f uconfig.h
+rm --interactive=never uconfig.h
#chmod u+w uconfig.sh
#echo "usemallocwrap='define'" >> uconfig.sh
%{__make} -f Makefile.micro \
@@ -763,7 +738,7 @@
%{__ln_s} -f psed $RPM_BUILD_ROOT%{_bindir}/s2p
## Fix lib
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so
+rm --interactive=never $RPM_BUILD_ROOT%{perl_archlib}/CORE/libperl.so
%{__ln_s} `%{__perl} -e '$_="'%{perl_archlib}/CORE/libperl.so.%{_abi}'";s|^'%{_libdir}'/*||;print'` \
$RPM_BUILD_ROOT%{_libdir}/libperl.so.%{_abi}
%{__ln_s} libperl.so.%{_abi} $RPM_BUILD_ROOT%{_libdir}/libperl.so
@@ -796,37 +771,46 @@
cd "$owd"
## remove man pages for other operating systems
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/perl{aix,amiga,apollo,beos,bs2000,ce,cygwin,dgux,dos}* \
+rm --interactive=never $RPM_BUILD_ROOT%{_mandir}/man1/perl{aix,amiga,apollo,beos,bs2000,ce,cygwin,dgux,dos}* \
$RPM_BUILD_ROOT%{_mandir}/man1/perl{freebsd,hpux,machten,macos,mpeix,os2,os390}* \
$RPM_BUILD_ROOT%{_mandir}/man1/perl{qnx,solaris,vmesa,vms,vos,win32}*
## symlink perldelta.1.gz -> perlFOOdelta.1.gz
[ -e $RPM_BUILD_ROOT%{_mandir}/man1/perl%(echo %{version} | tr -d .)delta.1 ] || exit 1
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/perldelta.1
+rm $RPM_BUILD_ROOT%{_mandir}/man1/perldelta.1
echo ".so perl%(echo %{version} | tr -d .)delta.1" >$RPM_BUILD_ROOT%{_mandir}/man1/perldelta.1
## These File::Spec submodules are for non-Unix systems
-rm -f $RPM_BUILD_ROOT%{perl_privlib}/File/Spec/[EMOVW]*.pm
-rm -f $RPM_BUILD_ROOT%{_mandir}/man3/File::Spec::{Epoc,Mac,OS2,VMS,Win32}.3pm*
+rm --interactive=never $RPM_BUILD_ROOT%{perl_privlib}/File/Spec/[EMOVW]*.pm
+rm $RPM_BUILD_ROOT%{_mandir}/man3/File::Spec::{Epoc,Mac,OS2,VMS,Win32}.3perl*
## We already have these *.pod files as man pages
-rm -f $RPM_BUILD_ROOT%{perl_privlib}/{Encode,Test,Net,Locale{,/Maketext},MakeMaker}/*.pod
-rm -f $RPM_BUILD_ROOT%{perl_privlib}/*.pod
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/*.pod
+rm --interactive=never $RPM_BUILD_ROOT%{perl_privlib}/{Encode,Test,Net,Locale{,/Maketext}}/*.pod
+rm $RPM_BUILD_ROOT%{perl_privlib}/pod/a2p.pod
+rm --interactive=never $RPM_BUILD_ROOT%{perl_privlib}/*.pod
+rm --interactive=never $RPM_BUILD_ROOT%{perl_archlib}/*.pod
## this object file looks unused; why is it there?
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/CORE/sperl.o
+rm --interactive=never $RPM_BUILD_ROOT%{perl_archlib}/CORE/sperl.o
install -d doc-base/{Getopt/Long,Switch} \
doc-devel/ExtUtils \
doc-modules/{Attribute/Handlers,Filter/Simple,I18N/LangTags,Locale/{Codes,Maketext},Memoize,NEXT,Net/Ping,Term/ANSIColor,Test/Simple,Text/{Balanced,TabsWrap},Unicode/Collate,unicore}
# needed only for tests
-rm -f $RPM_BUILD_ROOT%{perl_privlib}/Unicode/Collate/keys.txt
+rm --interactive=never $RPM_BUILD_ROOT%{perl_privlib}/Unicode/Collate/keys.txt
mv -f $RPM_BUILD_ROOT%{perl_privlib}/unicore/ReadMe.txt \
doc-modules/unicore
# source for *.pl
-rm -f $RPM_BUILD_ROOT%{perl_privlib}/unicore/{*.txt,mktables}
+rm --interactive=never $RPM_BUILD_ROOT%{perl_privlib}/unicore/{*.txt,mktables}
+# cpan tools, we use rpm instead of cpan for managing packages (some search tool would be nice to have but...)
+rm --interactive=never $RPM_BUILD_ROOT%{_bindir}/cpan*
+rm --interactive=never $RPM_BUILD_ROOT%{_mandir}/man1/cpan*
+# others
+rm --interactive=never $RPM_BUILD_ROOT%{_bindir}/config_data
+rm --interactive=never $RPM_BUILD_ROOT%{_mandir}/man1/config_data*
+rm --interactive=never $RPM_BUILD_ROOT%{_mandir}/man3/XS::APItest*
+rm --interactive=never $RPM_BUILD_ROOT%{_mandir}/man3/XS::Typemap*
## dir tree for other perl modules
install -d $RPM_BUILD_ROOT{%{perl_vendorlib},%{perl_vendorarch},%{perl_vendorarch}/auto}
@@ -926,6 +910,7 @@
%{_mandir}/man3/Getopt*
%{perl_privlib}/IPC
%{_mandir}/man3/IPC::Open*
+%{_mandir}/man3/IPC::Cmd*
%{perl_privlib}/SelectSaver.pm
%{_mandir}/man3/SelectSaver.*
%{perl_privlib}/Symbol.pm
@@ -1019,6 +1004,8 @@
# FIXME: Changes file to _docdir (and rm MANIFEST.SKIP?)
%{perl_privlib}/ExtUtils
%{_mandir}/man3/ExtUtils*
+%{perl_privlib}/vmsish.pm
+%{_mandir}/man3/vmsish.*
%{perl_privlib}/CPAN*
%{_mandir}/man3/CPAN*
%{perl_privlib}/DB.*
@@ -1072,6 +1059,7 @@
%{_mandir}/man1/perlcall.*
%{_mandir}/man1/perlcheat.*
%{_mandir}/man1/perlclib.*
+%{_mandir}/man1/perlcommunity.*
%{_mandir}/man1/perlcompile.*
%{_mandir}/man1/perld[!o]*
%{_mandir}/man1/perli[!v]*
@@ -1154,13 +1142,8 @@
%{perl_archlib}/gnu
%{perl_archlib}/linux
%{perl_archlib}/sys
-%ifarch %{x8664}
-%{perl_archlib}/asm-i386
-%{perl_archlib}/asm-x86_64
-%endif
-%ifarch sparc64
-%{perl_archlib}/asm-sparc
-%{perl_archlib}/asm-sparc64
+%ifarch %{x8664} sparc64
+%{perl_archlib}/asm-*
%endif
%{perl_archlib}/Compress
@@ -1281,6 +1264,7 @@
%dir %{perl_privlib}/Unicode
%{perl_privlib}/Unicode/*.pm
+%{perl_privlib}/Unicode/Collate
%{perl_archlib}/Unicode
%dir %{perl_archlib}/auto/Unicode
%dir %{perl_archlib}/auto/Unicode/*
@@ -1388,8 +1372,8 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/a2p
%{_mandir}/man1/a2p.*
-%attr(755,root,root) %{_bindir}/cpan
-%{_mandir}/man1/cpan.*
+%attr(755,root,root) %{_bindir}/corelist
+%{_mandir}/man1/corelist.*
%attr(755,root,root) %{_bindir}/find2perl
%{_mandir}/man1/find2perl.*
%attr(755,root,root) %{_bindir}/instmodsh
@@ -1399,9 +1383,15 @@
%attr(755,root,root) %{_bindir}/piconv
%{_mandir}/man1/piconv.*
%attr(755,root,root) %{_bindir}/psed
-%attr(755,root,root) %{_bindir}/s2p
%{_mandir}/man1/psed.*
+%attr(755,root,root) %{_bindir}/ptar
+%{_mandir}/man1/ptar.*
+%attr(755,root,root) %{_bindir}/ptardiff
+%{_mandir}/man1/ptardiff.*
+%attr(755,root,root) %{_bindir}/s2p
%{_mandir}/man1/s2p.*
+%attr(755,root,root) %{_bindir}/shasum
+%{_mandir}/man1/shasum.*
%files tools-devel
%defattr(644,root,root,755)
@@ -1425,6 +1415,8 @@
%{_mandir}/man1/perlivp.*
%attr(755,root,root) %{_bindir}/pl2pm
%{_mandir}/man1/pl2pm.*
+%attr(755,root,root) %{_bindir}/prove
+%{_mandir}/man1/prove.*
%attr(755,root,root) %{_bindir}/splain
%{_mandir}/man1/splain.*
%attr(755,root,root) %{_bindir}/xsubpp
@@ -1448,6 +1440,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.370 2008-02-07 20:30:14 arekm
+- rel 0.2; more files; is it ready for rel 1 now? speak up if you have objections
+
Revision 1.369 2008-01-15 20:11:29 glen
- unpackaged list, restore %clean (use ./repackage.sh for that)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl.spec?r1=1.369&r2=1.370&f=u
More information about the pld-cvs-commit
mailing list