perl-Net-DNS-ToolKit/perl-Net-DNS-ToolKit.spec

Name: perl-Net-DNS-ToolKit
Summary: Routines to pick apart, examine and put together DNS packets
Version: 0.48
Release: 1
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-DNS-ToolKit/
Description: Routines to pick apart, examine and put together DNS packets. They can be used for diagnostic purposes or as building blocks for DNS applications such as DNS servers and clients or to allow user applications to interact directly with remote DNS servers.

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: Michael Robinton <michael$bizsystems,com>

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

%define real_name Net-DNS-ToolKit

Summary: Routines to pick apart, examine and put together DNS packets
Name: perl-Net-DNS-ToolKit
Version: 0.48
Release: 1%{?dist}
License: Artistic
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-DNS-ToolKit/

Source: http://www.cpan.org/modules/by-module/Net/Net-DNS-ToolKit-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
Routines to pick apart, examine and put together DNS packets. They can
be used for diagnostic purposes or as building blocks for DNS
applications such as DNS servers and clients or to allow user
applications to interact directly with remote DNS servers.

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

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} OPTIMIZE="%{optflags}"

%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 Artistic Changes INSTALL MANIFEST META.yml README
%doc %{_mandir}/man3/Net::DNS::ToolKit.3pm*
%doc %{_mandir}/man3/Net::DNS::ToolKit::*.3pm*
%dir %{perl_vendorarch}/auto/Net/
%dir %{perl_vendorarch}/auto/Net/DNS/
%{perl_vendorarch}/auto/Net/DNS/ToolKit/
%dir %{perl_vendorarch}/Net/
%dir %{perl_vendorarch}/Net/DNS/
%{perl_vendorarch}/Net/DNS/ToolKit.pm
%{perl_vendorarch}/Net/DNS/ToolKit/

%changelog
* Fri Feb 19 2016 Dries Verachtert <dries.verachtert@dries.eu> - 0.48-1
- Updated to release 0.48.

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 0.42-1
- Updated to version 0.42.

* Mon Mar 03 2008 Dag Wieers <dag@wieers.com> - 0.36-1
- Updated to release 0.36.

* Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 0.35-1
- Updated to release 0.35.

* Thu Nov 15 2007 Dag Wieers <dag@wieers.com> - 0.34-1
- Updated to release 0.34.

* Thu Jul  5 2007 Quien Sabe (aka Jim) <quien-sabe@metaorg.com> - 0.31-1
- Updated to latest upstream version { old source not available }

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.26-1
- Updated to release 0.26.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 0.25-1
- Updated to release 0.25.

* Fri Mar  4 2005 Dries Verachtert <dries@ulyssis.org> - 0.24-1
- Updated to release 0.24.

* Wed Dec 29 2004 Dries Verachtert <dries@ulyssis.org> - 0.23-1
- Updated to release 0.23.

* Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 0.17-1
- Initial package.