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:
commit
b2d245b6d0
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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)
|
||||
# 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
|
||||
Summary: Interface to Adobe Font Metrics Files
|
||||
License: Artistic-1.0 or GPL-2.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Version: 1.20
|
||||
Release: 0
|
||||
Source: Font-AFM-%{version}.tar.gz
|
||||
Url: http://cpan.org/authors/id/G/GA/GAAS
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Interface to Adobe Font Metrics Files
|
||||
License: Artistic-1.0 OR GPL-2.0-or-later
|
||||
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}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
|
||||
%description
|
||||
This module implements the Font::AFM class. Objects of this class are
|
||||
initialized from an AFM file and allow you to obtain information about
|
||||
the font and the metrics of the various glyphs in the font.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Gisle Aas <gisle@aas.no>
|
||||
|
||||
%prep
|
||||
%setup -n Font-AFM-%{version}
|
||||
%setup -q -n Font-AFM-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}.files
|
||||
%defattr(-, root, root)
|
||||
%dir %{perl_vendorlib}/Font
|
||||
%{perl_vendorlib}/Font/*
|
||||
%{perl_vendorarch}/auto/*
|
||||
%doc %{_mandir}/man?/*
|
||||
%doc README Changes
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user