forked from pool/libdisplay-info
Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
9b76562bea | |||
8f72aaaba2 | |||
|
012277d972 | ||
5099bbb675 | |||
|
59aa9bb3fd | ||
03bf173dbc | |||
|
d64a99a041 | ||
e0afc25f09 | |||
a06068cb2e | |||
f8a47b8702 |
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 20 14:42:25 UTC 2025 - Manfred Hollstein <manfred.h@gmx.net>
|
||||||
|
|
||||||
|
- Add BuildRequires: python3-base; building for Leap 15.6 fails
|
||||||
|
otherwise.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 27 08:12:11 UTC 2025 - Enrico Belleri <kilgore.trout@idesmi.eu>
|
||||||
|
|
||||||
|
- Create package libdisplay-info-tools for di-edid-decode
|
||||||
|
- Remode BuildRequires cmake in favour of c_compiler
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 20 18:05:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Thu Jun 20 18:05:25 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libdisplay-info
|
# spec file for package libdisplay-info
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -27,8 +27,9 @@ URL: https://gitlab.freedesktop.org/emersion/libdisplay-info
|
|||||||
Source: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz
|
Source: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz
|
||||||
Source2: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz.sig
|
Source2: https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/%version/downloads/libdisplay-info-%version.tar.xz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
BuildRequires: cmake
|
BuildRequires: c_compiler
|
||||||
BuildRequires: meson
|
BuildRequires: meson >= 0.57.0
|
||||||
|
BuildRequires: python3-base
|
||||||
BuildRequires: pkgconfig(hwdata)
|
BuildRequires: pkgconfig(hwdata)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -47,6 +48,19 @@ low-level API exposing all of the details of these formats, plus a
|
|||||||
high-level API (of opinionated functions) which abstracts these
|
high-level API (of opinionated functions) which abstracts these
|
||||||
details for common operations.
|
details for common operations.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Command-line tools for %name
|
||||||
|
Requires: %lname = %version
|
||||||
|
Provides: %name-devel:%_bindir/di-edid-decode
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
libdisplay-info is an EDID and DisplayID library. It provides a
|
||||||
|
low-level API exposing all of the details of these formats, plus a
|
||||||
|
high-level API (of opinionated functions) which abstracts these
|
||||||
|
details for common operations.
|
||||||
|
|
||||||
|
This package contains a tool to parse EDID.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files for libdisplay-info, an EDID library
|
Summary: Header files for libdisplay-info, an EDID library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@@ -62,6 +76,7 @@ This package contains headers for the library.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
||||||
%meson --includedir="%_includedir/%name"
|
%meson --includedir="%_includedir/%name"
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
@@ -70,11 +85,16 @@ This package contains headers for the library.
|
|||||||
|
|
||||||
%ldconfig_scriptlets -n %lname
|
%ldconfig_scriptlets -n %lname
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%_libdir/lib*.so.[0-9]*
|
%_libdir/lib*.so.[0-9]*
|
||||||
|
|
||||||
%files devel
|
%files tools
|
||||||
%_bindir/di-edid-decode
|
%_bindir/di-edid-decode
|
||||||
|
|
||||||
|
%files devel
|
||||||
%_includedir/%name/
|
%_includedir/%name/
|
||||||
%_libdir/pkgconfig/*.pc
|
%_libdir/pkgconfig/*.pc
|
||||||
%_libdir/*.so
|
%_libdir/*.so
|
||||||
|
Reference in New Issue
Block a user