commit 252f53400c63228cd6951a71b2219b469ea41cbd136b3bf0a260cea588afff83 Author: Jan Engelhardt Date: Mon Feb 13 16:39:31 2023 +0000 - Update to release 0.1.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libdisplay-info?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libdisplay-info-0.1.0.tar.xz b/libdisplay-info-0.1.0.tar.xz new file mode 100644 index 0000000..027d623 --- /dev/null +++ b/libdisplay-info-0.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c974a5d345e28a480684d07e01bc20a362f071ae126f110c307b5527ed21c0c0 +size 76788 diff --git a/libdisplay-info-0.1.0.tar.xz.sig b/libdisplay-info-0.1.0.tar.xz.sig new file mode 100644 index 0000000..7d0f40a Binary files /dev/null and b/libdisplay-info-0.1.0.tar.xz.sig differ diff --git a/libdisplay-info.changes b/libdisplay-info.changes new file mode 100644 index 0000000..be927cc --- /dev/null +++ b/libdisplay-info.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 13 16:38:18 UTC 2023 - Jan Engelhardt + +- Update to release 0.1.0 + * First release; no changelog + +------------------------------------------------------------------- +Mon Mar 28 08:00:27 UTC 2022 - Jan Engelhardt + +- Initial package (version 0) for build.opensuse.org diff --git a/libdisplay-info.spec b/libdisplay-info.spec new file mode 100644 index 0000000..e4ebd89 --- /dev/null +++ b/libdisplay-info.spec @@ -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