X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Field3D.spec;h=57f025162234cbb2679634504471680599661253;hb=039e7826c41245029f5898740075a2a2ffe0eeae;hp=9cc5da0045f34d74c13c3eca25ce05c7d1a942c5;hpb=2815f330510e24fee3bd38ca521b0a9e2c3e4139;p=packages%2FField3D.git diff --git a/Field3D.spec b/Field3D.spec index 9cc5da0..57f0251 100644 --- a/Field3D.spec +++ b/Field3D.spec @@ -1,14 +1,14 @@ +# 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: 10 +Version: 1.7.3 +Release: 3 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: https://github.com/imageworks/Field3D/archive/v%{version}/%{name}-%{version}.tar.gz +# Source0-md5: 536198b1b4840a5b35400ccf05d4431c URL: http://opensource.imageworks.com/?p=field3d BuildRequires: cmake >= 2.8 BuildRequires: boost-devel >= 1.34.0 @@ -16,6 +16,7 @@ BuildRequires: doxygen BuildRequires: hdf5-devel >= 1.8 BuildRequires: ilmbase-devel >= 1.0.1 BuildRequires: libstdc++-devel +BuildRequires: rpmbuild(macros) >= 1.605 Requires: hdf5 >= 1.8 Requires: ilmbase >= 1.0.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -51,6 +52,7 @@ Pliki nagłówkowe biblioteki Field3D. Summary: Field3D API documentation Summary(pl.UTF-8): Dokumentacja API biblioteki Field3D Group: Documentation +BuildArch: noarch %description apidocs API and internal documentation for Field3D library. @@ -59,13 +61,13 @@ API and internal documentation for Field3D library. 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 install -d build cd build +export CXXFLAGS="%{rpmcxxflags} %{rpmcppflags} -std=c++14" %cmake .. %{__make} @@ -88,7 +90,8 @@ rm -rf $RPM_BUILD_ROOT %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)