rpms/perl-Sane/F-10 import.log, NONE, 1.1 perl-Sane.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Bernard Johnson bjohnson at fedoraproject.org
Sun Feb 1 20:37:52 UTC 2009


Author: bjohnson

Update of /cvs/pkgs/rpms/perl-Sane/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6032/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Sane.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
perl-Sane-0_02-2_fc10:F-10:perl-Sane-0.02-2.fc10.src.rpm:1233520417


--- NEW FILE perl-Sane.spec ---
Name:           perl-Sane
Version:        0.02
Release:        2%{?dist}
Summary:        Perl extension for the SANE (Scanner Access Now Easy) Project

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/Sane/
Source0:        http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/Sane-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::MakeMaker), perl(ExtUtils::Depends)
BuildRequires:  perl(ExtUtils::PkgConfig), perl(Test::More)
BuildRequires:  sane-backends-devel, libjpeg-devel
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module allows you to access SANE-compatible scanners in a Perlish and
object-oriented way, freeing you from the casting and memory management in C,
yet remaining very close in spirit to original API.


%prep
%setup -q -n Sane-%{version}

# Change mode on files we are going to use for %doc files so they don't
# generate dependencies
chmod a-x examples/*

%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 {} ';'
# Remove the next line from noarch packages (unneeded)
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


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


%changelog
* Thu Jan 29 2009 Bernard Johnson <bjohnson at symetrix.com> - 0.02-2
- update Summary with changes suggested in review bugzilla
- update %%files with changes suggested in review bugzilla

* Tue Jan 27 2009 Bernard Johnson <bjohnson at symetrix.com> - 0.02-1
- initial release, v 0.2


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Sane/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Feb 2009 18:42:15 -0000	1.1
+++ .cvsignore	1 Feb 2009 20:37:22 -0000	1.2
@@ -0,0 +1 @@
+Sane-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Sane/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Feb 2009 18:42:15 -0000	1.1
+++ sources	1 Feb 2009 20:37:22 -0000	1.2
@@ -0,0 +1 @@
+03fa0ad2a50e18598d91f197924fb54d  Sane-0.02.tar.gz




More information about the Fedora-perl-devel-list mailing list