From 558562fa64ea9d34aa000d81bc631ded353c13cf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 13 Dec 2024 03:38:17 +0000 Subject: automatic import of libdisplay-info --- .gitignore | 3 ++ libdisplay-info.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 3 ++ 3 files changed, 99 insertions(+) create mode 100644 libdisplay-info.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e05d063 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,3 @@ +/gpgkey-0FDE7BE0E88F5E48.gpg +/libdisplay-info-0.2.0.tar.xz +/libdisplay-info-0.2.0.tar.xz.sig diff --git a/libdisplay-info.spec b/libdisplay-info.spec new file mode 100644 index 0000000..6b3f65c --- /dev/null +++ b/libdisplay-info.spec @@ -0,0 +1,93 @@ +# See https://gitlab.freedesktop.org/emersion/libdisplay-info/-/merge_requests/149 +# for library versioning explanation. +%global sover 2 + +Name: libdisplay-info +Version: 0.2.0 +Release: 2%{?dist} +Summary: EDID and DisplayID library + +# Main license: MIT +# test/data: CC-BY-4.0, MIT (see test/data/README.md). +License: MIT +URL: https://gitlab.freedesktop.org/emersion/libdisplay-info +Source0: %{url}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz +Source1: %{url}/-/releases/%{version}/downloads/%{name}-%{version}.tar.xz.sig +# 0FDE7BE0E88F5E48: emersion +Source2: https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19#/gpgkey-0FDE7BE0E88F5E48.gpg + +BuildRequires: gcc +BuildRequires: gnupg2 +BuildRequires: meson >= 0.57 +BuildRequires: pkgconfig(hwdata) + +%description +%{summary}. + +%package tools +Summary: Command-line tools for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tools +%{summary}. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup + + +%build +%meson +%meson_build + + +%install +%meson_install + + +%check +%meson_test + + +%files +%license LICENSE +%doc README.md +%{_libdir}/%{name}.so.%{sover} +%{_libdir}/%{name}.so.%{version} + +%files tools +%{_bindir}/di-edid-decode + +%files devel +%{_includedir}/%{name} +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Thu Jul 18 2024 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 29 2024 Aleksei Bavshin - 0.2.0-1 +- Update to 0.2.0 (#2293555) + +* Thu Jan 25 2024 Fedora Release Engineering - 0.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Feb 16 2023 Aleksei Bavshin - 0.1.1-1 +- Initial import (#2170328) diff --git a/sources b/sources new file mode 100644 index 0000000..dbb10a8 --- /dev/null +++ b/sources @@ -0,0 +1,3 @@ +e930271cf982900c3eb4192eaec369f2 gpgkey-0FDE7BE0E88F5E48.gpg +160d4159a7805823cf0b3b4f86dfa8d4 libdisplay-info-0.2.0.tar.xz +3781b21886ea1e980378bc1f167813a3 libdisplay-info-0.2.0.tar.xz.sig -- cgit v1.2.3