forked from pool/perl-GDTextUtil
This commit is contained in:
72
perl-GDTextUtil.spec
Normal file
72
perl-GDTextUtil.spec
Normal file
@@ -0,0 +1,72 @@
|
||||
#
|
||||
# spec file for package perl-GDTextUtil (Version 0.85)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-GDTextUtil
|
||||
BuildRequires: libjpeg-devel perl-GD xorg-x11-devel
|
||||
Version: 0.85
|
||||
Release: 129
|
||||
Requires: perl = %{perl_version}
|
||||
Autoreqprov: on
|
||||
Group: Development/Libraries/Perl
|
||||
License: GPL, Artistic License
|
||||
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 -n GDTextUtil-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
make demo
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
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 -n perl-GDTextUtil
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Sep 28 2005 - dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Thu Jul 29 2004 - ro@suse.de
|
||||
- update to 0.86
|
||||
* Thu Sep 25 2003 - ro@suse.de
|
||||
- created package version 0.85
|
Reference in New Issue
Block a user