8
0

- update the template to fix file list

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GDTextUtil?expand=0&rev=12
This commit is contained in:
Stephan Kulow
2013-09-09 09:42:16 +00:00
committed by Git OBS Bridge
parent 118de944c0
commit bf58d937d6
2 changed files with 29 additions and 33 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 9 09:41:42 UTC 2013 - coolo@suse.com
- update the template to fix file list
-------------------------------------------------------------------
Wed Feb 27 06:34:53 UTC 2013 - coolo@suse.com

View File

@@ -17,54 +17,45 @@
Name: perl-GDTextUtil
BuildRequires: libjpeg-devel
BuildRequires: perl-GD
BuildRequires: perl-macros
BuildRequires: xorg-x11-devel
Version: 0.86
Release: 0
Url: http://cpan.org/modules/by-module/GD/
Summary: text utilities for use with the GD drawing package
%define cpan_name GDTextUtil
Summary: GDTextUtil Perl module
License: Artistic-1.0 or GPL-2.0+
Group: Development/Libraries/Perl
Source: GDTextUtil-%{version}.tar.bz2
Url: http://search.cpan.org/dist/GDTextUtil/
Source: GDTextUtil-0.86.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(GD) >= 1
# MANUAL
BuildRequires: libjpeg-devel
BuildRequires: xorg-x11-devel
Requires: perl(GD) >= 1
%{perl_requires}
%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>
GDTextUtil Perl module
%prep
%setup -q -n GDTextUtil-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make %{?_smp_mflags}
make test
make demo
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README*
%doc %{_mandir}/man?/*
%{perl_vendorarch}/auto/GD/Text
%{perl_vendorlib}/GD
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes Dustismo.LICENSE Dustismo_Sans.ttf README
%changelog