forked from G-Node/nix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnixio.spec
60 lines (45 loc) · 1.21 KB
/
nixio.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
Name: nixio
Version: 1.3.2
Release: 1%{?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: cmake, boost-devel, hdf5-devel, 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 nix-%{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}/nix-tool
%{_libdir}/libnix.so.1*
%files devel
%{_includedir}/nix.hpp
%{_includedir}/nix/
%{_libdir}/libnix.so
%{_libdir}/pkgconfig/nix.pc
%changelog
* Fri Jan 20 2017 Chrisian Kellner <gicmo@gnome.org>
- Initial revision