Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > 03600c0a7444166613cdda5409c0110a > files > 5

perl-Tk-800.024-1.src.rpm

# $Revision: 1.36 $, $Date: 2002/07/26 21:12:46 $
%include	/usr/lib/rpm/macros.perl
%define		pdir	Tk
%define		pnam	Tk
Summary:	Tk Perl module
Summary(cs):	Modul Tk pro Perl
Summary(da):	Perlmodul Tk
Summary(de):	Tk Perl Modul
Summary(es):	Módulo de Perl Tk
Summary(fr):	Module Perl Tk
Summary(it):	Modulo di Perl Tk
Summary(ja):	Tk Perl ¥â¥¸¥å¡¼¥ë
Summary(ko):	Tk ÆÞ ¸ðÁÙ
Summary(no):	Perlmodul Tk
Summary(pl):	Modu³ Perla Tk
Summary(pt):	Módulo de Perl Tk
Summary(pt_BR):	Módulo Perl Tk
Summary(ru):	íÏÄÕÌØ ÄÌÑ Perl Tk
Summary(sv):	Tk Perlmodul
Summary(uk):	íÏÄÕÌØ ÄÌÑ Perl Tk
Summary(zh_CN):	Tk Perl Ä£¿é
Name:		perl-Tk
Version:	800.024
Release:	1
License:	GPL
Group:		Development/Languages/Perl
Source0:	ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
Patch0:		%{name}-paths.patch
Patch1:		%{name}-misc.patch
Patch2:		%{name}-man_section.patch
BuildRequires:	XFree86-devel
BuildRequires:	perl-Tie-Watch
BuildRequires:	perl-devel >= 5.6.1
BuildRequires:	rpm-perlprov >= 3.0.3-16
Provides:	perl(Tk::LabRadio)
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
This package gives you the ability to develop perl applications using
the Tk GUI.

%description -l pl
Ten pakiet daje Ci mo¿liwo¶æ tworzenia aplikacji perla z
wykorzystaniem GUI Tk.

%prep
%setup -q -n %{pnam}%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
perl Makefile.PL
perl -i -p -e 's/<default.h>/"default.h"/g' pTk/tixDef.h
%{__make} OPTIMIZE="%{rpmcflags}"

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{perl_sitelib}/Tk

%{__make} install DESTDIR=$RPM_BUILD_ROOT

