forked from pool/perl-GDTextUtil
Copy from devel:languages:perl/perl-GDTextUtil based on submit request 29440 from user coolo OBS-URL: https://build.opensuse.org/request/show/29440 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-GDTextUtil?expand=0&rev=6
72 lines
2.0 KiB
RPMSpec
72 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package perl-GDTextUtil (Version 0.86)
|
|
#
|
|
# 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-GDTextUtil
|
|
BuildRequires: libjpeg-devel perl-GD xorg-x11-devel
|
|
Version: 0.86
|
|
Release: 73
|
|
Requires: perl = %{perl_version}
|
|
AutoReqProv: on
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic ; GPLv2+
|
|
Url: http://cpan.org/modules/by-module/GD/
|
|
Summary: text utilities for use with the GD drawing package
|
|
Source: GDTextUtil-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package provides three modules that make it possible to work with
|
|
internal GD fonts as well as TrueType fonts, without having to worry
|
|
about different interface functions to call. Apart from an abstract
|
|
interface to all font types and strings for GD, this library also
|
|
provides some utility in aligning and wrapping your string.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Martien Verbruggen <mgjv@comdyn.com.au>
|
|
|
|
%prep
|
|
%setup -q -n GDTextUtil-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
make %{?_smp_mflags}
|
|
make test
|
|
make demo
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc README*
|
|
%doc %{_mandir}/man?/*
|
|
%{perl_vendorarch}/auto/GD/Text
|
|
%{perl_vendorlib}/GD
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|