Compare commits

...

10 Commits

Author SHA256 Message Date
61799871fb Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=14
2024-07-27 21:51:20 +00:00
Lars Vogdt
036a755f40 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=13
2014-12-27 22:33:19 +00:00
Lars Vogdt
2d564e8165 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=12
2014-03-24 21:07:25 +00:00
Stephan Kulow
85d061b3dc use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=11
2011-11-17 15:46:46 +00:00
Stephan Kulow
865f0ac195 don't use rpm macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=9
2011-11-17 14:06:38 +00:00
Stephan Kulow
5a6a2c7a98 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=7
2010-12-03 14:48:01 +00:00
Stephan Kulow
d8a54fc6cb siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=6
2010-12-01 13:52:55 +00:00
Christian Wittmer
7701302c15 clean up spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=5
2009-07-25 17:41:36 +00:00
Christian Wittmer
14ae4c001b spec fix for macros.perl
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=4
2009-06-19 12:39:19 +00:00
Christian Wittmer
a09a75777d Copy from home:computersalat:devel:perl/perl-Pod-Escapes via accept of submit request 12294
Request was accepted with message:
reviewed, OK

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Pod-Escapes?expand=0&rev=3
2009-06-17 11:36:27 +00:00
5 changed files with 112 additions and 107 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbf7c827984951fb248907f940fd8f19f2696bc5545c0a15287e0fbe56a52308
size 11652

35
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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 mname Pod-Escapes
%define ver 1.04
%if !%( echo %{mname} | grep "-" >/dev/null; echo $? )
%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}
%define cpan_name Pod-Escapes
Name: perl-Pod-Escapes
Version: 1.07
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: For resolving Pod E<...> sequences
Version: %{ver}
Release: %{rel}
License: Artistic License
Group: Development/Languages/Perl
Url: http://search.cpan.org/perldoc?Pod::Escapes
Source: %{mname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
Requires: perl = %{perl_version}
Provides: %{mname} Pod::Escapes
BuildRequires: perl-macros
%{perl_requires}
#-------------------------------------------------------------------------------
%description
#-------------------------------------------------------------------------------
%{mname} module for perl
This module provides things that are useful in decoding Pod E<...>
sequences. Presumably, it should be used only by Pod parsers and/or
formatters.
This module provides things that are useful in decoding Pod E<...>
sequences. Presumably, it should be used only by Pod parsers and/or
formatters.
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.
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
#-------------------------------------------------------------------------------
%setup -q -n %{mname}-%{version}
%autosetup -n %{cpan_name}-%{version}
#-------------------------------------------------------------------------------
%build
#-------------------------------------------------------------------------------
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
FILES_FILE=%{mname}-%{version}-filelist
[ %{mcnt} -eq 1 ] && {
cat > $FILES_FILE << EOF
%dir %{perl_vendorarch}/auto/%{mpath}
EOF
}
%files -f %{name}.files
%doc Changes README
[ %{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
#-------------------------------------------------------------------------------