Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
perl-Tk
perl-Tk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Tk.spec of Package perl-Tk
# # spec file for package perl-Tk (Version 804.029) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-Tk BuildRequires: libpng-devel xkeyboard-config xorg-x11 xorg-x11-Xnest xorg-x11-Xvfb xorg-x11-devel xorg-x11-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-scalable %ifnarch s390 s390x BuildRequires: xorg-x11-server %endif License: Artistic ; Public Domain, Freeware Group: Development/Libraries/Perl AutoReqProv: on Version: 804.029 Release: 4 Summary: Perl Tk Url: http://cpan.org/modules/by-module/Tk/ Source: Tk-%{version}.tar.bz2 Patch: Tk-%{version}-lib64.diff Patch1: Tk-%{version}-macro.diff Patch2: Tk-%{version}-null.diff Patch3: Tk-%{version}-refcnt.diff Patch4: Tk-%{version}-event.diff # PATCH-FIX-UPSTREAM compile with recent Xorg versions too - coolo@novell.com Patch5: Tk-%{version}-xorg.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros %description Perl Tk is an enhancement for Perl. It combines the well structured graphical library Tk with the powerful scripting language Perl. %package devel License: Artistic ; Public Domain, Freeware AutoReqProv: on Requires: %{name} = %{version} Provides: perl-Tk:/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Tk/pTk/Lang.h Group: Development/Libraries/Perl Summary: Perl Tk %description devel Perl Tk is an enhancement for Perl. It combines the well structured graphical library Tk with the powerful scripting language Perl. %prep %setup -q -n Tk-%{version} if test "%_lib" = "lib64" ; then %patch fi %patch1 %patch2 %patch3 %patch4 %patch5 %build find -name "*.orig" -exec rm {} \; for file in `find -type f` ; do grep "/usr/local/bin/perl" $file && \ cat $file | \ sed -e "s@/usr/local/bin/perl@/usr/bin/perl@g" > tmpfile && \ mv tmpfile $file grep "/usr/local/bin/nperl" $file && \ cat $file | \ sed -e "s@/usr/local/bin/nperl@/usr/bin/nperl@g" > tmpfile && \ mv tmpfile $file grep "#!\s*/bin/perl" $file && \ cat $file | \ sed -e "s@/bin/perl@/usr/bin/perl@g" > tmpfile && \ mv tmpfile $file grep "#!\s*/tools/local/perl" $file && \ cat $file | \ sed -e "s@/tools/local/perl@/usr/bin/perl@g" > tmpfile && \ mv tmpfile $file grep "/usr/local/bin/new/perl" $file && \ cat $file | \ sed -e "s@/usr/local/bin/new/perl@/usr/bin/perl@g" > tmpfile && \ mv tmpfile $file done #disable test that require Test mv t/browseentry-grabtest.t t/browseentry-grabtest.tt mv t/browseentry2.t t/browseentry2.tt mv t/entry.t t/entry.tt mv t/listbox.t t/listbox.tt # disable test that seems to fail at random mv t/fileevent2.t t/fileevent2.tt perl Makefile.PL XFT=1 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -Wall -fpic" %check Xvfb :95 -screen 0 1280x1024x24 & #430569 trap "kill $!" EXIT sleep 5 DISPLAY=:95 make test %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist rm -f $RPM_BUILD_ROOT/%{perl_vendorarch}/fix_4_os2.pl %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING Change.log Changes Funcs.doc INSTALL PPM-HowTo README* ToDo VERSIONS %doc %{_mandir}/man?/* %{_bindir}/* %{perl_vendorarch}/Tie %{perl_vendorarch}/Tk %{perl_vendorarch}/Tk.* %{perl_vendorarch}/auto/Tk %exclude %{perl_vendorarch}/Tk/pTk %exclude %{perl_vendorarch}/Tk/*.h %files devel %defattr(-,root,root) %{perl_vendorarch}/Tk/pTk %{perl_vendorarch}/Tk/*.h %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor