Author: mguevara Date: Wed Feb 15 01:32:40 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - Locale::Maketext::Gettext - Joins the gettext and Maketext frameworks
---- Files affected: SPECS: perl-Locale-Maketext-Gettext.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Locale-Maketext-Gettext.spec diff -u /dev/null SPECS/perl-Locale-Maketext-Gettext.spec:1.1 --- /dev/null Wed Feb 15 02:32:40 2006 +++ SPECS/perl-Locale-Maketext-Gettext.spec Wed Feb 15 02:32:35 2006 @@ -0,0 +1,80 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Locale +%define pnam Maketext-Gettext +Summary: Locale::Maketext::Gettext - Joins the gettext and Maketext frameworks +#Summary(pl): +Name: perl-Locale-Maketext-Gettext +Version: 1.17 +Release: 0.1 +# same as perl (REMOVE THIS LINE IF NOT TRUE) +License: same as perl +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 98e591014b8c6af909acafc4513455de +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Locale::Maketext::Gettext joins the GNU gettext and Maketext +frameworks. It is a subclass of Locale::Maketext(3) +that follows the way GNU gettext works. It works seamlessly, both +in the sense of GNU gettext and Maketext. As a result, you enjoy +both their advantages, and get rid of both their problems, too. + +You start as an usual GNU gettext localization project: Work on +PO files with the help of translators, reviewers and Emacs. Turn +them into MO files with msgfmt. Copy them into the appropriate +locale directory, such as +/usr/share/locale/de/LC_MESSAGES/myapp.mo. + +Then, build your Maketext localization class, with your base class +changed from Locale::Maketext(3) to +Locale::Maketext::Gettext. That's all. ^_*' + +# %description -l pl +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc BUGS Changes README +%{perl_vendorlib}/Locale/Maketext/*.pm +%{perl_vendorlib}/Locale/Maketext/Gettext +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/02/15 01:32:35 mguevara +- Locale::Maketext::Gettext - Joins the gettext and Maketext frameworks + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
