]> git.pld-linux.org Git - packages/perl-Chemistry-MolecularMass.git/blame - perl-Chemistry-MolecularMass.spec
- rebuild with perl 5.28.0
[packages/perl-Chemistry-MolecularMass.git] / perl-Chemistry-MolecularMass.spec
CommitLineData
8bb7ecae
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
c39f3aee 4
5170847d 5%define pdir Chemistry
6%define pnam MolecularMass
c39f3aee 7%include /usr/lib/rpm/macros.perl
a7a753d8 8Summary: Chemistry::MolecularMass - calculating molecular mass of a chemical compound given its chemical formula
1737121d 9Summary(pl.UTF-8): Chemistry::MolecularMass - obliczanie masy cząsteczkowej związków zadanych wzorem chemicznym
8bb7ecae
MP
10Name: perl-Chemistry-MolecularMass
11Version: 0.1
f5168029 12Release: 12
42b7b3ff 13License: Artistic
8bb7ecae
MP
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: d0d56e49920ca0f18237ef81ef946ca6
c39f3aee 17URL: http://search.cpan.org/dist/Chemistry-MolecularMass/
8bb7ecae
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
a7a753d8
JB
23Chemistry::MolecularMass is an Object Oriented Perl module for
24calculating molecular mass of chemical compounds implemented with Perl
25and C. Molecular masses of elements stored in the module follow
26recommendations of IUPAC (1995). The module includes elements from
27H(1) through Uuu(113) and isotopes of hydrogen: deuterium and tritium.
28
122bce9e
JR
29%description -l pl.UTF-8
30Chemistry::MolecularMass to obiektowo zorientowany moduł Perla do
31obliczania masy cząsteczkowej związków chemicznych zaimplementowany w
32Perlu i C. Masy cząsteczkowe pierwiastków są zapisane w module zgodnie
33z zaleceniami IUPAC (1995). Moduł zawiera pierwiastki od H(1) do
a7a753d8 34Uuu(113) oraz izotopy wodoru: deuter i tryt.
8bb7ecae
MP
35
36%prep
37%setup -q -n %{pdir}/%{pnam}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42
43%{__make} \
7334a087 44 CC="%{__cc}" \
8bb7ecae
MP
45 OPTIMIZE="%{rpmcflags}"
46
47%{?with_tests:%{__make} test}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc Changes README
61%{perl_vendorarch}/Chemistry/MolecularMass.pm
a7a753d8 62%dir %{perl_vendorarch}/auto/Chemistry/MolecularMass
8bb7ecae
MP
63%attr(755,root,root) %{perl_vendorarch}/auto/Chemistry/MolecularMass/MolecularMass.so
64%{_mandir}/man3/*
This page took 0.133489 seconds and 4 git commands to generate.