%define upstream_name Config-Model-Itself %define upstream_version 1.215 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Edit and validate configuration models 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(Config::Model::TkUI) BuildRequires: perl(Exception::Class) BuildRequires: perl(Module::Build) BuildRequires: perl(Pod::POM) BuildRequires: x11-server-xvfb BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description The Config::Itself and its model files provide a model of Config:Model (hence the Itself name). Let's step back a little to explain. Any configuration data is, in essence, structured data. This data could be stored in an XML file. A configuration model is a way to describe the structure and relation of all items of a configuration data set. This configuration model is also expressed as structured data. This structure data is structured and follow a set of rules which are described for humans in the Config::Model manpage. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Build.PL installdirs=vendor ./Build %check xvfb-run ./Build test %install rm -rf %buildroot ./Build install destdir=%{buildroot} %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README ChangeLog %{_mandir}/man1/* %{_mandir}/man3/* %{_bindir}/config-model-edit %{perl_vendorlib}/Config %changelog * Wed Apr 07 2010 Jérôme Quelin <jquelin@mandriva.org> 1.215.0-1mdv2010.1 + Revision: 532711 - update to 1.215 * Thu Apr 01 2010 Jérôme Quelin <jquelin@mandriva.org> 1.214.0-1mdv2010.1 + Revision: 530665 - update to 1.214 * Tue Mar 30 2010 Jérôme Quelin <jquelin@mandriva.org> 1.213.0-1mdv2010.1 + Revision: 529818 - adding missing buildrequires: - update to 1.213 * Sun Feb 28 2010 Jérôme Quelin <jquelin@mandriva.org> 1.212.0-1mdv2010.1 + Revision: 512599 - update to 1.212 * Tue Jul 07 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.211.0-1mdv2010.0 + Revision: 393074 - import perl-Config-Model-Itself * Mon Jul 06 2009 cpan2dist 1.211-1mdv - initial mdv release, generated with cpan2dist