Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Pango
perl-Pango.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Pango.spec of Package perl-Pango
# # spec file for package perl-Pango (Version 1.221) # # 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 %bcond_with Gtk2 %define real_name Pango %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: Pango Perl module Version: 1.221 Release: 1 License: LGPLv2.1+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Pango/ #Source: http://www.cpan.org/modules/by-module/Pango/Pango-%{version}.tar.gz Source: %{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cairo-devel BuildRequires: pango-devel BuildRequires: update-desktop-files BuildRequires: xorg-x11 xorg-x11-Xvfb xorg-x11-server # BuildRequires: perl %if %{with Gtk2} BuildRequires: perl(Gtk2) >= 1.220 %endif BuildRequires: perl(ExtUtils::MakeMaker) # BuildRequires: perl(Cairo) >= 1.000 BuildRequires: perl(ExtUtils::Depends) >= 0.300 #BuildRequires: perl(ExtUtils::PkgConfig) >= 1.030 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.220 # %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 %description Pango is a library for laying out and rendering text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, but using Pango in conjunction with L<Cairo> and/or L<Gtk2> provides a complete solution with high quality text handling and graphics rendering. Dynamically loaded modules handle text layout for particular combinations of script and font backend. Pango provides a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported. In addition to the low level layout rendering routines, Pango includes Pango::Layout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text. Authors: -------- muppet <scott at asofyet dot org> Torsten Schoenfeld <kaffeetisch at gmx dot de> Marc Lehmann <pcg at goof dot com> %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check %if %maketest %if %{with Gtk2} #### FIXME #### failing with: ## (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base ## XKB: Failed to compile keymap ## Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config # Xvfb -fp /usr/share/fonts/misc -extension RANDR :95 & trap "kill $! || true" EXIT sleep 5 DISPLAY=:95 %{__make} test %else %{__make} test %endif %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 ChangeLog.pre-git doctypes LICENSE MAINTAINERS maps-1.0 maps-1.10 maps-1.16 maps-1.18 maps-1.4 maps-1.6 maps-1.8 NEWS pango.exports pango.typemap README xs_files-1.0 xs_files-1.10 xs_files-1.16 xs_files-1.6 %doc %{_mandir}/man?/* %dir %{perl_vendorarch}/Pango %dir %{perl_vendorarch}/auto/Pango %{perl_vendorarch}/Pango* %{perl_vendorarch}/auto/Pango %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