Author: qboosh Date: Thu Mar 15 21:14:13 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - no example in descs - pl - use package names in BRs - generic URL
---- Files affected: SPECS: perl-Config-Context.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/perl-Config-Context.spec diff -u SPECS/perl-Config-Context.spec:1.1 SPECS/perl-Config-Context.spec:1.2 --- SPECS/perl-Config-Context.spec:1.1 Mon Mar 5 14:05:30 2007 +++ SPECS/perl-Config-Context.spec Thu Mar 15 22:14:07 2007 @@ -7,27 +7,28 @@ %define pdir Config %define pnam Context Summary: Config::Context - Add <Location> and <LocationMatch> style context matching to hierarchical configfile formats such as Config::General, XML::Simple and Config::Scoped -#Summary(pl): +Summary(pl): Config::Context - dodawanie dopasowywania kontekstu w stylu <Location> i <LocationMatch> do hierarchicznych formatów takich jak Config::General, XML::Simple czy Config::Scoped Name: perl-Config-Context Version: 0.10 Release: 0.1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +Source0: http://www.cpan.org/modules/by-module/Config/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: be34d48faef25c3236525cb092562918 +URL: http://search.cpan.org/dist/Config-Context/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} -BuildRequires: perl(Clone) -BuildRequires: perl(Config::General) >= 2.27 -BuildRequires: perl(Hash::Merge) +BuildRequires: perl-Clone +BuildRequires: perl-Config-General >= 2.27 +BuildRequires: perl-Hash-Merge # builds without that, but skips some tests -BuildRequires: perl(Config::Scoped) +BuildRequires: perl-Config-Scoped # builds without that, but skips some tests -BuildRequires: perl(XML::Simple) -BuildRequires: perl(XML::SAX) -BuildRequires: perl(XML::Filter::XInclude) +BuildRequires: perl-XML-Simple +BuildRequires: perl-XML-SAX +BuildRequires: perl-XML-Filter-XInclude %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -37,26 +38,17 @@ configuration file formats such as Config::General, XML::Simple and Config::Scoped. -It also provides Apache-style context matching. You can include blocks +It also provides Apache-style context matching. You can include blocks of configuration that match or not based on run-time parameters. -For instance (using Config::General syntax): - - company_name = ACME - in_the_users_area = 0 - - <Location /users> - in_the_users_area = 1 - </Location> - -At runtime, if Location is within /users, then the configuration -within the <Location> block is merged into the top level. -Otherwise, the block is ignored. - - - -# %description -l pl -# TODO +%description -l pl +Ten moduł udostępnia spójny interfejs do wielu hierarchicznych +formatów plików konfiguracyjnych, takich jak Config::General, +XML::Simple czy Config::Scoped. + +Udostępnia także dopasowywanie kontekstu w stylu Apache'a. Można +dołączać bloki konfiguracji pasujące lub nie pasujące do danych +parametrów w trakcie działania programu. %prep %setup -q -n %{pdir}-%{pnam}-%{version} @@ -90,6 +82,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2007/03/15 21:14:07 qboosh +- no example in descs +- pl +- use package names in BRs +- generic URL + Revision 1.1 2007/03/05 13:05:30 agaran - initial - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/perl-Config-Context.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
