+++ /dev/null
---- imageworks-Field3D-94d1bf3/CMakeLists.txt.orig 2012-02-04 18:37:22.000000000 +0100
-+++ imageworks-Field3D-94d1bf3/CMakeLists.txt 2012-07-11 19:04:10.092609331 +0200
-@@ -39,7 +39,7 @@
-
- FIND_PACKAGE (Doxygen)
- FIND_PACKAGE (HDF5)
--FIND_PACKAGE (Boost COMPONENTS thread program_options)
-+FIND_PACKAGE (Boost COMPONENTS thread program_options system)
- FIND_PACKAGE (ILMBase)
-
- OPTION (INSTALL_DOCS "Automatically install documentation." ON)
-@@ -86,6 +86,10 @@
- PROPERTIES SOVERSION 1.3
- )
-
-+TARGET_LINK_LIBRARIES ( Field3D
-+ ${HDF5_LIBRARIES} Iex Half dl boost_system
-+)
-+
- SET ( Field3D_Target_Link_Libraries
- Field3D
- ${HDF5_LIBRARIES}
+# TODO: (optional) MPI?
Summary: Field3D - open source library for storing voxel data
Summary(pl.UTF-8): Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
Name: Field3D
-Version: 1.3.2
-Release: 20
+Version: 1.7.2
+Release: 1
License: BSD
Group: Libraries
-#Source0Download: https://sites.google.com/site/field3d/downloads
-Source0: http://github.com/imageworks/Field3D/tarball/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 98f225658977f339a734debe426694b9
-Patch0: %{name}-link.patch
+#Source0Download: https://github.com/imageworks/Field3D/releases
+Source0: http://github.com/imageworks/Field3D/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 61660c2400213ca9adbb3e17782cccfb
URL: http://opensource.imageworks.com/?p=field3d
BuildRequires: cmake >= 2.8
BuildRequires: boost-devel >= 1.34.0
Dokumentacja API biblioteki Field3D.
%prep
-%setup -q -n imageworks-Field3D-94d1bf3
-%patch0 -p1
+%setup -q
%build
# main build system is scons, but there is cmake alternative, which is slightly more usable in rpm building
%defattr(644,root,root,755)
%doc CHANGES COPYING README
%attr(755,root,root) %{_bindir}/f3dinfo
-%attr(755,root,root) %{_libdir}/libField3D.so.1.3
+%attr(755,root,root) %{_libdir}/libField3D.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libField3D.so.1.7
%files devel
%defattr(644,root,root,755)