]> git.pld-linux.org Git - packages/perl-AI-Gene-Sequence.git/blob - perl-AI-Gene-Sequence.spec
- spaces -> tab
[packages/perl-AI-Gene-Sequence.git] / perl-AI-Gene-Sequence.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    AI
3 %define pnam    Gene-Sequence
4 Summary:        A base class for storing and mutating genetic sequences
5 Summary(pl):    Klasa bazowa do przechowywania i mutowania sekwencji genetycznych
6 Name:           perl-%{pdir}-%{pnam}
7 Version:        0.21
8 Release:        4
9 License:        GPL/Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  fd1d371995359e2ab17ddc04afb18df5
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  rpm-perlprov >= 4.1-13
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a class which provides generic methods for the creation and
20 mutation of genetic sequences.  Various mutations are provided as
21 is a way to ensure that genes created by mutations remain useful
22 (for instance, if a gene gives rise to code, it can be tested for
23 correct syntax).
24
25 %description -l pl
26 Ta klasa udostêpnia ogólne metody do tworzenia i mutacji sekwencji
27 genetycznych. Zawiera ró¿ne mutacje, aby zapewniæ, ¿e geny stworzone
28 przez mutacje pozostan± u¿yteczne (na przyk³ad, je¶li gen da przyrost
29 kodu, mo¿e byæ sprawdzona poprawno¶æ sk³adni).
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33 mkdir lib
34 mv AI lib
35
36 %build
37 %{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"AI::Gene::Sequence")' \
38         INSTALLDIRS=vendor
39 %{__make}
40 %{!?_without_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %{perl_vendorlib}/AI/Gene
53 %{_mandir}/man3/*
This page took 0.071016 seconds and 3 git commands to generate.