Compare commits
10 Commits
80217fb114
...
61799871fb
Author | SHA256 | Date | |
---|---|---|---|
61799871fb | |||
|
036a755f40 | ||
|
2d564e8165 | ||
|
85d061b3dc | ||
|
865f0ac195 | ||
|
5a6a2c7a98 | ||
|
d8a54fc6cb | ||
|
7701302c15 | ||
|
14ae4c001b | ||
|
a09a75777d |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:36d0e8cec1b26417107854d7bc513f4712fc3dbb16bf59061878a6e8a26009d0
|
|
||||||
size 10014
|
|
3
Pod-Escapes-1.07.tar.gz
Normal file
3
Pod-Escapes-1.07.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dbf7c827984951fb248907f940fd8f19f2696bc5545c0a15287e0fbe56a52308
|
||||||
|
size 11652
|
35
cpanspec.yml
Normal file
35
cpanspec.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
#description_paragraphs: 3
|
||||||
|
#description: |-
|
||||||
|
# override description from CPAN
|
||||||
|
summary: For resolving Pod E<...> sequences
|
||||||
|
#no_testing: broken upstream
|
||||||
|
#sources:
|
||||||
|
# - source1
|
||||||
|
# - source2
|
||||||
|
#patches:
|
||||||
|
# foo.patch: -p1
|
||||||
|
# bar.patch:
|
||||||
|
# baz.patch: PATCH-FIX-OPENSUSE
|
||||||
|
#preamble: |-
|
||||||
|
# BuildRequires: gcc-c++
|
||||||
|
#post_prep: |-
|
||||||
|
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||||
|
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||||
|
#post_build: |-
|
||||||
|
# rm unused.files
|
||||||
|
#post_install: |-
|
||||||
|
# sed on %{name}.files
|
||||||
|
#license: SUSE-NonFree
|
||||||
|
#skip_noarch: 1
|
||||||
|
#custom_build: |-
|
||||||
|
#./Build build flags=%{?_smp_mflags} --myflag
|
||||||
|
#custom_test: |-
|
||||||
|
#startserver && make test
|
||||||
|
#ignore_requires: Bizarre::Module
|
||||||
|
#skip_doc: regexp_to_skip_for_doc.*
|
||||||
|
#add_doc: files to add to docs
|
||||||
|
#misc: |-
|
||||||
|
#anything else to be added to spec file
|
||||||
|
#follows directly after %files section, so it can contain new blocks or also
|
||||||
|
#changes to %files section
|
@@ -1,3 +1,50 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 27 22:31:55 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- update to 1.07:
|
||||||
|
+ All changes from Ken Williamson as part of EBCDIC work for 5.22
|
||||||
|
+ Fix typo in comment
|
||||||
|
+ Reorder structure definitions
|
||||||
|
+ Fill %Name2character better for EBCDIC
|
||||||
|
+ Generalize for EBCDIC
|
||||||
|
+ doc clarification
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 24 21:05:14 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
- update to 1.06
|
||||||
|
+ e2charnum() was using \d but should use [0-9].
|
||||||
|
RT#70246 report and fix from MARCGREEN
|
||||||
|
+ Added a bunch of pod-related links to SEE ALSO
|
||||||
|
+ Added PREREQ_PM, MIN_PERL_VERSION, LICENSE and repo to Makefile.PL
|
||||||
|
+ Made strict- and warnings-clean.
|
||||||
|
+ Fixed syntax error in abstract: RT#49985 from JDHEDDEN
|
||||||
|
+ Fixed typo reported in RT#85374 by dsteinbrunner
|
||||||
|
+ Noted in pod that now being maintained by NEILB
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 1 13:34:33 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- switch to perl_requires macro
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 25 19:41:33 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec mods
|
||||||
|
* removed ^----------
|
||||||
|
* removed ^#---------
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 19 01:09:49 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- spec fix for perl-macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 16 14:35:39 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
- added perl-macros
|
||||||
|
o autogen filelist with perl_gen_filelist
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 13 00:18:18 CEST 2009 - chris@computersalat.de
|
Sat Jun 13 00:18:18 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Pod-Escapes
|
# spec file for package perl-Pod-Escapes
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,127 +12,50 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%define pren perl
|
%define cpan_name Pod-Escapes
|
||||||
%define mname Pod-Escapes
|
Name: perl-Pod-Escapes
|
||||||
%define ver 1.04
|
Version: 1.07
|
||||||
|
Release: 0
|
||||||
%if !%( echo %{mname} | grep "-" >/dev/null; echo $? )
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
%define mpath %( echo %{mname} | sed -e "s,-,/,g")
|
|
||||||
%define mcnt %( echo %{mpath} | awk -F"/" '{print NF}' )
|
|
||||||
%define fname %(echo %{mname} | awk -F"-" '{print $1}')
|
|
||||||
%else
|
|
||||||
%define mpath %{mname}
|
|
||||||
%define mcnt 1
|
|
||||||
%define fname %{mname}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{?rel:0}%{!?rel:1}
|
|
||||||
%define rel 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
#Distribution: %dist
|
|
||||||
#Packager: %packager
|
|
||||||
#Vendor: %vendor
|
|
||||||
|
|
||||||
Name: %{pren}-%{mname}
|
|
||||||
Summary: For resolving Pod E<...> sequences
|
Summary: For resolving Pod E<...> sequences
|
||||||
Version: %{ver}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Release: %{rel}
|
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
|
||||||
License: Artistic License
|
Source1: cpanspec.yml
|
||||||
Group: Development/Languages/Perl
|
BuildArch: noarch
|
||||||
Url: http://search.cpan.org/perldoc?Pod::Escapes
|
|
||||||
Source: %{mname}-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
Requires: perl = %{perl_version}
|
BuildRequires: perl-macros
|
||||||
Provides: %{mname} Pod::Escapes
|
%{perl_requires}
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%description
|
%description
|
||||||
#-------------------------------------------------------------------------------
|
This module provides things that are useful in decoding Pod E<...>
|
||||||
%{mname} module for perl
|
sequences. Presumably, it should be used only by Pod parsers and/or
|
||||||
|
formatters.
|
||||||
|
|
||||||
This module provides things that are useful in decoding Pod E<...>
|
By default, Pod::Escapes exports none of its symbols. But you can request
|
||||||
sequences. Presumably, it should be used only by Pod parsers and/or
|
any of them to be exported. Either request them individually, as with 'use
|
||||||
formatters.
|
Pod::Escapes qw(symbolname symbolname2...);', or you can do 'use
|
||||||
|
Pod::Escapes qw(:ALL);' to get all exportable symbols.
|
||||||
|
|
||||||
By default, Pod::Escapes exports none of its symbols. But you can request
|
|
||||||
any of them to be exported. Either request them individually, as with `use
|
|
||||||
Pod::Escapes qw(symbolname symbolname2...);', or you can do `use
|
|
||||||
Pod::Escapes qw(:ALL);' to get all exportable symbols.
|
|
||||||
|
|
||||||
Author: Andy Lester <andy@petdance.com>
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%prep
|
%prep
|
||||||
#-------------------------------------------------------------------------------
|
%autosetup -n %{cpan_name}-%{version}
|
||||||
%setup -q -n %{mname}-%{version}
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%build
|
%build
|
||||||
#-------------------------------------------------------------------------------
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
%make_build
|
||||||
%{__make}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%install
|
%install
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
FILES_FILE=%{mname}-%{version}-filelist
|
%files -f %{name}.files
|
||||||
[ %{mcnt} -eq 1 ] && {
|
%doc Changes README
|
||||||
cat > $FILES_FILE << EOF
|
|
||||||
%dir %{perl_vendorarch}/auto/%{mpath}
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
[ %{mcnt} -gt 1 ] && {
|
|
||||||
dir_nm=(`echo %{mname} | sed -e "s,-, ,g"`)
|
|
||||||
ffind="${RPM_BUILD_ROOT}%{perl_vendorarch}/auto/"
|
|
||||||
perl_dir=%{perl_vendorarch}/auto/
|
|
||||||
i=0
|
|
||||||
while [ $i -lt %{mcnt} ]; do
|
|
||||||
if [ -d ${ffind}/${dir_nm[$i]} ]; then
|
|
||||||
cat >> $FILES_FILE << EOF
|
|
||||||
%dir ${perl_dir}/${dir_nm[$i]}
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
ffind=${ffind}/${dir_nm[$i]}
|
|
||||||
perl_dir=${perl_dir}/${dir_nm[$i]}
|
|
||||||
i=$[$i+1]
|
|
||||||
done
|
|
||||||
cat >> $FILES_FILE << EOF
|
|
||||||
${perl_dir}
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%clean
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && %{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%files -f %{mname}-%{version}-filelist
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
# normally you only need to check for doc files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc ChangeLog README
|
|
||||||
%{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/%{fname}
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
%changelog
|
%changelog
|
||||||
#-------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user