-
Notifications
You must be signed in to change notification settings - Fork 36
/
nixio.spec.in
65 lines (49 loc) · 1.37 KB
/
nixio.spec.in
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
Name: nixio
Version: ${VERSION_FULL}
Release: 0.${RPM_RELTAG}%{?dist}
Summary: IO-libray for nix data files
License: BSD
URL: https://www.g-node.org/nix
Source0: https://github.com/G-Node/nix/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: boost-devel
BuildRequires: hdf5-devel
BuildRequires: cppunit-devel
%description
Neuroscience information exchange - data model for annotated (neuroscience)
data. For more information visit https://github.com/G-Node/nix
%package devel
Summary: nixio development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: hdf5-devel, boost-devel
%description devel
nixio development headers and libraries.
%prep
%setup -q -n %{name}-%{version}
%build
mkdir -p build
cd build
%cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
make %{?_smp_mflags}
%install
cd build
make install DESTDIR=%{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE LICENSE.h5py
%doc README.md CONTRIBUTING.md
%{_bindir}/nixio-tool
%{_libdir}/libnixio.so.1*
%files devel
%{_includedir}/nixio-1.0/nix.hpp
%{_includedir}/nixio-1.0/nix/
%{_libdir}/libnixio.so
%{_libdir}/pkgconfig/nixio-1.0.pc
%changelog
* ${TS_RPM} G-Node Developers <[email protected]> - ${VERSION_FULL}-${RPM_RELTAG}
- development snapshot release