Accepting request 262442 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/262442 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/po4a?expand=0&rev=12
This commit is contained in:
commit
57fbb1208b
@ -1,89 +0,0 @@
|
||||
diff -ur po4a-0.44.old/lib/Locale/Po4a/Po.pm po4a-0.44/lib/Locale/Po4a/Po.pm
|
||||
--- po4a-0.44.old/lib/Locale/Po4a/Po.pm 2012-10-21 00:03:24.000000000 +0100
|
||||
+++ po4a-0.44/lib/Locale/Po4a/Po.pm 2013-04-17 11:26:54.749652129 +0100
|
||||
@@ -572,7 +572,8 @@
|
||||
|
||||
if (-e $filename) {
|
||||
my ($tmp_filename);
|
||||
- (undef,$tmp_filename)=File::Temp->tempfile($filename."XXXX",
|
||||
+ my $basename = basename($filename);
|
||||
+ (undef,$tmp_filename)=File::Temp::tempfile($basename."XXXX",
|
||||
DIR => "/tmp",
|
||||
OPEN => 0,
|
||||
UNLINK => 0);
|
||||
diff -ur po4a-0.44.old/lib/Locale/Po4a/Wml.pm po4a-0.44/lib/Locale/Po4a/Wml.pm
|
||||
--- po4a-0.44.old/lib/Locale/Po4a/Wml.pm 2012-10-21 00:03:24.000000000 +0100
|
||||
+++ po4a-0.44/lib/Locale/Po4a/Wml.pm 2013-04-17 11:27:43.904492845 +0100
|
||||
@@ -81,7 +81,7 @@
|
||||
sub read {
|
||||
my ($self,$filename)=@_;
|
||||
my $tmp_filename;
|
||||
- (undef,$tmp_filename)=File::Temp->tempfile("po4aXXXX",
|
||||
+ (undef,$tmp_filename)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".xml",
|
||||
OPEN => 0,
|
||||
diff -ur po4a-0.44.old/po4a po4a-0.44/po4a
|
||||
--- po4a-0.44.old/po4a 2012-10-21 00:03:24.000000000 +0100
|
||||
+++ po4a-0.44/po4a 2013-04-17 11:26:05.938810267 +0100
|
||||
@@ -1209,7 +1209,7 @@
|
||||
chdir $po4a_opts{"srcdir"}
|
||||
if (defined $po4a_opts{"srcdir"});
|
||||
if ($po4a_opts{"split"}) {
|
||||
- (undef,$pot_filename)=File::Temp->tempfile("po4aXXXX",
|
||||
+ (undef,$pot_filename)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".pot",
|
||||
OPEN => 0,
|
||||
@@ -1239,7 +1239,7 @@
|
||||
# Create a temporary POT, and check if the old one needs to be
|
||||
# updated (unless --force was specified).
|
||||
unless ($po4a_opts{"force"}) {
|
||||
- (undef,$tmp_file)=File::Temp->tempfile("po4aXXXX",
|
||||
+ (undef,$tmp_file)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".pot",
|
||||
OPEN => 0,
|
||||
@@ -1270,7 +1270,7 @@
|
||||
# Generate a complete .po
|
||||
foreach my $lang (sort keys %po_filename) {
|
||||
my $tmp_bigpo;
|
||||
- (undef,$tmp_bigpo)=File::Temp->tempfile("po4aXXXX",
|
||||
+ (undef,$tmp_bigpo)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => "-$lang.po",
|
||||
OPEN => 0,
|
||||
@@ -1336,7 +1336,7 @@
|
||||
my $tmp_file;
|
||||
# Create a temporary PO, and check if the old one needs to be
|
||||
# updated (unless --force was specified).
|
||||
- (undef,$tmp_file)=File::Temp->tempfile("po4aXXXX",
|
||||
+ (undef,$tmp_file)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".po",
|
||||
OPEN => 0,
|
||||
diff -ur po4a-0.44.old/po4a-updatepo po4a-0.44/po4a-updatepo
|
||||
--- po4a-0.44.old/po4a-updatepo 2012-10-21 00:03:24.000000000 +0100
|
||||
+++ po4a-0.44/po4a-updatepo 2013-04-17 11:26:05.938810267 +0100
|
||||
@@ -248,7 +248,7 @@
|
||||
if $_ eq '-' && !-e '-'} @pofiles;
|
||||
|
||||
my ($pot_filename);
|
||||
-(undef,$pot_filename)=File::Temp->tempfile("po4a-updatepoXXXX",
|
||||
+(undef,$pot_filename)=File::Temp::tempfile("po4a-updatepoXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".pot",
|
||||
OPEN => 0,
|
||||
diff -ur po4a-0.44.old/scripts/msguntypot po4a-0.44/scripts/msguntypot
|
||||
--- po4a-0.44.old/scripts/msguntypot 2012-10-21 00:03:24.000000000 +0100
|
||||
+++ po4a-0.44/scripts/msguntypot 2013-04-17 11:26:05.939810264 +0100
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
# Get all po files and report differences in them
|
||||
my ($pofile);
|
||||
-(undef,$pofile)=File::Temp->tempfile("po4aXXXX",
|
||||
+(undef,$pofile)=File::Temp::tempfile("po4aXXXX",
|
||||
DIR => "/tmp",
|
||||
SUFFIX => ".po",
|
||||
OPEN => 0,
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:718479ff301bfc5182a653d2392bef7ef172fff4a4996902cb68e32372a3a608
|
||||
size 2166715
|
3
po4a-0.45.tar.gz
Normal file
3
po4a-0.45.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5f47db85b48893d87d921152c96082233975bd0e0a9ee14f58c07d7dff81678
|
||||
size 2208959
|
33
po4a.changes
33
po4a.changes
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 19 19:40:02 UTC 2014 - bwiedemann@suse.com
|
||||
|
||||
- fix download link
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 12:14:38 UTC 2014 - elchevive@opensuse.org
|
||||
|
||||
- drop po4a-0.44-use-tempfile-correctly.patch
|
||||
- updated to version 0.45
|
||||
|
||||
po4a:
|
||||
* Fix usage of File::Temp::tempfile to allow using Perl >= 5.18.
|
||||
|
||||
Asciidoc:
|
||||
* Make it a standalone format.
|
||||
|
||||
Docbook:
|
||||
* Make <beginpage> inline.
|
||||
|
||||
Ini:
|
||||
* Add key parameter as an automatic comment. This allows using
|
||||
po4a-gettextize on ini files.
|
||||
|
||||
LaTeX:
|
||||
* Fix handling of optional parameters in newtheorem command.
|
||||
|
||||
Po:
|
||||
* Fix computation of timezone written into PO files.
|
||||
|
||||
Sgml:
|
||||
* Fix failing tests with recent Docbook DTD.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 17:22:28 UTC 2013 - elchevive@opensuse.org
|
||||
|
||||
|
10
po4a.spec
10
po4a.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package po4a
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,16 +17,13 @@
|
||||
|
||||
|
||||
Name: po4a
|
||||
Version: 0.44
|
||||
Version: 0.45
|
||||
Release: 0
|
||||
Summary: Framework to translate documentation and other materials
|
||||
License: GPL-2.0
|
||||
Group: Development/Tools/Other
|
||||
Url: http://po4a.alioth.debian.org/
|
||||
Source: http://alioth.debian.org/frs/download.php/file/3786/%{name}-%{version}.tar.gz
|
||||
|
||||
# PATCH-FIX-UPSTREAM po4a-0.44-use-tempfile-correctly.patch Will be fixed in next version.
|
||||
Patch0: po4a-0.44-use-tempfile-correctly.patch
|
||||
Source: http://alioth.debian.org/frs/download.php/file/3942/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
%if 0%{?suse_version} > 1210
|
||||
@ -75,7 +72,6 @@ po4a supports currently the following formats:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
perl Build.PL installdirs=vendor
|
||||
|
Loading…
x
Reference in New Issue
Block a user