perl-Font-GlyphNames/perl-Font-GlyphNames.spec

Name: perl-Font-GlyphNames
Summary: Convert between glyph names and characters
Version: 1.00000
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Font-GlyphNames/
Description: Convert between glyph names and characters.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Father Chrysostomos <sprout$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Font-GlyphNames

Summary: Convert between glyph names and characters
Name: perl-Font-GlyphNames
Version: 1.00000
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Font-GlyphNames/

Source: http://search.cpan.org/CPAN/authors/id/S/SP/SPROUT/Font-GlyphNames-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Test::More)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(subs)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(Encode)
Requires: perl(Exporter)
Requires: perl(File::Spec::Functions)
Requires: perl(Test::More)
Requires: perl(lib)
Requires: perl(strict)
Requires: perl(subs)
Requires: perl(utf8)
Requires: perl(warnings)

%filter_from_requires /^perl*/d
%filter_setup

%description
Convert between glyph names and characters.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Font::GlyphNames.3pm*
%dir %{perl_vendorlib}/Font/
%{perl_vendorlib}/Font/GlyphNames/
%{perl_vendorlib}/Font/GlyphNames.pm

%changelog
* Wed Dec 30 2009 Christoph Maser <cmr@financial.com> - 1.00000-1
- Updated to version 1.00000.

* Mon Jun 23 2008 Dag Wieers <dag@wieers.com> - 0.03-1
- Updated to release 0.03.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 0.02-1
- Initial package.