Field3D/Field3D.spec

93 lines
2.1 KiB
RPMSpec
Raw Normal View History

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
Release: 1%{?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
%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-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
* 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.