Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Gtk2
perl-Gtk2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Gtk2.spec of Package perl-Gtk2
# # spec file for package perl-Gtk2 (Version 1.222) # # 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 %define real_name Gtk2 %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} Summary: Perl interface to the 2.x series of the Gimp Toolkit library Version: 1.222 Release: 1 License: LGPLv2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Gtk2/ #Source: http://www.cpan.org/modules/by-module/Gtk2/Gtk2-%{version}.tar.gz Source: %{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gtk2-devel update-desktop-files BuildRequires: xorg-x11 xorg-x11-Xvfb xorg-x11-server BuildRequires: perl BuildRequires: perl(Cairo) >= 1.000 BuildRequires: perl(ExtUtils::Depends) >= 0.300 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.220 BuildRequires: perl(Pango) >= 1.220 BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif Requires: perl(Cairo) >= 1.000 Requires: perl(ExtUtils::Depends) >= 0.300 Requires: perl(ExtUtils::PkgConfig) >= 1.03 Requires: perl(Glib) >= 1.220 Requires: perl(Pango) >= 1.220 %description Perl bindings to the 2.x series of the Gtk+ widget set. This module allows you to write graphical user interfaces in a perlish and object-oriented way, freeing you from the casting and memory management in C, yet remaining very close in spirit to original API. Authors: -------- muppet <scott@asofyet.org> Ross McFarland <rwmcfa1@neces.com> Torsten Schoenfeld <kaffeetisch@web.de> Marc Lehmann <pcg@goof.com> Goran Thyni <goran@kirra.net> Joern Reder <joern@zyn.de> Chas Owens <alas@wilma.widomaker dot com> Guillaume Cottenceau <gc@mandrakesoft.com> %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check %if %maketest Xvfb :95 & trap "kill $! || true" EXIT sleep 5 #disable tests that randomly fail #mv t/GdkGC.t t/GdkGC.tt #mv t/GtkStyle.t t/GtkStyle.tt #mv t/GdkDnd.t t/GdkDnd.tt #mv t/GdkKeys.t t/GdkKeys.tt #mv t/GtkScaleButton.t t/GtkScaleButton.tt #mv t/GtkIconView.t t/GtkIconView.tt #%if %suse_version <= 1110 #mv t/GtkTreeView.t t/GtkTreeView.tt #%endif DISPLAY=:95 %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} find %{buildroot}/usr -type d -depth -exec rmdir {} \; 2>/dev/null %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS LICENSE NEWS README TODO examples gtk-demo tools %doc %{_mandir}/man?/* %dir %{perl_vendorarch}/Gtk2 %dir %{perl_vendorarch}/auto/Gtk2 %{perl_vendorarch}/Gtk2* %{perl_vendorarch}/auto/Gtk2 %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu May 31 2012 Holger Manthey <holger.manthey@bertelsmann.de> - remove perl-version require * Mon Oct 18 2010 Holger Manthey <holger.manthey@bertelsmann.de> - initial build
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