Summary(pl.UTF-8): Field3D - mająca otwarte źródła biblioteka do przechowywania danych vokseli
Name: Field3D
Version: 1.3.2
-Release: 0.1
+Release: 20
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: http://github.com/imageworks/Field3D/tarball/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 98f225658977f339a734debe426694b9
+Patch0: %{name}-link.patch
URL: http://opensource.imageworks.com/?p=field3d
BuildRequires: cmake >= 2.8
BuildRequires: boost-devel >= 1.34.0
Summary: Field3D API documentation
Summary(pl.UTF-8): Dokumentacja API biblioteki Field3D
Group: Documentation
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
API and internal documentation for Field3D library.
%prep
%setup -q -n imageworks-Field3D-94d1bf3
+%patch0 -p1
%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
+%attr(755,root,root) %{_libdir}/libField3D.so.1.3
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libField3D.so
%{_includedir}/Field3D
%files apidocs