perl-Lingua-Alphabet-Phonetic/perl-Lingua-Alphabet-Phonetic.spec

Name: perl-Lingua-Alphabet-Phonetic
Summary: Map ABC's to phonetic alphabets
Version: 0.103
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Lingua-Alphabet-Phonetic/
Description: Map ABC to phonetic alphabets.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Martin Thurn <mthurn$cpan,org>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Lingua-Alphabet-Phonetic

Summary: Map ABC's to phonetic alphabets
Name: perl-Lingua-Alphabet-Phonetic
Version: 0.103
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Lingua-Alphabet-Phonetic/

Source: http://www.cpan.org/modules/by-module/Lingua/Lingua-Alphabet-Phonetic-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl >= 0:5.004
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Basename)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Simple)
Requires: perl >= 0:5.004

%description
Map ABC to phonetic alphabets.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man1/phonetize.1*
%doc %{_mandir}/man3/Lingua::Alphabet::Phonetic.3pm*
%doc %{_mandir}/man3/Lingua::Alphabet::Phonetic::*.3pm*
%{_bindir}/phonetize
%dir %{perl_vendorlib}/Lingua/
%dir %{perl_vendorlib}/Lingua/Alphabet/
%{perl_vendorlib}/Lingua/Alphabet/Phonetic/
%{perl_vendorlib}/Lingua/Alphabet/Phonetic.pm

%changelog
* Mon Oct 13 2008 Dag Wieers <dag@wieers.com> - 0.103-1
- Updated to release 0.103.

* Tue Jun 24 2008 Dag Wieers <dag@wieers.com> - 0.102-1
- Updated to release 0.102.

* Fri Mar 14 2008 Dag Wieers <dag@wieers.com> - 0.056-1
- Updated to release 0.056.

* Tue Nov 13 2007 Dag Wieers <dag@wieers.com> - 0.054-1
- Updated to release 0.054.

* Sun Nov 19 2006 Dries Verachtert <dries@ulyssis.org> - 0.053-1
- Initial package.