rpms/perl-File-ExtAttr/devel perl-File-ExtAttr.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Thu Dec 7 16:13:46 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-File-ExtAttr/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15513/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-File-ExtAttr.spec 
Log Message:
auto-import perl-File-ExtAttr-1.01-1.fc6 on branch devel from perl-File-ExtAttr-1.01-1.fc6.src.rpm


--- NEW FILE perl-File-ExtAttr.spec ---
Name:           perl-File-ExtAttr
Version:        1.01
Release:        1%{?dist}
Summary:        Perl extension for accessing extended attributes of files
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/File-ExtAttr/
Source0:        http://www.cpan.org/authors/id/R/RI/RICHDAWE/File-ExtAttr-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

# core: Carp, Scalar::Util

# this is odd, I know, but while the module requires libattr-devel to build,
# it will end up not requiring libattr.so*.  This is expected.
BuildRequires: libattr-devel

# TestBRs:
BuildRequires:  perl(Test::Distribution), perl(Test::Pod)
BuildRequires:  perl(File::Find::Rule), perl(Module::CoreList)


%description
File::ExtAttr is a Perl module providing access to the extended
attributes of files.

%prep
%setup -q -n File-ExtAttr-%{version}

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

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
# NOTE:  these are noisy; as near as I can tell this is expected
# NOTE2: if you're testing on a filesystem that does not support extended
#        attributes, in all likelyhood the tests will fail.  If anyone has 
#        a quick&easy non-priv'ed way to test for this, I'll be more than 
#        happy to include it.
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/File*
%{_mandir}/man3/*

%changelog
* Tue Oct 03 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.01-1
- Specfile autogenerated by cpanspec 1.69.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-File-ExtAttr/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Dec 2006 16:13:03 -0000	1.1
+++ .cvsignore	7 Dec 2006 16:13:16 -0000	1.2
@@ -0,0 +1 @@
+File-ExtAttr-1.01.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-File-ExtAttr/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Dec 2006 16:13:03 -0000	1.1
+++ sources	7 Dec 2006 16:13:16 -0000	1.2
@@ -0,0 +1 @@
+340734da69677861b80e52c41297ec8e  File-ExtAttr-1.01.tar.gz




More information about the scm-commits mailing list