1
0

- Update to release 0.1.0

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libdisplay-info?expand=0&rev=1
This commit is contained in:
Jan Engelhardt 2023-02-13 16:39:31 +00:00 committed by Git OBS Bridge
commit 252f53400c
6 changed files with 116 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c974a5d345e28a480684d07e01bc20a362f071ae126f110c307b5527ed21c0c0
size 76788

Binary file not shown.

10
libdisplay-info.changes Normal file
View File

@ -0,0 +1,10 @@
-------------------------------------------------------------------
Mon Feb 13 16:38:18 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.1.0
* First release; no changelog
-------------------------------------------------------------------
Mon Mar 28 08:00:27 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 0) for build.opensuse.org

79
libdisplay-info.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package libdisplay-info
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: libdisplay-info
%define lname libdisplay-info1
Version: 0.1.0
Release: 0
Summary: EDID and DisplayID library
License: MIT
Group: Development/Libraries/C and C++
URL: https://gitlab.freedesktop.org/emersion/libdisplay-info
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
BuildRequires: cmake
BuildRequires: meson
BuildRequires: hwdata
%description
The library provides a set of high-level opinionated functions as
well as low-level functions to access detailed EDID information.
%package -n %lname
Summary: EDID and DisplayID library
Group: System/Libraries
%description -n %lname
The library provides a set of high-level opinionated functions as
well as low-level functions to access detailed EDID information.
%package devel
Summary: Header files for libdisplay-info, an EDID library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
The library provides a set of high-level opinionated functions as
well as low-level functions to access detailed EDID information.
This package contains headers for the library.
%prep
%autosetup -p1
%build
%meson --includedir="%_includedir/%name"
%meson_build
%install
%meson_install
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/lib*.so.[0-9]*
%files devel
%_bindir/di-edid-decode
%_includedir/%name/
%_libdir/pkgconfig/*.pc
%_libdir/*.so
%license LICENSE
%changelog