auto-import perl-Font-AFM-1.19-1 on branch devel from
perl-Font-AFM-1.19-1.src.rpm
This commit is contained in:
parent
18a653cdb2
commit
8558154768
@ -0,0 +1 @@
|
||||
Font-AFM-1.19.tar.gz
|
||||
54
perl-Font-AFM.spec
Normal file
54
perl-Font-AFM.spec
Normal file
@ -0,0 +1,54 @@
|
||||
Name: perl-Font-AFM
|
||||
Version: 1.19
|
||||
Release: 1%{?dist}
|
||||
Summary: Font::AFM Perl module
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Font-AFM/
|
||||
Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Font-AFM-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Interface to Adobe Font Metrics files
|
||||
|
||||
%prep
|
||||
%setup -q -n Font-AFM-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Font
|
||||
%{_mandir}/man3/Font*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 22 2005 Ralf Corsepius <ralf@links2linux.de> - 1.19-1
|
||||
- FE submission.
|
||||
|
||||
* Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 1.19-0.pm.2
|
||||
- Initial packman release.
|
||||
Loading…
Reference in New Issue
Block a user