1
0
forked from pool/perl-Font-AFM

Accepting request 748620 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/748620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Font-AFM?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2019-11-17 18:21:08 +00:00 committed by Git OBS Bridge
commit b2d245b6d0
2 changed files with 21 additions and 27 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 13 18:26:53 UTC 2019 - Arjen de Korte <suse+build@de-korte.org>
- change architecture to 'noarch'
- cleanup spec
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 27 06:45:02 UTC 2013 - coolo@suse.com Wed Feb 27 06:45:02 UTC 2013 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Font-AFM # spec file for package perl-Font-AFM
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LLC.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,55 +12,43 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Font-AFM Name: perl-Font-AFM
Summary: Interface to Adobe Font Metrics Files
License: Artistic-1.0 or GPL-2.0+
Group: Development/Libraries/Perl
Version: 1.20 Version: 1.20
Release: 0 Release: 0
Source: Font-AFM-%{version}.tar.gz Summary: Interface to Adobe Font Metrics Files
Url: http://cpan.org/authors/id/G/GA/GAAS License: Artistic-1.0 OR GPL-2.0-or-later
BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/Perl
URL: https://metacpan.org/pod/Font::AFM
Source: https://cpan.metacpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz
BuildArch: noarch
%{perl_requires} %{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%description %description
This module implements the Font::AFM class. Objects of this class are This module implements the Font::AFM class. Objects of this class are
initialized from an AFM file and allow you to obtain information about initialized from an AFM file and allow you to obtain information about
the font and the metrics of the various glyphs in the font. the font and the metrics of the various glyphs in the font.
Authors:
--------
Gisle Aas <gisle@aas.no>
%prep %prep
%setup -n Font-AFM-%{version} %setup -q -n Font-AFM-%{version}
%build %build
perl Makefile.PL perl Makefile.PL
make %{?_smp_mflags} make %{?_smp_mflags}
make test
%check
make %{?_smp_mflags} 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
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root) %defattr(-, root, root)
%dir %{perl_vendorlib}/Font
%{perl_vendorlib}/Font/*
%{perl_vendorarch}/auto/*
%doc %{_mandir}/man?/*
%doc README Changes %doc README Changes
%changelog %changelog