forked from pool/perl-libconfigfile
67 lines
1.7 KiB
RPMSpec
67 lines
1.7 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-libconfigfile (Version 1.1.1)
|
||
|
#
|
||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-libconfigfile
|
||
|
Summary: Parses simple configuration files
|
||
|
Version: 1.1.1
|
||
|
Release: 1
|
||
|
License: GPL
|
||
|
Group: Development/Libraries/Perl
|
||
|
URL: http://packages.qa.debian.org/libc/libconfigfile-perl.html
|
||
|
Source0: libconfigfile-perl_%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
ConfigFile parses simple configuration files and store its values in an
|
||
|
anonymous hash reference. The syntax of the configuration file is quite
|
||
|
simple:
|
||
|
|
||
|
1. This is a comment VALUE_ONE = foo VALUE_TWO = $VALUE_ONE/bar
|
||
|
VALUE_THREE = The value contains a \# (hash). # This is a comment.
|
||
|
COMPOSED_VALUE[one] = The first component of a clustered value
|
||
|
COMPOSED_VALUE[two] = The second component of a clustered value
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Sebastien J. Gross <seb@sjgross.org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n libconfigfile-perl-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
# run 'make test' if you like
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{perl_vendorlib}/ConfigFile.pm
|
||
|
%{perl_vendorarch}/auto/ConfigFile
|
||
|
%{_mandir}/*/*
|
||
|
%doc debian/changelog debian/copyright
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog -n perl-libconfigfile
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Mon Aug 15 2005 - pth@suse.de
|
||
|
- Initial package, based on the work of Richard Bos <richard@radoeka.nl>
|