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
|
2012-07-18 13:16:22 +00:00
|
|
|
Release: 4%{?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
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
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.
|