public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rich Mattes <richmattes@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fcl] f45: Initial import
Date: Wed, 18 Nov 2026 15:36:25 GMT	[thread overview]
Message-ID: <179501618587.1.3789441786853655978.rpms-fcl-3943066bfd23@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fcl
Branch : f45
Commit : 3943066bfd2344b227f6a64a850dd3eab43879fe
Author : Rich Mattes <richmattes@gmail.com>
Date   : 2016-10-21T13:40:39-04:00
Stats  : +658/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/fcl/c/3943066bfd2344b227f6a64a850dd3eab43879fe?branch=f45

Log:
Initial import

---
diff --git a/.gitignore b/.gitignore
index e69de29..12691ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fcl-0.5.0.tar.gz

diff --git a/fcl-0.5.0-license.patch b/fcl-0.5.0-license.patch
new file mode 100644
index 0000000..ba50fb0
--- /dev/null
+++ b/fcl-0.5.0-license.patch
@@ -0,0 +1,560 @@
+From d564e4fda6eb91450bf962311ba701481ac922d8 Mon Sep 17 00:00:00 2001
+From: Jeongseok Lee <jslee02@gmail.com>
+Date: Sun, 24 Jul 2016 17:06:57 -0400
+Subject: [PATCH] Add missing copyright headers based on commit date and
+ committer -- still need confirmations
+
+---
+ include/fcl/continuous_collision.h | 37 ++++++++++++++++++++++++++++++++++++
+ include/fcl/exception.h            | 37 ++++++++++++++++++++++++++++++++++++
+ include/fcl/learning/classifier.h  | 37 ++++++++++++++++++++++++++++++++++++
+ include/fcl/math/sampling.h        | 37 ++++++++++++++++++++++++++++++++++++
+ include/fcl/math/vec_nf.h          | 37 ++++++++++++++++++++++++++++++++++++
+ src/continuous_collision.cpp       | 37 ++++++++++++++++++++++++++++++++++++
+ src/math/sampling.cpp              | 37 ++++++++++++++++++++++++++++++++++++
+ test/general_test.cpp              | 39 +++++++++++++++++++++++++++++++++++++-
+ test/libsvm/svm.cpp                | 33 ++++++++++++++++++++++++++++++++
+ test/libsvm/svm.h                  | 33 ++++++++++++++++++++++++++++++++
+ test/libsvm_classifier.h           | 37 ++++++++++++++++++++++++++++++++++++
+ test/test_fcl_utility.cpp          | 37 ++++++++++++++++++++++++++++++++++++
+ 12 files changed, 437 insertions(+), 1 deletion(-)
+
+diff --git a/include/fcl/continuous_collision.h b/include/fcl/continuous_collision.h
+index ef6812d..44ee73c 100644
+--- a/include/fcl/continuous_collision.h
++++ b/include/fcl/continuous_collision.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_CONTINUOUS_COLLISION_H
+ #define FCL_CONTINUOUS_COLLISION_H
+ 
+diff --git a/include/fcl/exception.h b/include/fcl/exception.h
+index 8f1b11b..8c9e15a 100644
+--- a/include/fcl/exception.h
++++ b/include/fcl/exception.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_EXCEPTION_H
+ #define FCL_EXCEPTION_H
+ 
+diff --git a/include/fcl/learning/classifier.h b/include/fcl/learning/classifier.h
+index eaf22e4..ce3a127 100644
+--- a/include/fcl/learning/classifier.h
++++ b/include/fcl/learning/classifier.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_LEARNING_CLASSIFIER_H
+ #define FCL_LEARNING_CLASSIFIER_H
+ 
+diff --git a/include/fcl/math/sampling.h b/include/fcl/math/sampling.h
+index fb69a78..47b4258 100644
+--- a/include/fcl/math/sampling.h
++++ b/include/fcl/math/sampling.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_MATH_SAMPLING_H
+ #define FCL_MATH_SAMPLING_H
+ 
+diff --git a/include/fcl/math/vec_nf.h b/include/fcl/math/vec_nf.h
+index a44d519..6efbf5d 100644
+--- a/include/fcl/math/vec_nf.h
++++ b/include/fcl/math/vec_nf.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_MATH_VEC_NF_H
+ #define FCL_MATH_VEC_NF_H
+ 
+diff --git a/src/continuous_collision.cpp b/src/continuous_collision.cpp
+index a02994d..5415be7 100644
+--- a/src/continuous_collision.cpp
++++ b/src/continuous_collision.cpp
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #include "fcl/collision.h"
+ #include "fcl/continuous_collision.h"
+ #include "fcl/ccd/motion.h"
+diff --git a/src/math/sampling.cpp b/src/math/sampling.cpp
+index 46850ba..a7d2f12 100644
+--- a/src/math/sampling.cpp
++++ b/src/math/sampling.cpp
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #include "fcl/math/sampling.h"
+ #include <mutex>
+ #include <chrono>
+diff --git a/test/general_test.cpp b/test/general_test.cpp
+index 56bdc6f..a5efed6 100644
+--- a/test/general_test.cpp
++++ b/test/general_test.cpp
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #include <fcl/shape/geometric_shapes.h>
+ #include <fcl/shape/geometric_shapes_utility.h>
+ #include <fcl/narrowphase/narrowphase.h>
+@@ -50,4 +87,4 @@ int main(int argc, char** argv)
+   for(const Contact &contact : contacts) {
+     cout << "position: " << contact.pos << endl;
+   }
+-}
+\ No newline at end of file
++}
+diff --git a/test/libsvm/svm.cpp b/test/libsvm/svm.cpp
+index 219a352..cc632b2 100644
+--- a/test/libsvm/svm.cpp
++++ b/test/libsvm/svm.cpp
+@@ -1,3 +1,36 @@
++/*
++ * Copyright (c) 2000-2014 Chih-Chung Chang and Chih-Jen Lin
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * 1. Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ *
++ * 2. Redistributions in binary form must reproduce the above copyright
++ * notice, this list of conditions and the following disclaimer in the
++ * documentation and/or other materials provided with the distribution.
++ *
++ * 3. Neither name of copyright holders nor the names of its contributors
++ * may be used to endorse or promote products derived from this software
++ * without specific prior written permission.
++ *
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
++ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
++ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
++ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
++ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ */
++
+ #include <math.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+diff --git a/test/libsvm/svm.h b/test/libsvm/svm.h
+index 0b42202..b423536 100644
+--- a/test/libsvm/svm.h
++++ b/test/libsvm/svm.h
+@@ -1,3 +1,36 @@
++/*
++ * Copyright (c) 2000-2014 Chih-Chung Chang and Chih-Jen Lin
++ * All rights reserved.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions
++ * are met:
++ *
++ * 1. Redistributions of source code must retain the above copyright
++ * notice, this list of conditions and the following disclaimer.
++ *
++ * 2. Redistributions in binary form must reproduce the above copyright
++ * notice, this list of conditions and the following disclaimer in the
++ * documentation and/or other materials provided with the distribution.
++ *
++ * 3. Neither name of copyright holders nor the names of its contributors
++ * may be used to endorse or promote products derived from this software
++ * without specific prior written permission.
++ *
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
++ * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
++ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
++ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
++ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
++ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
++ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
++ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
++ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ */
++
+ #ifndef _LIBSVM_H
+ #define _LIBSVM_H
+ 
+diff --git a/test/libsvm_classifier.h b/test/libsvm_classifier.h
+index 8faeb7a..c731941 100644
+--- a/test/libsvm_classifier.h
++++ b/test/libsvm_classifier.h
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2013-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #ifndef FCL_TEST_LIBSVM_CLASSIFIER_H
+ #define FCL_TEST_LIBSVM_CLASSIFIER_H
+ 
+diff --git a/test/test_fcl_utility.cpp b/test/test_fcl_utility.cpp
+index 07808ab..02076b3 100644
+--- a/test/test_fcl_utility.cpp
++++ b/test/test_fcl_utility.cpp
+@@ -1,3 +1,40 @@
++/*
++ * Software License Agreement (BSD License)
++ *
++ *  Copyright (c) 2011-2014, Willow Garage, Inc.
++ *  Copyright (c) 2014-2016, Open Source Robotics Foundation
++ *  All rights reserved.
++ *
++ *  Redistribution and use in source and binary forms, with or without
++ *  modification, are permitted provided that the following conditions
++ *  are met:
++ *
++ *   * Redistributions of source code must retain the above copyright
++ *     notice, this list of conditions and the following disclaimer.
++ *   * Redistributions in binary form must reproduce the above
++ *     copyright notice, this list of conditions and the following
++ *     disclaimer in the documentation and/or other materials provided
++ *     with the distribution.
++ *   * Neither the name of Open Source Robotics Foundation nor the names of its
++ *     contributors may be used to endorse or promote products derived
++ *     from this software without specific prior written permission.
++ *
++ *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++ *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
++ *  POSSIBILITY OF SUCH DAMAGE.
++ */
++
++/** \author Jia Pan */
++
+ #include "test_fcl_utility.h"
+ #include "fcl/collision.h"
+ #include "fcl/continuous_collision.h"

diff --git a/fcl.spec b/fcl.spec
new file mode 100644
index 0000000..708e1f0
--- /dev/null
+++ b/fcl.spec
@@ -0,0 +1,96 @@
+Name:           fcl
+Version:        0.5.0
+Release:        2%{?dist}
+Summary:        Flexible Collision Library
+
+
+License:        BSD
+URL:            https://github.com/flexible-collision-library/fcl
+Source0:        https://github.com/flexible-collision-library/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Add missing licensing information to FCL sources.
+# https://github.com/flexible-collision-library/fcl/commit/d564e4fda6eb91450bf962311ba701481ac922d8.patch
+Patch0:         %{name}-0.5.0-license.patch
+
+BuildRequires:  boost-devel
+BuildRequires:  cmake
+BuildRequires:  flann-devel
+BuildRequires:  libccd-devel
+BuildRequires:  octomap-devel
+BuildRequires:  tinyxml-devel
+
+%description
+FCL is a library for performing three types of proximity queries on a pair
+of geometric models composed of triangles.
+* Collision detection: detecting whether the two models overlap, and
+optionally, all of the triangles that overlap.
+* Distance computation: computing the minimum distance between a pair
+of models, i.e., the distance between the closest pair of points.
+* Tolerance verification: determining whether two models are closer or
+farther than a tolerance distance.
+* Continuous collision detection: detecting whether the two moving models
+overlap during the movement, and optionally, the time of contact.
+* Contact information: for collision detection and continuous collision
+detection, the contact information (including contact normals and contact
+points) can be returned optionally.
+
+%package devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%autosetup -n %{name}-%{version} -p 1
+
+# Remove spurious executable permissions
+find . -type f -perm /111 -name "*.h" -print -exec chmod -x '{}' \;
+find . -type f -perm /111 -name "*.cpp" -print -exec chmod -x '{}' \;
+
+%build
+mkdir -p build; cd build
+%cmake ..
+make %{?_smp_mflags}
+
+%install
+%make_install -C build
+
+%check
+export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
+make -C build test ARGS="-V" || exit 0
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/fcl
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/cmake
+%{_libdir}/*.so
+
+%changelog
+* Fri Oct 21 2016 Rich Mattes <rmattes@fedoraproject.org> - 0.5.0-2
+- Add License and Changelog to package
+- Use git tag instead of git commit for source URL
+
+* Sun Aug 14 2016 Rich Mattes <rmattes@fedoraproject.org> - 0.5.0-1
+- Update to release 0.5.0
+- Remove upstreamed patches
+- Add missing license information from upstream commit
+- Remove spurious executable permissions from source files
+
+* Thu Jan 07 2016 Rich Mattes <rmattes@fedoraproject.org> - 0.3.2-2
+- Add patch to correct install dirs and library versioning
+
+* Sun Mar 01 2015 Rich Mattes <rmattes@fedoraproject.org> - 0.3.2-1
+- Update to release 0.3.2
+
+* Sun Jun 01 2014 Rich Mattes <rmattes@fedoraproject.org> - 0.3.1-1
+- Initial build (rhbz#1103555)

diff --git a/sources b/sources
index e69de29..0140db7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+09530a72b24f26bb79da8a2d85c738f8  fcl-0.5.0.tar.gz

                 reply	other threads:[~2026-11-18 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179501618587.1.3789441786853655978.rpms-fcl-3943066bfd23@fedoraproject.org \
    --to=richmattes@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox