Hello community,

here is the log from the commit of package libgpiod for openSUSE:Factory 
checked in at 2018-06-29 22:28:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgpiod (Old)
 and      /work/SRC/openSUSE:Factory/.libgpiod.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgpiod"

Fri Jun 29 22:28:51 2018 rev:1 rq:617513 version:1.1

Changes:
--------
New Changes file:

--- /dev/null   2018-06-28 02:21:07.430254147 +0200
+++ /work/SRC/openSUSE:Factory/.libgpiod.new/libgpiod.changes   2018-06-29 
22:28:51.714371733 +0200
@@ -0,0 +1,9 @@
+-------------------------------------------------------------------
+Thu Jun 14 13:02:12 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Add C++ bindings
+
+-------------------------------------------------------------------
+Thu Jun 14 12:22:29 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Initial package version 1.1

New:
----
  libgpiod-1.1.tar.gz
  libgpiod.changes
  libgpiod.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libgpiod.spec ++++++
#
# spec file for package libgpiod
#
# Copyright (c) 2018 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 libname libgpiod1

Name:           libgpiod
Version:        1.1
Release:        0
Summary:        Tools for interacting with the linux GPIO character device
License:        LGPL-2.1+
Group:          Development/Libraries/C and C++
Url:            https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
Source0:        
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-1.1.tar.gz
BuildRequires:  autoconf
BuildRequires:  autoconf-archive
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  kernel-devel >= 4.8
BuildRequires:  libkmod-devel
BuildRequires:  libtool
BuildRequires:  make


%description
Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
the character device instead. This library encapsulates the ioctl calls and
data structures behind a straightforward API.

%package -n %{libname}
Summary:        C library for interacting with the linux GPIO character device
Group:          Development/Languages/C and C++

%description -n %{libname}
Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
the character device instead. This library encapsulates the ioctl calls and
data structures behind a straightforward API.

Library part.

%package devel
Summary:        Devel files for libgpiod
Group:          Development/Languages/C and C++
Requires:       %{name}

%description devel
Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use
the character device instead. This library encapsulates the ioctl calls and
data structures behind a straightforward API.

Devel files part.

%prep
%setup -q

%build
./autogen.sh
%configure \
        --enable-tools=yes \
        --enable-bindings-cxx 
make

%install
%make_install
rm -rf %{buildroot}%{_libdir}/*.{a,la}

%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig


%files
%{_bindir}/gpio*

%files -n %{libname}
%{_libdir}/libgpiod*.so.*

%files devel
%{_includedir}/*.h*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libgpiod.pc
%{_libdir}/pkgconfig/libgpiodcxx.pc


%changelog

Reply via email to