%define upstream_name Chemistry-Mol %define upstream_version 0.37 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 9 Summary: Molecular formula reader/formatter License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Chemistry/%{upstream_name}-%{upstream_version}.tar.gz Patch0: https://rt.cpan.org/Ticket/Attachment/1691849/908517/Chemistry-Mol-unrecognized-left-brace.diff BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Math::VectorReal) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Simple) BuildRequires: perl(Text::Balanced) BuildArch: noarch %description This package, along with Chemistry::Atom and Chemistry::Bond, includes basic objects and methods to describe molecules. The core methods try not to enforce a particular convention. This means that only a minimal set of attributes is provided by default, and some attributes have very loosely defined meaning. This is because each program and file type has different idea of what each concept (such as bond and atom type) means. Bonds are defined as a list of atoms (typically two) with an arbitrary type. Atoms are defined by a symbol and a Z, and may have 3D and internal coordinates (2D coming soon). %prep %setup -q -n %{upstream_name}-%{upstream_version} %patch0 -p0 %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %make_install %files %doc META.yml README Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Thu Sep 20 2018 umeabot <umeabot> 0.370.0-9.mga7 (not released yet) + Revision: 1282244 - Mageia 7 Mass Rebuild * Mon Oct 09 2017 tv <tv> 0.370.0-8.mga7 + Revision: 1170427 - patch 0: fix "Unescaped left brace in regex is deprecated, passed through in regex" * Sat Jun 18 2016 pterjan <pterjan> 0.370.0-7.mga6 + Revision: 1023833 - Rebuild for perl 5.22.2 * Mon Feb 08 2016 umeabot <umeabot> 0.370.0-6.mga6 + Revision: 945181 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.370.0-5.mga5 + Revision: 740827 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.370.0-4.mga5 + Revision: 683868 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 0.370.0-3.mga4 + Revision: 509967 - Mageia 4 Mass Rebuild * Sun Jan 13 2013 umeabot <umeabot> 0.370.0-2.mga3 + Revision: 364167 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Dec 07 2011 kharec <kharec> 0.370.0-1.mga2 + Revision: 178166 - imported package perl-Chemistry-Mol * Wed Dec 07 2011 cpan2dist 0.37-1mga - initial mageia release, generated with cpan2dist