Author: iarnell

Update of /cvs/pkgs/rpms/perl-Dir-Self/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25828/devel

Modified Files:
        .cvsignore sources 
Added Files:
        perl-Dir-Self.spec 
Log Message:
initial import


--- NEW FILE perl-Dir-Self.spec ---
Name:           perl-Dir-Self
Version:        0.10
Release:        1%{?dist}
Summary:        A __DIR__ constant for the directory your source file is in
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Dir-Self/
Source0:        
http://www.cpan.org/authors/id/M/MA/MAUKE/Dir-Self-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))

%{?perl_default_filter}

%description
Perl has two pseudo-constants describing the current location in your
source code, __FILE__ and __LINE__. This module adds __DIR__, which expands
to the directory your source file is in, as an absolute pathname.

%prep
%setup -q -n Dir-Self-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sat May 01 2010 Iain Arnell 0.10-1
- Specfile autogenerated by cpanspec 1.78.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Dir-Self/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore  4 May 2010 03:03:15 -0000       1.1
+++ .cvsignore  4 May 2010 03:30:05 -0000       1.2
@@ -0,0 +1 @@
+Dir-Self-0.10.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Dir-Self/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources     4 May 2010 03:03:16 -0000       1.1
+++ sources     4 May 2010 03:30:05 -0000       1.2
@@ -0,0 +1 @@
+ec6e6588d9caa5a20d1ba090be42c8ee  Dir-Self-0.10.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to