[Field3D] Initial import (#753453 ).

Richard Shaw hobbes1069 at fedoraproject.org
Wed Dec 14 15:08:49 UTC 2011


commit e2398b56325b6672ed1f2c49f27661115359f6ba
Author: Richard M. Shaw <hobbes1069 at gmail.com>
Date:   Wed Dec 14 09:08:16 2011 -0600

    Initial import (#753453
    ).

 Field3D.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 2 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/Field3D.spec b/Field3D.spec
new file mode 100644
index 0000000..0c8dc51
--- /dev/null
+++ b/Field3D.spec
@@ -0,0 +1,80 @@
+%global githash1 g0790dc2
+%global githash2 26c5236
+
+Name:           Field3D
+Version:        1.2.1
+Release:        1%{?dist}
+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:
+# https://nodeload.github.com/imageworks/Field3D/tarball/v1.2.1
+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
+* Sat Nov 12 2011 Richard Shaw <hobbes1069 at gmail.com> - 1.2.1-1
+- Initial release.
diff --git a/sources b/sources
index e69de29..d1cbea2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9373b2a11df85a2b5cc4ab1f793493d4  imageworks-Field3D-v1.2.1-0-g0790dc2.tar.gz


More information about the scm-commits mailing list