2012-02-28 18:57:00 +00:00
|
|
|
%global githash1 gcac7b57
|
|
|
|
%global githash2 94d1bf3
|
2011-12-14 15:08:16 +00:00
|
|
|
|
|
|
|
Name: Field3D
|
2012-02-28 18:57:00 +00:00
|
|
|
Version: 1.3.2
|
2013-12-27 22:34:25 +00:00
|
|
|
Release: 15%{?dist}
|
2011-12-14 15:08:16 +00:00
|
|
|
Summary: Library for storing voxel data
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
URL: https://sites.google.com/site/field3d/
|
|
|
|
|
|
|
|
# The source archive is created on the fly at github.com:
|
2012-02-28 18:57:00 +00:00
|
|
|
# https://nodeload.github.com/imageworks/Field3D/tarball/v1.3.2
|
2011-12-14 15:08:16 +00:00
|
|
|
Source0: imageworks-%{name}-v%{version}-0-%{githash1}.tar.gz
|
|
|
|
|
2012-08-09 21:54:57 +00:00
|
|
|
Patch0: Field3D-1.3.2-libboost.patch
|
|
|
|
|
2011-12-14 15:08:16 +00:00
|
|
|
BuildRequires: cmake doxygen
|
|
|
|
BuildRequires: hdf5-devel
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: ilmbase-devel
|
2012-05-15 22:31:26 +00:00
|
|
|
Requires: hdf5 = %{_hdf5_version}
|
2011-12-14 15:08:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Field3D is an open source library for storing voxel data. It provides C++
|
|
|
|
classes that handle in-memory storage and a file format based on HDF5 that
|
|
|
|
allows the C++ objects to be written to and read from disk.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development headers and documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n imageworks-%{name}-%{githash2}
|
2012-08-09 21:54:57 +00:00
|
|
|
%patch0 -p1 -b .boost
|
2011-12-14 15:08:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm -rf build && mkdir build && pushd build
|
|
|
|
%cmake -DINSTALL_DOCS=OFF \
|
|
|
|
../
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
pushd build
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
popd
|
|
|
|
|
|
|
|
install -D -m 0644 man/f3dinfo.1 %{buildroot}%{_mandir}/man1/f3dinfo.1
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
pushd build
|
|
|
|
./unitTest
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc CHANGES COPYING README
|
|
|
|
%{_bindir}/f3dinfo
|
|
|
|
%{_libdir}/libField3D.so.*
|
|
|
|
%{_mandir}/man1/f3dinfo.1.gz
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc docs/html/
|
|
|
|
%{_includedir}/Field3D/
|
|
|
|
%{_libdir}/libField3D.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2013-12-27 22:34:25 +00:00
|
|
|
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-15
|
|
|
|
- Rebuild for hdf5 1.8.12
|
|
|
|
|
2013-11-27 16:34:07 +00:00
|
|
|
* Wed Nov 27 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3.2-14
|
|
|
|
- rebuild (ilmbase)
|
|
|
|
|
2013-09-09 01:51:01 +00:00
|
|
|
* Sun Sep 08 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3.2-13
|
|
|
|
- rebuild (ilmbase)
|
|
|
|
|
2013-08-02 22:40:46 +00:00
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-27 12:05:03 +00:00
|
|
|
* Sat Jul 27 2013 pmachata@redhat.com - 1.3.2-11
|
|
|
|
- Rebuild for boost 1.54.0
|
|
|
|
|
2013-05-16 18:06:35 +00:00
|
|
|
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-10
|
|
|
|
- Rebuild for hdf5 1.8.11
|
|
|
|
|
2013-02-10 01:27:23 +00:00
|
|
|
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.3.2-9
|
|
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
|
2013-02-09 21:54:36 +00:00
|
|
|
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.3.2-8
|
|
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
|
2012-12-03 20:51:14 +00:00
|
|
|
* Mon Dec 3 2012 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-7
|
2012-12-03 20:48:01 +00:00
|
|
|
- Rebuild for hdf5 1.8.10
|
|
|
|
|
2012-08-11 21:39:21 +00:00
|
|
|
* Wed Aug 8 2012 David Malcolm <dmalcolm@redhat.com> - 1.3.2-6
|
2012-08-08 21:18:30 +00:00
|
|
|
- rebuild against boost-1.50
|
|
|
|
|
2012-07-18 13:16:22 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-15 22:31:26 +00:00
|
|
|
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-3
|
|
|
|
- Rebuild for hdf5 1.8.9
|
|
|
|
- Explicitly require the version of hdf5 built with
|
|
|
|
|
2012-03-23 19:44:46 +00:00
|
|
|
* Fri Mar 23 2012 Richard Shaw <hobbes1069@gmail.com> - 1.3.2-2
|
|
|
|
- Bump EVR for oops with F17 package to make sure rawhide package is newer.
|
|
|
|
|
2012-02-28 18:57:00 +00:00
|
|
|
* Tue Feb 28 2012 Richard Shaw <hobbes1069@gmail.com> - 1.3.2-1
|
|
|
|
- Update to latest release.
|
|
|
|
|
2012-02-28 17:29:10 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-12 20:18:17 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2012-02-28 18:57:00 +00:00
|
|
|
* Sun Jan 05 2012 Richard Shaw <hobbes1069@gmail.com> - 1.2.1-2
|
|
|
|
- Fixed building under GCC 4.7.0.
|
2012-01-05 15:40:06 +00:00
|
|
|
|
2011-12-14 15:08:16 +00:00
|
|
|
* Sat Nov 12 2011 Richard Shaw <hobbes1069@gmail.com> - 1.2.1-1
|
|
|
|
- Initial release.
|