/
perl-Config-Properties.spec
52 lines (38 loc) · 1.27 KB
/
perl-Config-Properties.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
%define upstream_name Config-Properties
%define upstream_version 1.77
Name: perl-%{upstream_name}
Version: %perl_convert_version %{upstream_version}
Release: 3
Summary: Configuration using Java style properties
License: GPL+ or Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/%{upstream_name}
Source0: http://www.cpan.org/modules/by-module/Config/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl-devel
BuildRequires: perl(File::Temp)
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Wrap)
BuildArch: noarch
%description
Config::Properties is a near implementation of the java.util.Properties
API. It is designed to allow easy reading, writing and manipulation of
Java-style property files.
The format of a Java-style property file is that of a key-value pair
seperated by either whitespace, the colon (:) character, or the equals (=)
character. Whitespace before the key and on either side of the seperator is
ignored.
Lines that begin with either a hash (#) or a bang (!) are considered
comment lines and ignored.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make
%check
make test
%install
%makeinstall_std
%files
%doc README Changes META.yml
%{_mandir}/man3/*
%{perl_vendorlib}/*