[packages/Field3D] - updated to 1.7.2 (new soname) - removed obsolete link patch

qboosh qboosh at pld-linux.org
Sat Dec 14 19:55:04 CET 2019


commit 58986a904082f0d0cfc1981773158fb611f94ed1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Dec 14 19:55:41 2019 +0100

    - updated to 1.7.2 (new soname)
    - removed obsolete link patch

 Field3D-link.patch | 22 ----------------------
 Field3D.spec       | 18 +++++++++---------
 2 files changed, 9 insertions(+), 31 deletions(-)
---
diff --git a/Field3D.spec b/Field3D.spec
index c03c404..b55a046 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:	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
@@ -62,8 +62,7 @@ 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
@@ -91,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)
diff --git a/Field3D-link.patch b/Field3D-link.patch
deleted file mode 100644
index 6d281a3..0000000
--- a/Field3D-link.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Field3D.git/commitdiff/58986a904082f0d0cfc1981773158fb611f94ed1



More information about the pld-cvs-commit mailing list