1 Summary: Field3D - open source library for storing voxel data
2 Summary(pl.UTF-8): Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
8 #Source0Download: https://sites.google.com/site/field3d/downloads
9 Source0: http://github.com/imageworks/Field3D/tarball/v%{version}#/%{name}-%{version}.tar.gz
10 # Source0-md5: 98f225658977f339a734debe426694b9
11 URL: http://opensource.imageworks.com/?p=field3d
12 BuildRequires: cmake >= 2.8
13 BuildRequires: boost-devel >= 1.34.0
14 BuildRequires: doxygen
15 BuildRequires: hdf5-devel >= 1.8
16 BuildRequires: ilmbase-devel >= 1.0.1
17 BuildRequires: libstdc++-devel
19 Requires: ilmbase >= 1.0.1
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Field3D is an open source library for storing voxel data. It provides
24 C++ classes that handle in-memory storage and a file format based on
25 HDF5 that allows the C++ objects to be written to and read from disk.
27 %description -l pl.UTF-8
28 Field3D to mająca otwarte źródła biblioteka do przechowywania danych
29 vokseli. Udostępnia klasy C++ obsługujące przechowywanie ich w pamięci
30 oraz format plików oparty na HDF5 pozwalający na zapis i odczyt
34 Summary: Header files for Field3D library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Field3D
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: boost-devel >= 1.34.0
39 Requires: hdf5-devel >= 1.8
40 Requires: ilmbase-devel >= 1.0.1
41 Requires: libstdc++-devel
44 Header files for Field3D library.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki Field3D.
50 Summary: Field3D API documentation
51 Summary(pl.UTF-8): Dokumentacja API biblioteki Field3D
55 API and internal documentation for Field3D library.
57 %description apidocs -l pl.UTF-8
58 Dokumentacja API biblioteki Field3D.
61 %setup -q -n imageworks-Field3D-94d1bf3
64 # main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
72 rm -rf $RPM_BUILD_ROOT
74 %{__make} -C build install \
75 DESTDIR=$RPM_BUILD_ROOT
77 %{__rm} -r $RPM_BUILD_ROOT%{_prefix}/docs
80 rm -rf $RPM_BUILD_ROOT
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 %defattr(644,root,root,755)
87 %doc CHANGES COPYING README
88 %attr(755,root,root) %{_bindir}/f3dinfo
89 %attr(755,root,root) %{_libdir}/libField3D.so
92 %defattr(644,root,root,755)
93 %{_includedir}/Field3D
96 %defattr(644,root,root,755)
97 %doc docs/html/*.{css,html,js,png}