-
Notifications
You must be signed in to change notification settings - Fork 5
/
bpp-seq-omics.spec
108 lines (89 loc) · 3.27 KB
/
bpp-seq-omics.spec
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
%define _prefix /usr
URL: https://github.com/BioPP/bpp-seq-omics
Name: bpp-seq-omics
Version: 2.4.1
Release: 1%{?dist}
License: CECILL-2.0
Vendor: The Bio++ Project
Source: %{name}-%{version}.tar.gz
Summary: Bio++ Sequence library: genomics components
Group: Development/Libraries/C and C++
Requires: bpp-core = %{version}
Requires: bpp-seq = %{version}
BuildRoot: %{_builddir}/%{name}-root
BuildRequires: cmake >= 2.8.11
BuildRequires: gcc-c++ >= 4.7.0
BuildRequires: libbpp-core4 = %{version}
BuildRequires: libbpp-core-devel = %{version}
BuildRequires: libbpp-seq12 = %{version}
BuildRequires: libbpp-seq-devel = %{version}
AutoReq: yes
AutoProv: yes
%description
This library contains the genomics components of the Bio++ sequence library.
It is part of the Bio++ project.
%package -n libbpp-seq-omics3
Summary: Bio++ Sequence library: genomics components
Group: Development/Libraries/C and C++
%description -n libbpp-seq-omics3
This library contains the genomics components of the Bio++ sequence library.
It is part of the Bio++ project.
%package -n libbpp-seq-omics-devel
Summary: Bio++ Sequence library: genomics components
Group: Development/Libraries/C and C++
Requires: libbpp-seq-omics3 = %{version}
Requires: libbpp-seq12 = %{version}
Requires: libbpp-seq-devel = %{version}
Requires: libbpp-core4 = %{version}
Requires: libbpp-core-devel = %{version}
%description -n libbpp-seq-omics-devel
The libbpp-seq-omics-devel package contains the header files and static libraries for
building applications which use %{name}.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS"
CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_TESTING=OFF"
cmake $CMAKE_FLAGS .
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libbpp-seq-omics3 -p /sbin/ldconfig
%postun -n libbpp-seq-omics3 -p /sbin/ldconfig
%files -n libbpp-seq-omics3
%defattr(-,root,root)
%doc AUTHORS.txt COPYING.txt INSTALL.txt ChangeLog
%{_prefix}/%{_lib}/lib*.so.*
%files -n libbpp-seq-omics-devel
%defattr(-,root,root)
%doc AUTHORS.txt COPYING.txt INSTALL.txt ChangeLog
%dir %{_prefix}/%{_lib}/cmake/
%dir %{_prefix}/%{_lib}/cmake/bpp-seq-omics
%{_prefix}/%{_lib}/lib*.so
%{_prefix}/%{_lib}/lib*.a
%{_prefix}/%{_lib}/cmake/bpp-seq-omics/bpp-seq-omics*.cmake
%{_prefix}/include/*
%changelog
* Wed Aug 15 2018 Julien Dutheil <[email protected]> 2.4.1-1
- Compatibility update gcc8
* Fri Mar 03 2018 Julien Dutheil <[email protected]> 2.4.0-1
- Increased interface number
- Removed dynamic exceptions declarations.
* Tue Jun 06 2017 Julien Dutheil <[email protected]> 2.3.1-1
- Increased interface number
* Wed May 10 2017 Julien Dutheil <[email protected]> 2.3.0-1
- Several bugs fixed and performance improvements
- New Maf filters: LiftOver, RemoveEmptySequence
- Support for BED features input
- New output options: MSMC, PLINK
- More options for Vcf and Alignment output
- Upgrade to C++11
* Mon Sep 22 2014 Julien Dutheil <[email protected]> 2.2.0-1
- New statistics, including sequence diversity estimators
- Several bugs and memory leaks fixed.
* Wed Mar 06 2013 Julien Dutheil <[email protected]> 2.1.0-1
- Maf to VCF tool added as a MafIterator.
* Tue Nov 06 2012 Julien Dutheil <[email protected]> 2.0.3-1
- First draft of the spec file