/[packages]/cauldron/perl-File-LibMagic/releases/0.960.0/3.mga1/SPECS/perl-File-LibMagic.spec
ViewVC logotype

Annotation of /cauldron/perl-File-LibMagic/releases/0.960.0/3.mga1/SPECS/perl-File-LibMagic.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2941 - (hide annotations) (download)
Sun Jan 9 15:19:02 2011 UTC (12 years, 11 months ago) by jquelin
Original Path: cauldron/perl-File-LibMagic/current/SPECS/perl-File-LibMagic.spec
File size: 1003 byte(s)
imported package perl-File-LibMagic
1 jquelin 2941 %define upstream_name File-LibMagic
2     %define upstream_version 0.96
3    
4     Name: perl-%{upstream_name}
5     Version: %perl_convert_version %{upstream_version}
6     Release: %mkrel 3
7    
8     Summary: Perl wrapper for libmagic
9     License: GPL+ or Artistic
10     Group: Development/Perl
11     Url: http://search.cpan.org/dist/%{upstream_name}
12     Source0: http://www.cpan.org/modules/by-module/File/%{upstream_name}-%{upstream_version}.tgz
13    
14     Buildrequires: perl-devel
15     BuildRequires: libmagic-devel
16     BuildRequires: db4-devel
17     BuildRequires: gdbm-devel
18     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
19    
20     %description
21     The File::LibMagic is a simple perlinterface to libmagic from the
22     file-4.x package
23    
24     %prep
25     %setup -q -n %{upstream_name}-%{upstream_version}
26    
27     %build
28     %{__perl} Makefile.PL INSTALLDIRS=vendor
29     %make CFLAGS="%{optflags}"
30    
31     %install
32     rm -rf %{buildroot}
33     %makeinstall_std
34    
35     %check
36     make test
37    
38     %clean
39     rm -rf %{buildroot}
40    
41     %files
42     %defattr(-,root,root)
43     %doc README
44     %{perl_vendorarch}/File
45     %{perl_vendorarch}/auto/File
46     %{_mandir}/*/*
47    

  ViewVC Help
Powered by ViewVC 1.1.28