/[smeserver]/rpms/perl-Unix-ConfigFile/sme10/perl-Unix-ConfigFile.spec
ViewVC logotype

Contents of /rpms/perl-Unix-ConfigFile/sme10/perl-Unix-ConfigFile.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Mar 18 10:56:14 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Unix-ConfigFile-0_06-1_el7_sme, HEAD
Import perl-Unix-ConfigFile

1 Name: perl-Unix-ConfigFile
2 Version: 0.06
3 Release: 1%{?dist}
4 Summary: Perl interface to various Unix configuration files
5 License: CHECK(GPL+ or Artistic)
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/Unix-ConfigFile/
8 Source0: http://www.cpan.org/authors/id/S/SS/SSNODGRA/Unix-ConfigFile-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildArch: noarch
11 BuildRequires: perl(ExtUtils::MakeMaker)
12 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
13
14 %description
15 The Unix::ConfigFile module provides a base class from which the other
16 Unix::*File modules are derived. It provides some basic facilities like
17 file opening, locking, and closing. You do not need to use this module
18 directly unless you are developing a derived module for an unsupported
19 configuration file. However, some of the methods documented here are
20 intended for public use by users of Unix::ConfigFile submodules, so you
21 may find this documentation useful even if you are not developing your
22 own module.
23
24 %prep
25 %setup -q -n Unix-ConfigFile-%{version}
26
27 %build
28 %{__perl} Makefile.PL INSTALLDIRS=vendor
29 make %{?_smp_mflags}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33
34 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
35
36 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
37 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
38
39 %{_fixperms} $RPM_BUILD_ROOT/*
40
41 %check
42 make test
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(-,root,root,-)
49 %doc aliases.orig aliases.test auto_home.orig auto_home.test Changes group.orig group.test passwd.orig passwd.test README
50 %{perl_vendorlib}/*
51 %{_mandir}/man3/*
52
53 %changelog
54 * Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 0.06-1
55 - First build using cpanspec [SME: 9338]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed