File: reprof.spec

package info (click to toggle)
reprof 1.0.1-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,120 kB
  • sloc: perl: 867; sh: 484; makefile: 59
file content (66 lines) | stat: -rw-r--r-- 1,657 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Summary: protein secondary structure and accessibility predictor
Name: reprof
Version: 1.0.1
Release: 1
License: GPL
Group: Applications/Science
Source: ftp://rostlab.org/%{name}/%{name}-%{version}.tar.gz
URL: http://rostlab.org/
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: autoconf, automake, make, perl
Requires: librg-reprof-bundle-perl, perl

%define common_desc 'reprof' is an improved implementation of 'prof', a popular protein secondary \
 structure and accessibility predictor.  Prediction is either \
 done from protein sequence alone or from an alignment - the latter should be \
 used for optimal performance.

%description
 %{common_desc}
 .
 This package provides the 'reprof' command.  It is only a command line
 interface to the functionality provided by the modules in
 librg-reprof-bundle-perl.

%package -n librg-reprof-bundle-perl
Summary: protein secondary structure and accessibility predictor perl module
Group: Applications/Science
Requires: perl-AI-FANN

%description -n librg-reprof-bundle-perl
 %{common_desc}
 .
 This package provides the perl modules implementing 'reprof' along with the
 necessary data files.

%prep
%setup -q

%build
%configure PERLLIBDIR=%{perl_vendorlib}
make

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS
%doc README
%doc COPYING
%{_bindir}/*
%{_mandir}/*/*
%{_docdir}/%{name}/examples/*

%files -n librg-reprof-bundle-perl
%{_datadir}/%{name}/*
%{perl_vendorlib}/RG/Reprof/*

%changelog
* Tue Jan 10 2012 Laszlo Kajan <lkajan@rostlab.org> - 1.0.1-1
- First rpm package