2007-01-15 23:30:41 +00:00
|
|
|
#
|
2007-12-14 16:05:40 +00:00
|
|
|
# spec file for package perl-GDTextUtil (Version 0.86)
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2009-06-18 15:05:02 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
2009-06-18 15:05:02 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-12-14 16:05:40 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:05:02 +00:00
|
|
|
|
2007-12-14 16:05:40 +00:00
|
|
|
Name: perl-GDTextUtil
|
|
|
|
BuildRequires: libjpeg-devel perl-GD xorg-x11-devel
|
|
|
|
Version: 0.86
|
2009-06-18 15:05:02 +00:00
|
|
|
Release: 72
|
2007-12-14 16:05:40 +00:00
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License; GPL v2 or later
|
|
|
|
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
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%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
|
2007-12-14 16:05:40 +00:00
|
|
|
%setup -q -n GDTextUtil-%{version}
|
2007-01-15 23:30:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
|
|
make
|
|
|
|
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}
|
|
|
|
|
2007-12-14 16:05:40 +00:00
|
|
|
%changelog
|
2009-06-18 15:05:02 +00:00
|
|
|
* Fri Dec 14 2007 anicka@suse.cz
|
2007-12-14 16:05:40 +00:00
|
|
|
- update to 0.86
|
|
|
|
* Fixed check for TTF font support. The libgd error message changed
|
|
|
|
between 1.8 and 2.0
|
2009-06-18 15:05:02 +00:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:41 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:05:02 +00:00
|
|
|
* Wed Sep 28 2005 dmueller@suse.de
|
2007-01-15 23:30:41 +00:00
|
|
|
- add norootforbuild
|
2009-06-18 15:05:02 +00:00
|
|
|
* Wed Jul 28 2004 ro@suse.de
|
2007-01-15 23:30:41 +00:00
|
|
|
- update to 0.86
|
2009-06-18 15:05:02 +00:00
|
|
|
* Thu Sep 25 2003 ro@suse.de
|
2007-01-15 23:30:41 +00:00
|
|
|
- created package version 0.85
|