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

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Mon Jul 23 21:43:38 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-File-Sync/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28040/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-File-Sync.spec 
Log Message:
Import.



--- NEW FILE perl-File-Sync.spec ---
Name:           perl-File-Sync
Version:        0.09
Release:        1%{?dist}
Summary:        Perl access to fsync() and sync() function calls
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/File-Sync/
Source0:        http://www.cpan.org/authors/id/C/CE/CEVANS/File-Sync-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The fsync() function takes a Perl file handle as its only argument, and
passes its fileno() to the C function fsync(). It returns undef on failure,
or true on success.

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

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -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 Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/File*
%{_mandir}/man3/*

%changelog
* Mon Jul 16 2007 Steven Pritchard <steve at kspei.com> 0.09-1
- Specfile autogenerated by cpanspec 1.71.
- Fix License.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-File-Sync/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Jul 2007 21:05:57 -0000	1.1
+++ .cvsignore	23 Jul 2007 21:43:06 -0000	1.2
@@ -0,0 +1 @@
+File-Sync-0.09.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-File-Sync/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Jul 2007 21:05:57 -0000	1.1
+++ sources	23 Jul 2007 21:43:06 -0000	1.2
@@ -0,0 +1 @@
+4f5aca0ccff4bf28ca1d039e5ed01fa2  File-Sync-0.09.tar.gz




More information about the fedora-extras-commits mailing list