forked from pool/perl-GDTextUtil
- 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:
committed by
Git OBS Bridge
parent
118de944c0
commit
bf58d937d6
@@ -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
|
Wed Feb 27 06:34:53 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -17,54 +17,45 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-GDTextUtil
|
Name: perl-GDTextUtil
|
||||||
BuildRequires: libjpeg-devel
|
|
||||||
BuildRequires: perl-GD
|
|
||||||
BuildRequires: perl-macros
|
|
||||||
BuildRequires: xorg-x11-devel
|
|
||||||
Version: 0.86
|
Version: 0.86
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://cpan.org/modules/by-module/GD/
|
%define cpan_name GDTextUtil
|
||||||
Summary: text utilities for use with the GD drawing package
|
Summary: GDTextUtil Perl module
|
||||||
License: Artistic-1.0 or GPL-2.0+
|
License: Artistic-1.0 or GPL-2.0+
|
||||||
Group: Development/Libraries/Perl
|
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
|
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}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides three modules that make it possible to work with
|
GDTextUtil Perl module
|
||||||
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
|
%prep
|
||||||
%setup -q -n GDTextUtil-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
|
||||||
make demo
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes Dustismo.LICENSE Dustismo_Sans.ttf README
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc README*
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorarch}/auto/GD/Text
|
|
||||||
%{perl_vendorlib}/GD
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user