Accepting request 547276 from home:etamPL
Please add fuzzylite to devel:libraries:c_c++. OBS-URL: https://build.opensuse.org/request/show/547276 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/fuzzylite?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
4
fuzzylite.changes
Normal file
4
fuzzylite.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 08:24:46 UTC 2017 - adam@mizerski.pl
|
||||
|
||||
- new package; version 6.0
|
90
fuzzylite.spec
Normal file
90
fuzzylite.spec
Normal file
@@ -0,0 +1,90 @@
|
||||
#
|
||||
# spec file for package fuzzylite
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define major 6
|
||||
%define minor 0
|
||||
%define so_ver %{major}_%{minor}
|
||||
Name: fuzzylite
|
||||
Version: %{major}.%{minor}
|
||||
Release: 0
|
||||
Summary: A fuzzy logic control library in C++
|
||||
License: GPL-3.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://fuzzylite.com/
|
||||
Source: https://github.com/fuzzylite/fuzzylite/archive/v%{version}.tar.gz
|
||||
BuildRequires: cmake >= 2.8.8
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
The goal of the FuzzyLite Libraries is to easily design and efficiently operate
|
||||
fuzzy logic controllers following an object-oriented programming model without
|
||||
relying on external libraries.
|
||||
|
||||
%package -n libfuzzylite%{so_ver}
|
||||
Summary: Fuzzylite shared library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libfuzzylite%{so_ver}
|
||||
The goal of the FuzzyLite Libraries is to easily design and efficiently operate
|
||||
fuzzy logic controllers following an object-oriented programming model without
|
||||
relying on external libraries.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for fuzzylite
|
||||
Requires: libfuzzylite%{so_ver} = %{version}
|
||||
|
||||
%description devel
|
||||
The goal of the FuzzyLite Libraries is to easily design and efficiently operate
|
||||
fuzzy logic controllers following an object-oriented programming model without
|
||||
relying on external libraries.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
cd fuzzylite
|
||||
# FL_VERSION is defined here, because of
|
||||
# https://github.com/fuzzylite/fuzzylite/issues/84
|
||||
%cmake \
|
||||
-DFL_CPP11=ON \
|
||||
-DFL_BUILD_STATIC=OFF \
|
||||
-DFL_BUILD_TESTS=OFF \
|
||||
-DFL_VERSION="%{version}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cd fuzzylite
|
||||
%cmake_install
|
||||
install -m 644 -D fuzzylite.1 %{buildroot}/%{_mandir}/man1/fuzzylite.1
|
||||
|
||||
%post -n libfuzzylite%{so_ver} -p /sbin/ldconfig
|
||||
%postun -n libfuzzylite%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/fuzzylite
|
||||
%{_mandir}/man1/fuzzylite.1*
|
||||
|
||||
%files -n libfuzzylite%{so_ver}
|
||||
%{_libdir}/libfuzzylite.so.%{major}.%{minor}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/fl/
|
||||
%{_libdir}/libfuzzylite.so
|
||||
%{_libdir}/pkgconfig/fuzzylite.pc
|
||||
|
||||
%changelog
|
3
v6.0.tar.gz
Normal file
3
v6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e9f56deb9baf063de2232bfd8285f57ddccb651dae842fe3f587d0ac65ecdb0
|
||||
size 2189181
|
Reference in New Issue
Block a user