2015-06-30 11:21:05 +02:00
|
|
|
#
|
|
|
|
# spec file for package libgudev
|
|
|
|
#
|
2023-04-27 23:56:22 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-06-30 11:21:05 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-16 13:58:48 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-06-30 11:21:05 +02:00
|
|
|
#
|
|
|
|
|
2015-09-25 10:39:58 +02:00
|
|
|
|
2015-06-30 11:21:05 +02:00
|
|
|
Name: libgudev
|
2023-07-15 14:12:35 +02:00
|
|
|
Version: 238
|
2018-03-01 09:22:21 +01:00
|
|
|
Release: 0
|
2015-09-25 10:39:58 +02:00
|
|
|
Summary: Library that provides GObject bindings for libudev
|
2021-08-16 15:20:23 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2015-06-30 11:21:05 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2018-03-01 09:22:21 +01:00
|
|
|
URL: https://wiki.gnome.org/Projects/libgudev
|
2015-06-30 11:21:05 +02:00
|
|
|
Source0: https://download.gnome.org/sources/libgudev/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source99: baselibs.conf
|
2023-04-27 23:56:22 +02:00
|
|
|
|
2022-02-02 08:20:36 +01:00
|
|
|
# For testsuite, uses fr_FR.UTF-8
|
|
|
|
BuildRequires: glibc-locale
|
2021-08-16 15:20:23 +02:00
|
|
|
BuildRequires: meson
|
2015-06-30 11:21:05 +02:00
|
|
|
BuildRequires: pkgconfig
|
2015-09-25 10:39:58 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2019-08-16 13:58:48 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2015-06-30 11:21:05 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2015-09-25 10:39:58 +02:00
|
|
|
BuildRequires: pkgconfig(gtk-doc) >= 1.18
|
2017-02-15 15:52:45 +01:00
|
|
|
BuildRequires: pkgconfig(libudev) >= 199
|
2021-08-16 15:20:23 +02:00
|
|
|
BuildRequires: pkgconfig(umockdev-1.0)
|
2015-06-30 11:21:05 +02:00
|
|
|
|
|
|
|
%description
|
2017-09-01 13:00:32 +02:00
|
|
|
Library provides GObject bindings for libudev. It used to be part
|
|
|
|
of udev, then merged into systemd. It's now a project on its own.
|
2015-06-30 11:21:05 +02:00
|
|
|
|
|
|
|
%package -n libgudev-1_0-0
|
|
|
|
Summary: GObject library, to access udev device information
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgudev-1_0-0
|
|
|
|
This package contains the GObject library libgudev, which provides
|
|
|
|
access to udev device information.
|
|
|
|
|
|
|
|
%package -n typelib-1_0-GUdev-1_0
|
|
|
|
Summary: GObject library, to access udev device information -- Introspection bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GUdev-1_0
|
|
|
|
This package provides the GObject Introspection bindings for libgudev, which
|
|
|
|
provides access to udev device information.
|
|
|
|
|
|
|
|
%package -n libgudev-1_0-devel
|
|
|
|
Summary: Devel package for libgudev
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgudev-1_0-0 = %{version}
|
|
|
|
Requires: typelib-1_0-GUdev-1_0 = %{version}
|
|
|
|
|
|
|
|
%description -n libgudev-1_0-devel
|
|
|
|
This is the devel package for the GObject library libgudev, which
|
|
|
|
provides GObject access to udev device information.
|
|
|
|
|
|
|
|
%prep
|
2019-08-16 13:58:48 +02:00
|
|
|
%autosetup -p1
|
2015-06-30 11:21:05 +02:00
|
|
|
|
|
|
|
%build
|
2021-08-16 15:20:23 +02:00
|
|
|
%meson \
|
|
|
|
-Dvapi=disabled \
|
|
|
|
-Dgtk_doc=true \
|
2019-08-16 13:58:48 +02:00
|
|
|
%{nil}
|
2021-08-16 15:20:23 +02:00
|
|
|
%meson_build
|
2015-06-30 11:21:05 +02:00
|
|
|
|
|
|
|
%install
|
2021-08-16 15:20:23 +02:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
2015-06-30 11:21:05 +02:00
|
|
|
|
2023-04-27 23:56:22 +02:00
|
|
|
%ldconfig_scriptlets -n libgudev-1_0-0
|
2015-06-30 11:21:05 +02:00
|
|
|
|
|
|
|
%files -n libgudev-1_0-0
|
2018-03-01 09:22:21 +01:00
|
|
|
%license COPYING
|
2015-06-30 11:21:05 +02:00
|
|
|
%{_libdir}/libgudev-1.0.so.*
|
|
|
|
|
|
|
|
%files -n typelib-1_0-GUdev-1_0
|
|
|
|
%{_libdir}/girepository-1.0/GUdev-1.0.typelib
|
|
|
|
|
|
|
|
%files -n libgudev-1_0-devel
|
|
|
|
%{_includedir}/gudev-1.0/
|
|
|
|
%{_libdir}/libgudev-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/gudev-1.0.pc
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/gudev/
|
|
|
|
%{_datadir}/gir-1.0/GUdev-1.0.gir
|
|
|
|
|
|
|
|
%changelog
|