/[packages]/cauldron/perl-Sane/current/SPECS/perl-Sane.spec
ViewVC logotype

Contents of /cauldron/perl-Sane/current/SPECS/perl-Sane.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 251092 - (show annotations) (download)
Wed May 30 13:08:08 2012 UTC (12 years, 5 months ago) by jquelin
File size: 1177 byte(s)
rebuild for perl 5.16
1 %define upstream_name Sane
2 %define upstream_version 0.04
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 2
7 License: GPL or Artistic
8 Group: Development/Perl
9 Summary: Perl extension for the SANE (Scanner Access Now Easy) Project
10 Source0: http://search.cpan.org/CPAN/authors/id/R/RA/RATCLIFFE/%{upstream_name}-%{upstream_version}.tar.gz
11 Url: http://search.cpan.org/dist/%{upstream_name}
12
13 BuildRequires: perl(ExtUtils::Depends)
14 bUildRequires: perl(ExtUtils::MakeMaker)
15 BuildRequires: perl(ExtUtils::PkgConfig)
16 BuildRequires: perl-devel
17 BuildRequires: sane-devel
18 %description
19 Perl bindings for the SANE (Scanner Access Now Easy) Project. This module
20 allows you to access SANE-compatible scanners in a Perlish and object-oriented
21 way, freeing you from the casting and memory management in C, yet remaining
22 very close in spirit to original API.
23
24 %prep
25 %setup -q -n %{upstream_name}-%{upstream_version}
26
27 %build
28 %{__perl} Makefile.PL INSTALLDIRS=vendor
29 %make
30
31 %check
32 make test
33
34 %install
35 %makeinstall_std
36
37 %files
38 %doc Changes META.yml MYMETA.yml README examples
39 %{_mandir}/man3/*
40 %perl_vendorlib/*

  ViewVC Help
Powered by ViewVC 1.1.30