Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Config-General
perl-Config-Genral.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Config-Genral.spec of Package perl-Config-General
# # - Config::General - # This spec file was automatically generated by cpan2rpm [ver: 2.028] # The following arguments were used: # Config::General # For more information on cpan2rpm please visit: http://perl.arix.com/ # %define real_name Config-General %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 1 name: perl-%{real_name} summary: Config-General - Generic Config Module version: 2.44 release: 1 source: http://search.cpan.org//CPAN/authors/id/T/TL/TLINDEN/%{real_name}-%{version}.tar.gz vendor: Thomas Linden tlinden <> license: Artistic group: Applications/CPAN url: http://www.cpan.org buildroot: %{_tmppath}/%{name}-%{version} buildarch: noarch %description This module opens a config file and parses its contents for you. The new method requires one parameter which needs to be a filename. The method getall returns a hash which contains all options and its associated values of your config file. The format of config files supported by Config::General is inspired by the well known Apache config format, in fact, this module is 100% compatible to Apache configs, but you can also just use simple name/value pairs in your config files. In addition to the capabilities of an Apache config file it supports some enhancements such as here-documents, C-style comments or multiline options. %prep %setup -n %{real_name}-%{version} %build perl Makefile.PL %{__make} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else make DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changelog README MANIFEST %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/Config %dir %{perl_vendorlib}/Config/General %{perl_vendorlib}/Config/General.pm %{perl_vendorlib}/Config/General %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Thu Feb 25 2010 Holger Manthey <holger.manthey@bertelsmann.de> - correct build sles11 * Thu Feb 18 2010 bom03@csbuild - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor