/[packages]/cauldron/perl_checker/current/SPECS/perl_checker.spec
ViewVC logotype

Contents of /cauldron/perl_checker/current/SPECS/perl_checker.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 223712 - (show annotations) (download)
Fri Mar 16 20:16:17 2012 UTC (12 years, 7 months ago) by tv
File size: 1205 byte(s)
- reduce perl_checker SNR on perl function expecting a variable number
  of arguments
- update URPM fake package
1 # MODIFY IN THE SVN
2
3 %define version 1.2.16
4 %define release %mkrel 1
5
6 %ifarch ppc64 %mips %arm
7 %define build_option PERL_CHECKER_TARGET='debug-code BCSUFFIX=""'
8 # need ocamlrun
9 %define require_ocaml ocaml
10 %else
11 %define build_option %nil
12 %define require_ocaml %nil
13 %endif
14
15 Summary: Verify Perl code
16 Name: perl_checker
17 Version: %{version}
18 Release: %{release}
19 License: GPLv2+
20 Group: Development/Perl
21 Requires: perl-base >= 2:5.8.0 %{require_ocaml}
22 URL: http://svn.mandriva.com/cgi-bin/viewvc.cgi/soft/perl_checker
23 Source0: perl_checker-%version.tar.bz2
24 BuildRoot: %{_tmppath}/%{name}-buildroot
25 BuildRequires: ocaml
26 # for the faked packages:
27 AutoReqProv: 0
28
29 Obsoletes: perl-MDK-Common-devel <= 1.1.24
30 Provides: perl-MDK-Common-devel <= 1.1.24
31
32 %description
33 Various verifying scripts created for DrakX
34
35 %prep
36 %setup -q
37
38 %build
39 # (tv) fix testsuite:
40 cat > src/test/.perl_checker<<EOF
41 Carp
42 Carp::Heavy
43 File::Sync
44 EOF
45 make %build_option
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %makeinstall_std %build_option
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(-,root,root)
56 %doc src/perl_checker.html
57 %{_bindir}/*
58 %{_datadir}/perl_checker
59 %{_datadir}/vim/ftplugin/*
60 %config(noreplace) %{_sysconfdir}/emacs/site-start.d/*
61
62
63
64

  ViewVC Help
Powered by ViewVC 1.1.30