SPECS: perl-Etk.spec - updated to 0.07, added api patch

qboosh qboosh at pld-linux.org
Sun Sep 9 23:32:13 CEST 2007


Author: qboosh                       Date: Sun Sep  9 21:32:13 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.07, added api patch

---- Files affected:
SPECS:
   perl-Etk.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/perl-Etk.spec
diff -u SPECS/perl-Etk.spec:1.5 SPECS/perl-Etk.spec:1.6
--- SPECS/perl-Etk.spec:1.5	Sun Sep  9 14:19:12 2007
+++ SPECS/perl-Etk.spec	Sun Sep  9 23:32:08 2007
@@ -5,33 +5,37 @@
 #
 %include	/usr/lib/rpm/macros.perl
 %define		pdir	Etk
-
-%define		_pkgname	etk-perl
-Summary:	Perl extention to Etk
-Summary(pl.UTF-8):	Rozszerzenie Perla dla Etk
+Summary:	Perl bindings for the Enlightened ToolKit (Etk)
+Summary(pl.UTF-8):	Wiązanie Perla do ETK - toolkitu Enlightenmenta
 Name:		perl-Etk
-Version:	0.01
-%define		_snap	20060706
-Release:	0.%{_snap}.1
-# not specified, should be same as perl
+Version:	0.07
+Release:	1
+# same as perl 5.8.7 or any later version of perl 5
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://sparky.homelinux.org/snaps/enli/e17/proto/%{_pkgname}-%{_snap}.tar.bz2
-# Source0-md5:	91b0ea2d43c5827184c45a8d8e4db170
+Source0:	http://www.cpan.org/modules/by-module/Etk/Etk-Perl-%{version}.tar.gz
+# Source0-md5:	41aa38a002ea662f8a882191bae442e2
+Patch0:		%{name}-api.patch
 URL:		http://search.cpan.org/dist/Etk-Perl/
 BuildRequires:	etk-devel
 BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	pkgconfig
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Perl extention to Etk.
+Etk module allows the use of Etk from within Perl. You can use them in
+one of two ways, either by using the object oriented approach or
+directly by calling the functions (although this is not recommended).
 
 %description -l pl.UTF-8
-Rozszerzenie Perla dla Etk.
+Moduł Etk pozwala na używanie Etk z poziomu Perla. Można używać go na
+dwa sposoby: zorientowany obiektowo albo bezpośrednio wywołując
+funkcje (choć nie jest to zalecane).
 
 %prep
-%setup -q -n %{_pkgname}
+%setup -q -n Etk-Perl-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -48,21 +52,20 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-cp -a etk_test/* test.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a etk_test/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README
+%doc Changes README TODO
 %{perl_vendorarch}/Etk.pm
 %{perl_vendorarch}/Etk
 %dir %{perl_vendorarch}/auto/Etk
 %{perl_vendorarch}/auto/Etk/Etk.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Etk/Etk.so
-%{perl_vendorarch}/auto/Etk/autosplit.ix
-%{_mandir}/man3/Etk*
+%{_mandir}/man3/Etk*.3*
 %{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -71,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/09/09 21:32:08  qboosh
+- updated to 0.07, added api patch
+
 Revision 1.5  2007/09/09 12:19:12  qboosh
 - available on CPAN now
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-Etk.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list