# 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)