/[smecontribs]/rpms/perl-Lazy-Utils/contribs10/perl-Lazy-Utils.spec
ViewVC logotype

Annotation of /rpms/perl-Lazy-Utils/contribs10/perl-Lazy-Utils.spec

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


Revision 1.1 - (hide annotations) (download)
Sun Apr 25 13:25:01 2021 UTC (3 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: perl-Lazy-Utils-1_22-1, HEAD
Initial import perl-Lazy-Utils

1 jcrisp 1.1 #
2     # spec file for package perl-Lazy-Utils
3     #
4     # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
5     #
6     # All modifications and additions to the file contributed by third parties
7     # remain the property of their copyright owners, unless otherwise agreed
8     # upon. The license for this file, and modifications and additions to the
9     # file, is the same license as for the pristine package itself (unless the
10     # license for the pristine package is not an Open Source License, in which
11     # case the license is the MIT License). An "Open Source License" is a
12     # license that conforms to the Open Source Definition (Version 1.9)
13     # published by the Open Source Initiative.
14    
15     # Please submit bugfixes or comments via http://bugs.opensuse.org/
16     #
17     %define name perl-Lazy-Utils
18     %define version 1.22
19     %define release 1
20    
21     Name: %{name}
22     Version: %{version}
23     Release: %{release}
24     %define cpan_name Lazy-Utils
25     Summary: Utility functions
26     License: GPL-2.0+
27     Group: SMEServer/contrib
28     Url: http://search.cpan.org/dist/Lazy-Utils/
29     Source0: https://cpan.metacpan.org/authors/id/O/OR/ORKUN/%{cpan_name}-%{version}.tar.gz
30     #Patch1: perl-Lazy-Utils-fixme.patch
31     BuildArch: noarch
32     BuildRoot: %{_tmppath}/%{name}-%{version}
33     BuildRequires: perl
34     BuildRequires: perl-macros
35     BuildRequires: perl(ExtUtils::MakeMaker)
36     #BuildRequires: perl(Test::Simple)
37     #BuildRequires: perl(JSON) >= 2.90
38     #BuildRequires: perl(Pod::Simple::Text) >= 3.26
39     Requires: perl(JSON) >= 2.90
40     Requires: perl(Pod::Simple::Text) >= 3.26
41     Requires: e-smith-release >= 10.0
42    
43     # %{perl_requires}
44    
45     %description
46     Collection of utility functions all of exported by default.
47    
48     %prep
49     %setup -q -n %{cpan_name}-%{version}
50    
51     # %patch1 -p1
52    
53    
54     %build
55     %{__perl} Makefile.PL INSTALLDIRS=vendor
56     make %{?_smp_mflags}
57    
58     %install
59     rm -rf $RPM_BUILD_ROOT
60    
61     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
62    
63     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
64     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
65    
66     %{_fixperms} $RPM_BUILD_ROOT/*
67    
68     #%check
69     #make test
70    
71     %clean
72     rm -rf $RPM_BUILD_ROOT
73    
74     %files
75     %defattr(-,root,root,-)
76     %doc Changes META.json README.md
77     %{perl_vendorlib}/*
78     %{_mandir}/man3/
79    
80    
81     %changelog
82     * Sat Apr 24 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.22-1-sme
83     - new import for Koozali SME Server
84    

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