Name: po4a Version: 0.45 Release: 2mamba Summary: Tools to ease translations Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://po4a.alioth.debian.org/ Source: http://alioth.debian.org/frs/download.php/file/3942/po4a-%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 ./Build test %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 * Sun Oct 20 2013 Silvan Calarco 0.45-2mamba - don't own system directories * Mon Sep 30 2013 Silvan Calarco 0.45-1mamba - package created by silvan using the webbuild interface