]> git.pld-linux.org Git - packages/perl-Font-AFM.git/blame - perl-Font-AFM.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Font-AFM.git] / perl-Font-AFM.spec
CommitLineData
ccba9618 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
97b7df46 5%define pdir Font
6%define pnam AFM
884aa8cc 7Summary: Font::AFM - interface to Adobe Font Metrics files
a8aecb03 8Summary(pl.UTF-8): Font::AFM - interfejs do plików metryk fontów Adobe (AFM)
8c706e7e 9Name: perl-Font-AFM
ef0e6e0f 10Version: 1.20
11Release: 1
884aa8cc 12# same as perl
13License: GPL v1+ or Artistic
3c3b8249 14Group: Development/Languages/Perl
5b94fb2d 15Source0: http://www.cpan.org/modules/by-module/Font/%{pdir}-%{pnam}-%{version}.tar.gz
ef0e6e0f 16# Source0-md5: b14ecf4dc4edbd63940aa354eb13c499
5b94fb2d 17URL: http://search.cpan.org/dist/Font-AFM/
00c1f5ce 18BuildRequires: perl-devel >= 1:5.8.0
5b94fb2d 19BuildRequires: rpm-perlprov >= 4.1-13
4fc7fddb 20BuildArch: noarch
33f312ac 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3c3b8249 22
23%description
24Font::AFM is an interface to Adobe Font Metrics files.
25
f8bf0b5b
JR
26%description -l pl.UTF-8
27Font::AFM jest interfejsem do plików metryk fontów Adobe (AFM - Adobe
884aa8cc 28Font Metrics).
3c3b8249 29
30%prep
a7725ccc 31%setup -q -n %{pdir}-%{pnam}-%{version}
3c3b8249 32
33%build
8e5f30cc 34%{__perl} Makefile.PL \
a37f3b4c 35 INSTALLDIRS=vendor
d0ab62d4 36%{__make}
37
38%{?with_tests:%{__make} test}
3c3b8249 39
40%install
41rm -rf $RPM_BUILD_ROOT
42
d0ab62d4 43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
3c3b8249 45
3c3b8249 46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
5f5141ad 51%doc Changes README
5b94fb2d
JB
52%dir %{perl_vendorlib}/Font/Metrics
53%{perl_vendorlib}/Font/Metrics/*.pm
54%{perl_vendorlib}/Font/*.pm
3c3b8249 55%{_mandir}/man3/*
This page took 0.483451 seconds and 4 git commands to generate.