rpms/perl-Pod-Simple-Wiki/F-9 import.log, NONE, 1.1 perl-Pod-Simple-Wiki-0.09-escape.patch, NONE, 1.1 perl-Pod-Simple-Wiki.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lubomir Rintel
lkundrak at fedoraproject.org
Sun Aug 31 09:24:25 UTC 2008
- Previous message (by thread): rpms/perl-Pod-Simple-Wiki/devel import.log, NONE, 1.1 perl-Pod-Simple-Wiki-0.09-escape.patch, NONE, 1.1 perl-Pod-Simple-Wiki.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Pod-Simple-Wiki/F-8 import.log, NONE, 1.1 perl-Pod-Simple-Wiki-0.09-escape.patch, NONE, 1.1 perl-Pod-Simple-Wiki.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/pkgs/rpms/perl-Pod-Simple-Wiki/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17582/F-9
Modified Files:
.cvsignore sources
Added Files:
import.log perl-Pod-Simple-Wiki-0.09-escape.patch
perl-Pod-Simple-Wiki.spec
Log Message:
Initial import
--- NEW FILE import.log ---
perl-Pod-Simple-Wiki-0_09-3_el5:F-9:perl-Pod-Simple-Wiki-0.09-3.el5.src.rpm:1220174293
perl-Pod-Simple-Wiki-0.09-escape.patch:
--- NEW FILE perl-Pod-Simple-Wiki-0.09-escape.patch ---
Escape some characters, also in titles.
http://rt.cpan.org/Public/Bug/Display.html?id=38833
Lubomir Rintel <lkundrak at v3.sk>
--- Pod-Simple-Wiki-0.09/lib/Pod/Simple/Wiki/Confluence.pm.escape 2008-05-24 07:56:48.000000000 +0200
+++ Pod-Simple-Wiki-0.09/lib/Pod/Simple/Wiki/Confluence.pm 2008-08-29 10:09:44.000000000 +0200
@@ -96,16 +96,11 @@
my $self = shift;
my $text = $_[0];
- # Only escape words in paragraphs
- if (not $self->{_in_Para}) {
- $self->{_wiki_text} .= $text;
- return;
- }
-
# Split the text into tokens but maintain the whitespace
my @tokens = split /(\s+)/, $text;
# Escape any tokens here, if necessary.
+ @tokens = map { s/([\[\{-])/\\$1/g; $_ } @tokens;
# Rejoin the tokens and whitespace.
$self->{_wiki_text} .= join '', @tokens;
--- NEW FILE perl-Pod-Simple-Wiki.spec ---
Name: perl-Pod-Simple-Wiki
Version: 0.09
Release: 3%{?dist}
Summary: Utility and perl classes for converting POD to Wiki text
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Pod-Simple-Wiki/
Source0: http://www.cpan.org/authors/id/J/JM/JMCNAMARA/Pod-Simple-Wiki-%{version}.tar.gz
Patch0: perl-Pod-Simple-Wiki-0.09-escape.patch
# Reported upstream: http://rt.cpan.org/Public/Bug/Display.html?id=38833
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Pod::Simple)
BuildRequires: perl(Test::More)
Requires: perl(Pod::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The Pod::Simple::Wiki module is used for converting Pod text to Wiki text.
It currently contains the following output filters: Confluence, Kwiki,
Mediawiki, Moinmoin, Template, Tiddlywiki, Twiki and Usemod.
%prep
%setup -q -n Pod-Simple-Wiki-%{version}
%patch0 -p1 -b .escape
# Convert Windows text file encoding
for FILE in $(find . -type f)
do
sed 's/\r//g' $FILE |iconv -f cp1250 -t utf8 >$FILE.converted
touch --reference $FILE $FILE.converted
mv $FILE.converted $FILE
done
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{_mandir}/man1/*
%{_bindir}/pod2wiki
%changelog
* Fri Aug 29 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 0.09-3
- Add Test::More to BR, re-wrap description
* Fri Aug 29 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 0.09-2
- Fix confluence escaping
* Fri Aug 29 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 0.09-1
- Specfile autogenerated by cpanspec 1.77.
- Fixed PLIST
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Pod-Simple-Wiki/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 30 Aug 2008 21:07:39 -0000 1.1
+++ .cvsignore 31 Aug 2008 09:23:55 -0000 1.2
@@ -0,0 +1 @@
+Pod-Simple-Wiki-0.09.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Pod-Simple-Wiki/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 30 Aug 2008 21:07:39 -0000 1.1
+++ sources 31 Aug 2008 09:23:55 -0000 1.2
@@ -0,0 +1 @@
+9029379c5106b4d96a53ea1d83b68485 Pod-Simple-Wiki-0.09.tar.gz
- Previous message (by thread): rpms/perl-Pod-Simple-Wiki/devel import.log, NONE, 1.1 perl-Pod-Simple-Wiki-0.09-escape.patch, NONE, 1.1 perl-Pod-Simple-Wiki.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Pod-Simple-Wiki/F-8 import.log, NONE, 1.1 perl-Pod-Simple-Wiki-0.09-escape.patch, NONE, 1.1 perl-Pod-Simple-Wiki.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list