rm -f $RPM_BUILD_ROOT%{perl_sitearch}/{auto/Tk/.packlist,Tk/reindex.pl} \
	$RPM_BUILD_ROOT%{_mandir}/man3/Tie::Watch.3pm \
	$RPM_BUILD_ROOT%{perl_sitearch}/Tk/*.pod

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc Changes README README.linux ToDo Funcs.doc
%attr(755,root,root) %{_bindir}/*
%dir %{perl_sitelib}/Tk
%{perl_sitearch}/Tk.pm
%{perl_sitearch}/Tk
%dir %{perl_sitearch}/auto/Tk
%{perl_sitearch}/auto/Tk/Tk.bs
%attr(755,root,root) %{perl_sitearch}/auto/Tk/Tk.so
%{perl_sitearch}/auto/Tk/autosplit.ix
%{perl_sitearch}/auto/Tk/*.al
%dir %{perl_sitearch}/auto/Tk/[BHLMNPWXp]*
%dir %{perl_sitearch}/auto/Tk/Canvas
%dir %{perl_sitearch}/auto/Tk/C[lo]*
%dir %{perl_sitearch}/auto/Tk/Entry
%dir %{perl_sitearch}/auto/Tk/Event
%dir %{perl_sitearch}/auto/Tk/Frame
%dir %{perl_sitearch}/auto/Tk/IO
%dir %{perl_sitearch}/auto/Tk/InputO
%dir %{perl_sitearch}/auto/Tk/Sc*
%dir %{perl_sitearch}/auto/Tk/T[Laeio]*
%{perl_sitearch}/auto/Tk/*/autosplit.ix
%{perl_sitearch}/auto/Tk/*/*.al
%{perl_sitearch}/auto/Tk/*/*.bs
%{perl_sitearch}/auto/Tk/*/*.ld
%attr(755,root,root) %{perl_sitearch}/auto/Tk/*/*.so
%{_mandir}/man[13]/*

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: perl-Tk.spec,v $
Revision 1.36  2002/07/26 21:12:46  qboosh
- updated to 800.024, removed outdated nolibpt patch

Revision 1.35  2002/07/20 15:06:45  qboosh
- autosplit.ix files are back (needed)

Revision 1.34  2002/07/20 00:37:17  qboosh
- fixed permissions, release 8

Revision 1.33  2002/07/19 00:13:47  ankry
- translations, cleaning
- changed internal man section to 3 (-man_section.patch)
- new %%doc
- added %%{perl_sitelib}/Tk
- removed *.ix files
- release 7

Revision 1.32  2002/05/11 14:28:14  kloczek
- s/ftp.perl.org/ftp.cpan.org/ in Source url.

Revision 1.31  2002/03/03 21:37:29  marcus
- rel.6.

Revision 1.30  2002/02/22 23:29:33  kloczek
- removed all Group fields translations (our rpm now can handle translating
  Group field using gettext).

Revision 1.29  2002/02/10 15:37:15  depesz
adapterized

Revision 1.28  2002/02/09 12:59:38  depesz
- unfied source path

Revision 1.27  2002/01/18 02:14:33  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.26  2001/10/30 04:14:12  kloczek
- release 5.

Revision 1.25  2001/10/13 22:16:35  qboosh
- BuildRequires: perl-Tie-Watch to get dependency
  (or should Tie::Watch be included in this package? it's in sources...)

Revision 1.24  2001/09/05 22:26:08  kloczek
- release 3: correctly remove Tie::Watch(3pm) man page in %%install.

Revision 1.23  2001/09/05 15:41:31  kloczek
- release 2,
- removed Tie::Watch(3) man page (the same as in perl-Tie-Watch).

Revision 1.22  2001/09/02 17:42:33  kloczek
- updated to 800.023.

Revision 1.21  2001/05/02 21:51:26  qboosh
- adapterized and made spec %%debug ready or added using %%rpm*flags macros

Revision 1.20  2001/04/17 12:17:54  baggins
- release 6
- rebuild with perl 5.6.1

Revision 1.19  2001/04/14 23:47:05  baggins
- release 5
- fixed %%attr

Revision 1.18  2001/04/14 18:00:11  baggins
- removed explicit requirements for perl = %%{version} and %%{perl_sitearch}
  they will be added by rpm if needed

Revision 1.17  2001/03/18 15:54:21  jajcus
- Release: 4
- do not link with libpt. It is part of pwlib which has nothing to do with perl and Tk.

Revision 1.16  2001/01/26 02:18:35  kloczek
- rebuild against perl 5.6.

Revision 1.15  2001/01/25 20:03:47  misiek
Massive attack. We use -O0 instead -O flags while debug enabled.

Revision 1.14  2001/01/04 08:52:36  mguevara
- release 3
- changed include of <default.h> to "default.h" in pTk/tixDef.h
  (this file is created during perl Makefile.PL) this should
  solve make problems with undefined WHITE BLACK and ...
- build tested with perl 5.6

Revision 1.12  2000/11/25 02:38:19  kloczek
 -release 2: added using new rpm automation.

Revision 1.11  2000/11/15 19:03:32  wiget
remove broken file

Revision 1.10  2000/11/15 16:57:24  wiget
don't remove patches

Revision 1.9  2000/11/15 14:50:02  cieciwa
- fixed (?) source location.

Revision 1.8  2000/11/15 14:44:11  cieciwa
- updated to version 800.022.

Revision 1.7  2000/06/09 07:23:42  kloczek
- added using %%{__make} macro.

Revision 1.6  2000/05/23 18:05:25  kloczek
- spec adapterized.

Revision 1.5  2000/04/01 11:15:33  zagrodzki
- changed all BuildRoot definitons
- removed all applnkdir defs
- changed some prereqs/requires
- removed duplicate empty lines

Revision 1.4  2000/03/28 16:55:02  baggins
- translated kloczkish into english

Revision 1.3  1999/11/09 14:43:36  pius
- added BuildRequires: XFree86-devel
- small fixes

Revision 1.2  1999/11/09 00:18:27  pius
- small fix in %%files

Revision 1.1  1999/11/08 18:40:18  pius
- initial release