]> git.pld-linux.org Git - packages/perl-Font-AFM.git/blame - perl-Font-AFM.spec
- rel 3
[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#
a7725ccc 5%include /usr/lib/rpm/macros.perl
97b7df46 6%define pdir Font
7%define pnam AFM
884aa8cc 8Summary: Font::AFM - interface to Adobe Font Metrics files
a8aecb03 9Summary(pl.UTF-8): Font::AFM - interfejs do plików metryk fontów Adobe (AFM)
8c706e7e 10Name: perl-Font-AFM
19348b10 11Version: 1.19
0ab4931d 12Release: 3
884aa8cc 13# same as perl
14License: GPL v1+ or Artistic
3c3b8249 15Group: Development/Languages/Perl
45f617fb 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
19348b10 17# Source0-md5: f72a12a20656c41b29a79c985bd231c9
8e5f30cc 18BuildRequires: rpm-perlprov >= 4.1-13
00c1f5ce 19BuildRequires: perl-devel >= 1:5.8.0
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
19348b10
AM
52%dir %{perl_vendorlib}/%{pdir}/Metrics
53%{perl_vendorlib}/%{pdir}/Metrics/*.pm
54%{perl_vendorlib}/%{pdir}/*.pm
3c3b8249 55%{_mandir}/man3/*
This page took 0.107749 seconds and 4 git commands to generate.