File perl-Font-FreeType.spec of Package perl-Font-FreeType

#
# spec file for package perl-Font-FreeType (Version 0.03)
#
# Copyright (c) 2009 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-Font-FreeType
BuildRequires:  freetype2-devel
License:        Artistic License
Group:          System/X11/Fonts
Requires:       perl = %{perl_version}
AutoReqProv:    on
Summary:        Read font files and render glyphs from Perl using FreeType2
Version:        0.03
Release:        76
Url:            http://search.cpan.org/~geoffr/Font-FreeType-0.03/
Source0:        http://search.cpan.org/CPAN/authors/id/G/GE/GEOFFR/Font-FreeType-0.03.tar.bz2
Patch0:         build.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Read font files and render glyphs from Perl using FreeType2



Authors:
--------
    Geoff Richards <geoff@laxan.com>

%prep
%setup -n Font-FreeType-%{version}
%patch0 -p 1 

%build
perl Makefile.PL
make
#make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%files
%defattr(-,root,root)
%{perl_vendorlib}/*/Font
%dir %{perl_vendorarch}/auto/Font
%{perl_vendorarch}/auto/Font/FreeType
%{_mandir}/man?/*
%doc Changes TODO examples 
/var/adm/perl-modules/perl-Font-FreeType

%changelog
* Sun Aug 12 2007 aj@suse.de
- Fix spec file to build.
* Fri Aug 10 2007 mfabian@suse.de
- fix build.
* Thu Jun 28 2007 mfabian@suse.de
- new package: perl-Font-Freetype version 0.03.
openSUSE Build Service is sponsored by