-
Notifications
You must be signed in to change notification settings - Fork 6
/
Conf-Libconfig.spec
76 lines (65 loc) · 2.07 KB
/
Conf-Libconfig.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# - Conf-Libconfig -
# This spec file was automatically generated by cpan2rpm [ver: 2.029]
# The following arguments were used:
# Conf-Libconfig-0.08.tar.gz
# For more information on cpan2rpm please visit: http://perl.arix.com/
#
%define _tmppath %{_topdir}/BUILDROOT
%define pkgname Conf-Libconfig
%define filelist %{pkgname}-%{version}-filelist
%define NVR %{pkgname}-%{version}-%{release}
%define maketest 1
name: perl-Conf-Libconfig
summary: Conf-Libconfig - Perl extension for libconfig
version: 1.0.3
release: 1%{?dist}
vendor: Cnangel <[email protected]>
packager: Cnangel <[email protected]>
license: Artistic
group: Applications/CPAN
url: https://github.com/cnangel/Conf-Libconfig
buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
buildarch: x86_64
prefix: %{_prefix}
source: %{name}-%{version}.tar.gz
BuildRequires: perl-bignum gcc perl-CPAN
BuildRequires: perl(Test::Deep) perl(Test::Warn) perl(Test::Exception) perl(ExtUtils::PkgConfig)
%description
You can use `Conf::Libconfig' for perl config, and support Scalar, Array and Hash data structures etc.
like C or C++ function. `Conf::Libconfig' could reduce your config file and quote by C/C++ transportability.
#
# This package was generated automatically with the cpan2rpm
# utility. To get this software or for more information
# please visit: http://perl.arix.com/
#
%prep
%setup -q
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%check
%if %maketest
%{__make} test
%endif
%install
rm -rf %{buildroot}
%{make_install}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc Changes.md README.md
%{perl_archlib}/*
%{_mandir}/man3/*
%changelog
* Sun Sep 03 2023 Cnangel <[email protected]> 1.0.3-1
- Fix some issues.
* Sun Mar 19 2023 Cnangel <[email protected]> 1.0.0-1
- Upgrade version 1.0.0
* Sun Mar 19 2023 Cnangel <[email protected]> 0.200-1
- Update general value.
* Sun May 29 2022 Cnangel <[email protected]> 0.101-1
- Update for libconfig-1.7.3
* Mon Aug 5 2013 [email protected]
- Initial build.