rpms/po4a/devel po4a.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Axel Thimm (athimm) fedora-extras-commits at redhat.com
Sun Jan 7 00:26:24 UTC 2007


Author: athimm

Update of /cvs/extras/rpms/po4a/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14992/devel

Modified Files:
	.cvsignore sources 
Added Files:
	po4a.spec 
Log Message:
auto-import po4a-0.29-3.at on branch devel from po4a-0.29-3.at.src.rpm


--- NEW FILE po4a.spec ---
Name: po4a
Version: 0.29
Release: 3%{?dist}
Summary: A tool maintaining translations anywhere
Group: Applications/System
License: GPL
URL: http://alioth.debian.org/projects/po4a/
Source0: http://alioth.debian.org/download.php/1798/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
BuildRequires: perl(Module::Build)
BuildRequires: perl(Text::WrapI18N)
BuildRequires: perl(SGMLS) >= 1.03ii
BuildRequires: perl(Locale::gettext) >= 1.01, gettext
BuildRequires: perl(Term::ReadKey)
Requires: gettext

%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

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
find %{buildroot} -type f \( -name .packlist -or -name perllocal.pod \
  -or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} \;
chmod -R u+w %{buildroot}

%find_lang %{name}

# ugly fix to get the translated man pages in utf-8
for file in  %{buildroot}%{_mandir}/*/man*/*.gz; do
  gunzip -c $file | iconv -f latin1 -t utf8 | gzip -c > $file.new
  mv -f $file.new $file
done

%check || :
# check is currently broken due to absence of data-23/fonts
#./Build test verbose=1

%clean
rm -rf %{buildroot}


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README* COPYING TODO
%{_bindir}/po4a*
%{_bindir}/msguntypot
%{perl_vendorlib}/Locale/Po4a
%{_mandir}/man1/po4a*.1*
%{_mandir}/man1/msguntypot.1*
%{_mandir}/man3/Locale::Po4a::*.3pm*
%{_mandir}/man7/po4a.7*
%{_mandir}/*/man1/po4a*.1p*
%{_mandir}/*/man1/msguntypot.1*
%{_mandir}/*/man3/Locale::Po4a::*.3pm*
%{_mandir}/*/man7/po4a.7*


%changelog
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.29-3
- Update to 0.29.

* Sat Feb 18 2006 Axel Thimm <Axel.Thimm at ATrpms.net>
- Initial build.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/po4a/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jan 2007 00:24:09 -0000	1.1
+++ .cvsignore	7 Jan 2007 00:25:54 -0000	1.2
@@ -0,0 +1 @@
+po4a-0.29.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/po4a/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jan 2007 00:24:09 -0000	1.1
+++ sources	7 Jan 2007 00:25:54 -0000	1.2
@@ -0,0 +1 @@
+522c94f4c25e0d18bb00f33d209fe2a8  po4a-0.29.tar.gz




More information about the scm-commits mailing list