diff --git a/README.md b/README.md index 7c6c37d..622f7c6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # perl-Locale-Maketext-Gettext +Perl support for Maketext and Gettext. +Locale::Maketext::Gettext joins the GNU gettext and Maketext frameworks. +It is a subclass of Locale::Maketext 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. + diff --git a/perl-Locale-Maketext-Gettext.spec b/perl-Locale-Maketext-Gettext.spec new file mode 100644 index 0000000..446b622 --- /dev/null +++ b/perl-Locale-Maketext-Gettext.spec @@ -0,0 +1,76 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Locale-Maketext-Gettext +Version: 1.28 +Release: 2mamba +Summary: Locale::Maketext::Gettext - Perl support for Maketext and Gettext +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +Source: http://www.cpan.org/authors/id/I/IM/IMACAT/Locale-Maketext-Gettext-%{version}.tar.gz +URL: http://www.cpan.org +License: GPL +BuildRoot: %{_tmppath}/perl-root +Requires: perl >= %perl_major_ver +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-devel >= %perl_major_ver +## AUTOBUILDREQ-END + +%description +Perl support for Maketext and Gettext. +Locale::Maketext::Gettext joins the GNU gettext and Maketext frameworks. +It is a subclass of Locale::Maketext 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. + +%prep +%setup -q -n Locale-Maketext-Gettext-%{version} + +%build +perl Makefile.PL +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%make pure_install DESTDIR=%{buildroot} +packlist=`find %{buildroot} -name .packlist` +[[ -z "$packlist" ]] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Jul 16 2013 Automatic Build System 1.28-2mamba +- automatic rebuild by autodist + +* Sat Jul 04 2009 Automatic Build System 1.28-1mamba +- automatic update by autodist + +* Fri May 01 2009 Automatic Build System 1.27-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.26-2mamba +- automatic rebuild by autodist + +* Wed Jul 02 2008 Tiziana Ferro 1.26-1mamba +- update to 1.26 + +* Wed Apr 27 2005 Davide Madrisan 1.15-1qilnx +- update to version 1.15 by autospec +- fixed perl requirement + +* Wed Mar 31 2004 Silvan Calarco 1.10-1qilnx +- first build