## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: perl-Chemistry-MacroMol Version: 0.06 Release: %autorelease Summary: Perl module for macromolecules License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/dist/Chemistry-MacroMol Source0: https://cpan.metacpan.org/authors/id/I/IT/ITUB/Chemistry-MacroMol-%{version}.tar.gz BuildRequires: coreutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Carp) BuildRequires: perl(Chemistry::Mol) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(warnings) BuildArch: noarch %description For the purposes of this module, a macromolecule is just a molecule that consists of several "domains". For example, a protein consists of amino acid residues, or a nucleic acid consists of bases. Therefore Chemistry::MacroMol is derived from Chemistry::Mol, with additional methods to handle the domains. The way things are currently structured, an atom in a macromolecule "belong" both to the MacroMol object and to a Domain object. This way you can get all the atoms in $protein via $protein->atoms, or to the atoms in residue 123 via $protein->domain(123)->atoms. %prep %autosetup -p1 -n Chemistry-MacroMol-%{version} %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" \ NO_PACKLIST=1 NO_PERLLOCAL=1 %make_build %install %make_install %{_fixperms} '%{buildroot}'/* %check make test %files %doc README %dir %{perl_vendorlib}/Chemistry %{perl_vendorlib}/Chemistry/Domain.pm %{perl_vendorlib}/Chemistry/MacroMol.pm %{_mandir}/man3/Chemistry::Domain.3pm.* %{_mandir}/man3/Chemistry::MacroMol.3pm.* %changelog ## START: Generated by rpmautospec * Tue Jun 09 2026 Dominik 'Rathann' Mierzejewski - 0.06-2 - drop conditional around check - fix typo * Tue Jun 09 2026 Dominik 'Rathann' Mierzejewski - 0.06-1 - initial package ## END: Generated by rpmautospec