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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
%define _prefix /usr
URL: https://github.com/jydu/physamp
Name: physamp
Version: 1.1.0
Release: 1%{?dist}
License: GPL-3.0
Vendor: Julien Dutheil
Source: %{name}-%{version}.tar.gz
Summary: The PhySamp package
Group: Productivity/Scientific/Other
Requires: libbpp-phyl12 = 2.4.0
Requires: libbpp-seq12 = 2.4.0
Requires: libbpp-core4 = 2.4.0
BuildRoot: %{_builddir}/%{name}-root
BuildRequires: cmake >= 2.8.11
BuildRequires: gcc-c++ >= 4.7.0
BuildRequires: groff
BuildRequires: texinfo >= 4.0.0
BuildRequires: libbpp-core4 = 2.4.0
BuildRequires: libbpp-core-devel = 2.4.0
BuildRequires: libbpp-seq12 = 2.4.0
BuildRequires: libbpp-seq-devel = 2.4.0
BuildRequires: libbpp-phyl12 = 2.4.0
BuildRequires: libbpp-phyl-devel = 2.4.0
AutoReq: yes
AutoProv: yes
%if 0%{?mdkversion}
%if 0%{?mdkversion} >= 201100
BuildRequires: xz
%define zipext xz
%else
BuildRequires: lzma
%define zipext lzma
%endif
%else
BuildRequires: gzip
%define zipext gz
%endif
%description
Includes programs:
- bppalnoptim, optimize the amount of missing data in a sequence alignment,
- bppphysamp, sample species according phylogeny
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS"
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=%{_prefix} -DCOMPRESS_PROGRAM=%{compress_program}"
cmake $CMAKE_FLAGS .
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS LICENSE INSTALL ChangeLog
%{_prefix}/bin/bppalnoptim
%{_prefix}/bin/bppphysamp
%{_prefix}/share/info/physamp.info.*
%{_prefix}/share/man/man1/bppalnoptim.1.*
%{_prefix}/share/man/man1/bppphysamp.1.*
%changelog
* Wed Mar 14 2018 Julien Dutheil <dutheil@evolbio.mpg.de> 1.1.0-1
- Compatibility update with Bio++ 2.4.0
- More options in branch panel
* Tue Jun 06 2017 Julien Dutheil <dutheil@evolbio.mpg.de> 1.0.1-1
- Compatibility update with Bio++ 2.3.1
* Fri May 26 2017 Julien Dutheil <dutheil@evolbio.mpg.de> 1.0.0-1
- Initial release
|