General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

perl-Net-TFTP spec file : Dries RPM Repository

Back to the perl-Net-TFTP rpms

Current spec in pydar2:


# $Id: perl-Net-TFTP.spec 5991 2007-11-15 04:28:09Z dag $
# Authority: dries
# Upstream: Graham Barr 

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

%define real_name Net-TFTP

Summary: TFTP Client class
Name: perl-Net-TFTP
Version: 0.17
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-TFTP/

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

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
Net::TFTP was previously part of the libnet distribution. But has now
been separated out to a distribution of its own.

%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 ChangeLog MANIFEST META.yml README
%doc %{_mandir}/man3/Net::TFTP.3pm*
%dir %{perl_vendorlib}/Net/
#%{perl_vendorlib}/Net/TFTP/
%{perl_vendorlib}/Net/TFTP.pm

%changelog
* Thu Nov 15 2007 Dag Wieers  - 0.17-1
- Updated to release 0.17.

* Sat Apr  9 2005 Dries Verachtert  - 0.16-1
- Initial package.