Blame perl-PerlIO-via-symlink.spec
|
Ian Burrell |
c074bbf |
Name: perl-PerlIO-via-symlink
|
|
Ian Burrell |
c074bbf |
Version: 0.05
|
|
Ian Burrell |
b950af0 |
Release: 4%{?dist}
|
|
Ian Burrell |
c074bbf |
Summary: PerlIO layers for create symlinks
|
|
Ian Burrell |
c074bbf |
License: GPL or Artistic
|
|
Ian Burrell |
c074bbf |
Group: Development/Libraries
|
|
Ian Burrell |
c074bbf |
URL: http://search.cpan.org/dist/PerlIO-via-symlink/
|
|
Ian Burrell |
c074bbf |
Source0: http://www.cpan.org/modules/by-module/PerlIO/PerlIO-via-symlink-%{version}.tar.gz
|
|
Ian Burrell |
c074bbf |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Ian Burrell |
c074bbf |
BuildArch: noarch
|
|
Ian Burrell |
b950af0 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Ian Burrell |
b950af0 |
BuildRequires: perl(Test::More)
|
|
Ian Burrell |
c074bbf |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%description
|
|
Ian Burrell |
c074bbf |
The PerlIO layer symlink allows you to create a symbolic link by writing to
|
|
Ian Burrell |
c074bbf |
the file handle.
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%prep
|
|
Ian Burrell |
c074bbf |
%setup -q -n PerlIO-via-symlink-%{version}
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%build
|
|
Ian Burrell |
c074bbf |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
Ian Burrell |
c074bbf |
make %{?_smp_mflags}
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%install
|
|
Ian Burrell |
c074bbf |
rm -rf $RPM_BUILD_ROOT
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
Ian Burrell |
c074bbf |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%check
|
|
Ian Burrell |
c074bbf |
make test
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%clean
|
|
Ian Burrell |
c074bbf |
rm -rf $RPM_BUILD_ROOT
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%files
|
|
Ian Burrell |
c074bbf |
%defattr(-,root,root,-)
|
|
Ian Burrell |
c074bbf |
%doc CHANGES README
|
|
Ian Burrell |
c074bbf |
%{perl_vendorlib}/*
|
|
Ian Burrell |
c074bbf |
%{_mandir}/man3/*
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
%changelog
|
|
Ian Burrell |
b950af0 |
* Thu Aug 16 2007 Ian Burrell <ianburrell@gmail.com> - 0.05-4
|
|
Ian Burrell |
b950af0 |
- Fix BuildRequires
|
|
Ian Burrell |
b950af0 |
|
|
Ian Burrell |
c074bbf |
* Tue Jun 27 2006 Ian Burrell <ianburrell@gmail.com> - 0.05-3
|
|
Ian Burrell |
c074bbf |
- Fix rpmlint warnings
|
|
Ian Burrell |
c074bbf |
|
|
Ian Burrell |
c074bbf |
* Thu Mar 30 2006 Ian Burrell <ianburrell@gmail.com> 0.05-1
|
|
Ian Burrell |
c074bbf |
- Specfile autogenerated by cpanspec 1.64.
|