|
|
e611e05 |
%global upver release-%{version}
|
|
|
08c45a3 |
|
|
|
08c45a3 |
Name: libminc
|
|
|
e611e05 |
Version: 2.4.03
|
|
|
087e100 |
Release: 13%{?dist}
|
|
|
08c45a3 |
Summary: Core library and API of the MINC toolkit
|
|
|
08c45a3 |
|
|
|
08c45a3 |
License: MIT
|
|
|
08c45a3 |
URL: https://github.com/BIC-MNI/libminc
|
|
|
e611e05 |
Source0: https://github.com/BIC-MNI/libminc/archive/%{upver}/%{name}-%{version}.tar.gz
|
|
|
08c45a3 |
Patch0: 0001-install-cmake-files-in-private-directory.patch
|
|
|
e611e05 |
|
|
|
08c45a3 |
BuildRequires: git-core
|
|
|
08c45a3 |
BuildRequires: cmake
|
|
|
08c45a3 |
BuildRequires: gcc gcc-c++
|
|
|
08c45a3 |
BuildRequires: zlib-devel
|
|
|
e611e05 |
BuildRequires: nifticlib-devel
|
|
|
08c45a3 |
BuildRequires: netcdf-devel
|
|
|
08c45a3 |
BuildRequires: hdf5-devel
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%description
|
|
|
08c45a3 |
The MINC file format is a highly flexible medical image file format
|
|
|
08c45a3 |
built on the HDF5 generalized data format. The format is
|
|
|
08c45a3 |
simple, self-describing, extensible, portable and N-dimensional, with
|
|
|
08c45a3 |
programming interfaces for both low-level data access and high-level
|
|
|
08c45a3 |
volume manipulation. On top of the libraries is a suite of generic
|
|
|
08c45a3 |
image-file manipulation tools. The format, libraries and tools are
|
|
|
08c45a3 |
designed for use in a medical-imaging research environment : they are
|
|
|
08c45a3 |
simple and powerful and make no attempt to provide a pretty interface
|
|
|
08c45a3 |
to users.
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%package devel
|
|
|
08c45a3 |
Summary: Development files for %{name}
|
|
|
08c45a3 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
e611e05 |
Requires: nifticlib-devel%{?_isa}
|
|
|
08c45a3 |
Requires: netcdf-devel%{?_isa}
|
|
|
08c45a3 |
Requires: zlib-devel%{?_isa}
|
|
|
08c45a3 |
Requires: hdf5-devel%{?_isa}
|
|
|
08c45a3 |
Requires: cmake%{?_isa}
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%description devel
|
|
|
08c45a3 |
The %{name}-devel package contains libraries and header files for
|
|
|
08c45a3 |
developing applications that use %{name}.
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%prep
|
|
|
e611e05 |
%autosetup -n %{name}-%{upver} -S git
|
|
|
08c45a3 |
rm -rf build/
|
|
|
08c45a3 |
sed -i -e '/SET (LIBMINC_INSTALL_INCLUDE_DIR/s/include/include\/%{name}/' CMakeLists.txt
|
|
|
0c4430f |
sed -i -e '/CMAKE_INSTALL_RPATH/d' CMakeLists.txt
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%build
|
|
|
dd17a99 |
%cmake ../ \
|
|
|
dd17a99 |
-DLIBMINC_BUILD_SHARED_LIBS=ON \
|
|
|
dd17a99 |
-DLIBMINC_USE_SYSTEM_NIFTI=ON \
|
|
|
dd17a99 |
-DLIBMINC_MINC1_SUPPORT=ON \
|
|
|
dd17a99 |
-DLIBMINC_BUILD_EZMINC=ON
|
|
|
dd17a99 |
%cmake_build
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%install
|
|
|
dd17a99 |
%cmake_install
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%check
|
|
|
dd17a99 |
%ctest || :
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%files
|
|
|
08c45a3 |
%license COPYING
|
|
|
08c45a3 |
%doc README README.release doc/ NEWS ChangeLog AUTHORS
|
|
|
08c45a3 |
%{_libdir}/%{name}*.so.*
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%files devel
|
|
|
08c45a3 |
%doc volume_io/example/*.c ezminc/examples/*.cpp ezminc/examples/Example_CMakeLists.txt
|
|
|
08c45a3 |
%{_includedir}/%{name}/
|
|
|
08c45a3 |
%{_libdir}/cmake/LIBMINC/
|
|
|
08c45a3 |
%{_libdir}/%{name}*.so
|
|
|
08c45a3 |
|
|
|
08c45a3 |
%changelog
|
|
|
087e100 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-13
|
|
|
087e100 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
087e100 |
|
|
|
689a5d8 |
* Sun Nov 21 2021 Orion Poplawski <orion@nwra.com> - 2.4.03-12
|
|
|
689a5d8 |
- Rebuild for hdf5 1.12.1
|
|
|
689a5d8 |
|
|
|
15afd5c |
* Wed Aug 18 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.4.03-11
|
|
|
15afd5c |
- Bump and rebuild: koschei says FTBFS
|
|
|
15afd5c |
|
|
|
23e882a |
* Tue Aug 10 2021 Orion Poplawski <orion@nwra.com> - 2.4.03-10
|
|
|
23e882a |
- Rebuild for hdf5 1.10.7/netcdf 4.8.0
|
|
|
23e882a |
|
|
|
6c689a5 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-9
|
|
|
6c689a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6c689a5 |
|
|
|
3f726de |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-8
|
|
|
3f726de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
3f726de |
|
|
|
dd17a99 |
* Fri Sep 04 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.4.03-7
|
|
|
dd17a99 |
- Fix build using correct cmake macros
|
|
|
dd17a99 |
|
|
|
2756e2c |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-6
|
|
|
2756e2c |
- Second attempt - Rebuilt for
|
|
|
2756e2c |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2756e2c |
|
|
|
54cabd5 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-5
|
|
|
54cabd5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
54cabd5 |
|
|
|
f09a501 |
* Thu Jun 25 2020 Orion Poplawski <orion@cora.nwra.com> - 2.4.03-4
|
|
|
f09a501 |
- Rebuild for hdf5 1.10.6
|
|
|
f09a501 |
|
|
|
bb5610a |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-3
|
|
|
bb5610a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
bb5610a |
|
|
|
9703ea6 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.03-2
|
|
|
9703ea6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9703ea6 |
|
|
|
890050e |
* Sat Jul 20 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.03-1
|
|
|
890050e |
- Skip tests on s390x (#1688972)
|
|
|
890050e |
|
|
|
e611e05 |
* Wed Mar 13 2019 Orion Poplawski <orion@nwra.com> - 2.4.03-1
|
|
|
e611e05 |
- Update to 2.4.03
|
|
|
e611e05 |
|
|
|
31ab4e4 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-13
|
|
|
31ab4e4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
31ab4e4 |
|
|
|
2caa4a4 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-12
|
|
|
2caa4a4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2caa4a4 |
|
|
|
d01694a |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-11
|
|
|
d01694a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
d01694a |
|
|
|
15d6b2e |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-10
|
|
|
15d6b2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
15d6b2e |
|
|
|
53f1d35 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-9
|
|
|
53f1d35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
53f1d35 |
|
|
|
0156db7 |
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.00-8
|
|
|
0156db7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
0156db7 |
|
|
|
4bad402 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-7
|
|
|
4bad402 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4bad402 |
|
|
Orion Poplawski |
f1e6bcd |
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.00-6
|
|
Orion Poplawski |
f1e6bcd |
- Rebuild for hdf5 1.8.18
|
|
Orion Poplawski |
f1e6bcd |
|
|
Orion Poplawski |
df2311a |
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.00-5
|
|
Orion Poplawski |
df2311a |
- Rebuild for hdf5 1.8.17
|
|
Orion Poplawski |
df2311a |
|
|
|
343fcb7 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.00-4
|
|
|
343fcb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
343fcb7 |
|
|
Orion Poplawski |
fc53dce |
* Fri Jan 22 2016 Orion Poplawski <orion@cora.nwra.com> - 2.3.00-3
|
|
Orion Poplawski |
fc53dce |
- Rebuild for netcdf 4.4.0
|
|
Orion Poplawski |
fc53dce |
|
|
|
7ba7fed |
* Wed Dec 02 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.3.00-2
|
|
|
7ba7fed |
- Apply patch to fix endian tests (RHBZ #1287015)
|
|
|
7ba7fed |
|
|
|
08c45a3 |
* Sat Nov 07 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.3.00-1
|
|
|
08c45a3 |
- Initial package
|