2024-01-06 10:23:29 +01:00
|
|
|
Name: po4a
|
2024-01-06 10:23:30 +01:00
|
|
|
Version: 0.69
|
2024-01-06 10:23:29 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:23:29 +01:00
|
|
|
Summary: Tools to ease translations
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:23:29 +01:00
|
|
|
URL: https://github.com/mquinson/po4a
|
2024-01-06 10:23:29 +01:00
|
|
|
Source: https://github.com/mquinson/po4a.git/v%{version}/po4a-%{version}.tar.bz2
|
2024-01-06 10:23:29 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:23:29 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 10:23:30 +01:00
|
|
|
BuildRequires: perl(Syntax::Keyword::Try)
|
2024-01-06 10:23:29 +01:00
|
|
|
BuildRequires: perl-Encode
|
|
|
|
BuildRequires: perl-Pod-Parser
|
|
|
|
BuildRequires: perl-Scalar-List-Utils
|
|
|
|
BuildRequires: perl-YAML-Tiny
|
2024-01-06 10:23:29 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
The po4a (PO for anything) project goal is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
|
|
|
./Build
|
2024-01-06 10:23:29 +01:00
|
|
|
|
|
|
|
#./Build test
|
2024-01-06 10:23:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
./Build install destdir=%{buildroot}
|
|
|
|
|
|
|
|
packlist=`find %{buildroot} -name .packlist`
|
|
|
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
|
|
|
sed "s,%buildroot,,g;s,.*/man/.*,&\*,g" | \
|
|
|
|
sort -u > .packlist && rm $packlist
|
|
|
|
|
|
|
|
find %{buildroot}%{perl_vendorlib} \
|
|
|
|
-type d -depth -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
#strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
|
|
|
#for dir in `find %{buildroot} -type d | grep $strid`; do
|
|
|
|
# echo %dir ${dir#%buildroot} >> .packlist
|
|
|
|
#done
|
|
|
|
|
|
|
|
#% find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING
|
|
|
|
#% doc NEWS README README.maintainers README.tests README.translators TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:23:30 +01:00
|
|
|
* Sat May 06 2023 Automatic Build System <autodist@mambasoft.it> 0.69-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:23:29 +01:00
|
|
|
* Sun May 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.63-1mamba
|
|
|
|
- update to 0.63
|
|
|
|
|
2024-01-06 10:23:29 +01:00
|
|
|
* Fri Sep 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54-1mamba
|
|
|
|
- update to 0.54
|
|
|
|
|
2024-01-06 10:23:29 +01:00
|
|
|
* Tue Oct 03 2017 Automatic Build System <autodist@mambasoft.it> 0.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:23:29 +01:00
|
|
|
* Tue Nov 22 2016 Automatic Build System <autodist@mambasoft.it> 0.48-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:23:29 +01:00
|
|
|
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-2mamba
|
|
|
|
- don't own system directories
|
|
|
|
|
|
|
|
* Mon Sep 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|