Name: perl-Cwd
Summary: Get the pathname of the current working directory
Version: 2.21
Release: 1.2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Cwd/
Description: This small module get the pathname of the current working directory.
The build was succesful. The following RPMs were generated:
The build was succesful. The following RPMs were generated:
The spec file used by the build system currently has the following contents:
# $Id$
# Authority: dries
# Upstream: Ken Williams <ken$mathforum,org>
%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
%define real_name Cwd
Summary: Get the pathname of the current working directory
Name: perl-Cwd
Version: 2.21
Release: 1.2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Cwd/
Source: http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/Cwd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
%description
This small module get the pathname of the current working directory.
%prep
%setup -n %{real_name}-%{version}
%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install
%{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod
%{__rm} -f %{buildroot}%{perl_vendorarch}/auto/*/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes
%doc %{_mandir}/man3/*.3pm*
%{perl_vendorarch}/Cwd.pm
%{perl_vendorarch}/auto/Cwd/
%changelog
* Mon May 2 2016 Dries Verachtert <dries.verachtert@dries.eu> - 2.21-2
- Fix source URL.
* Wed Dec 29 2004 Dries Verachtert <dries@ulyssis.org> - 2.21-1
- Updated to release 2.21.
* Thu Jul 22 2004 Dries Verachtert <dries@ulyssis.org> - 2.20-1 - #%{lastrevid}
- Initial package.