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

Contents of /cauldron/perl-Parse-Syslog/current/SPECS/perl-Parse-Syslog.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29404 - (show annotations) (download)
Fri Jan 21 14:27:41 2011 UTC (13 years, 2 months ago) by jquelin
File size: 1130 byte(s)
mageia rebuild
1 %define upstream_name Parse-Syslog
2 %define upstream_version 1.10
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7
8 Summary: Parse Unix syslog files
9 License: GPL
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://search.cpan.org/CPAN/modules/by-module/Parse/%{upstream_name}-%{upstream_version}.tar.bz2
13
14 BuildArch: noarch
15
16
17 %description
18 Unix syslogs are convenient to read for humans but because of small differences
19 between operating systems and things like 'last message repeated xx times' not
20 very easy to parse by a script.
21
22 Parse::Syslog presents a simple interface to parse syslog files: you create a
23 parser on a file (with new) and call next to get one line at a time with
24 Unix-timestamp, host, program, pid and text returned in a hash-reference.
25
26 %prep
27 %setup -q -n %{upstream_name}-%{upstream_version}
28
29 %build
30 perl Makefile.PL INSTALLDIRS=vendor
31 %make
32
33 %install
34 rm -rf %{buildroot}
35 %makeinstall_std
36
37 %clean
38 rm -rf %{buildroot}
39
40 %files
41 %defattr(-,root,root)
42 %doc META.yml Changes
43 %{perl_vendorlib}/Parse
44 %{_mandir}/*/*

  ViewVC Help
Powered by ViewVC 1.1.30