Author: tommat Date: Tue Jun 13 10:35:35 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: perl-Text-CharWidth.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Text-CharWidth.spec diff -u /dev/null SPECS/perl-Text-CharWidth.spec:1.1 --- /dev/null Tue Jun 13 12:35:35 2006 +++ SPECS/perl-Text-CharWidth.spec Tue Jun 13 12:35:29 2006 @@ -0,0 +1,54 @@ +# $Revision$, $Date$ +%include /usr/lib/rpm/macros.perl +%define pdir Text +%define pnam CharWidth +Summary: Text::CharWidth - Get number of occupied columns of a string on terminal +Name: perl-Text-CharWidth +Version: 0.04 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 37a723df0580c0758c0ee67b37336c15 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a module to provide equivalent feature as wcwidth(3) and +wcswidth(3). This also provides mblen(3) equivalent subroutine. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%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 Changes README +%{perl_vendorarch}/Text/CharWidth.pm +%{perl_vendorarch}/auto/Text/CharWidth +%{_mandir}/man[13]/* + +%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/06/13 10:35:29 tommat +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
