osc copypac from project:home:prusnak package:po4a revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/po4a?expand=0&rev=1
This commit is contained in:
commit
25e3ea81c1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
po4a-0.41.tar.gz
Normal file
3
po4a-0.41.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1874531b59631079a48c91bfb8d98392c016a9ef761dfedb03b57325332e86c
|
||||
size 1825470
|
15
po4a.changes
Normal file
15
po4a.changes
Normal file
@ -0,0 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 14:34:29 UTC 2012 - prusnak@opensuse.org
|
||||
|
||||
- spec cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 05 18:09:00 UTC 2011 - elchevive@opensuse.org
|
||||
|
||||
- enable tests and split -lang package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 04 20:13:00 UTC 2011 - elchevive@opensuse.org
|
||||
|
||||
- initial packaging
|
||||
|
88
po4a.spec
Normal file
88
po4a.spec
Normal file
@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package po4a
|
||||
#
|
||||
# Copyright 2012 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
|
||||
Name: po4a
|
||||
Version: 0.41
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Framework to translate documentation and other materials
|
||||
Url: http://po4a.alioth.debian.org/
|
||||
Group: Development/Tools/Other
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: libxslt
|
||||
BuildRequires: perl-Locale-gettext
|
||||
BuildRequires: perl-Module-Build
|
||||
BuildRequires: perl-SGMLS
|
||||
BuildRequires: perl-Term-ReadKey
|
||||
BuildRequires: perl-Text-WrapI18N
|
||||
BuildRequires: perl-base
|
||||
# for test suite
|
||||
BuildRequires: docbook_4
|
||||
BuildRequires: iso_ent
|
||||
BuildRequires: opensp
|
||||
BuildRequires: perl-HTML-Parser
|
||||
BuildRequires: texlive
|
||||
Requires: %{name}-lang = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%lang_package
|
||||
|
||||
%description
|
||||
Po4a extracts the translatable material from its input in a PO file.
|
||||
When the PO file is translated, it re-injects the translation in the structure of the document, and generates the translated document.
|
||||
If a string is not translated (i.e. it was not translated or it is "fuzzy"
|
||||
because the original document was updated), the original string is used.
|
||||
This permits to provide always up-to-date documentation.
|
||||
|
||||
po4a supports currently the following formats:
|
||||
* manpages
|
||||
* POD
|
||||
* XML (generic, DocBook, XHTML, Dia, Guide, or WML)
|
||||
* SGML
|
||||
* TeX (generic, LaTeX, or Texinfo)
|
||||
* text (simple text files with some formatting, markdown, or AsciiDoc)
|
||||
* INI
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
perl Build.PL destdir=%{buildroot} installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=%{buildroot}
|
||||
%find_lang %{name} --with-man --all-name
|
||||
rm -f %{buildroot}%{perl_vendorarch}/auto/po4a/.packlist
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
%doc COPYING NEWS README* TODO changelog
|
||||
%attr(755,root,root) %{_bindir}/*
|
||||
%dir %{perl_vendorlib}/Locale/
|
||||
%{perl_vendorlib}/Locale/Po4a
|
||||
%{_mandir}/man[1357]/*
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user