update to 1.4.1

epel9 imports/epel9/ddcutil-1.4.1-1.el9
Qiyu Yan 2 years ago
parent 7b8a1f39d4
commit 4ffe9a56f9

1
.gitignore vendored

@ -1 +1,2 @@
/ddcutil-0.9.9.tar.gz
/ddcutil-1.4.1.tar.gz

@ -1,26 +1,28 @@
%global _hardened_build 1
%bcond_without build_lib
Name: ddcutil
Version: 0.9.9
Version: 1.4.1
Release: %autorelease
Summary: Query and update monitor settings
License: GPLv2+
URL: http://www.ddcutil.com
Source0: http://www.ddcutil.com/tarballs/%{name}-%{version}.tar.gz
Source0: https://github.com/rockowitz/ddcutil/archive/v%{version}/%{name}-%{version}.tar.gz
# Excluding arch s390/s390x due to i2c-tools does so
ExcludeArch: s390 s390x
BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.15
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(libdrm) >= 2.4.16
BuildRequires: pkgconfig(libdrm) >= 2.4.67
BuildRequires: pkgconfig(libkmod)
Requires: hwdata
Requires: i2c-tools
@ -63,9 +65,9 @@ Development files for libddcutil
%prep
%setup -q
chmod -x ChangeLog NEWS.md
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
%if %{with build_lib}
--enable-lib=yes
@ -78,18 +80,19 @@ chmod -x ChangeLog NEWS.md
%make_install
%files
%doc NEWS.md README.md AUTHORS ChangeLog
%doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_udevrulesdir}/60-ddcutil.rules
%if %{with build_lib}
%files -n libddcutil
%doc NEWS.md README.md AUTHORS ChangeLog
%doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING
%{_libdir}/lib%{name}.so.3*
%{_libdir}/lib%{name}.so.4*
%files -n libddcutil-devel
%{_libdir}/lib%{name}.so

@ -1 +1 @@
SHA512 (ddcutil-0.9.9.tar.gz) = 1e7be545551a8050facef79766e5674132293555516abdf1515b245682760b1a051ccca6aac0e6a0ac3489b05ae6c04b4dc97f79e30c7cfce588d936ed3a840b
SHA512 (ddcutil-1.4.1.tar.gz) = e53820662c12cd3a91b1182e02ad74841238117c129e88c8bcdede42d4e0dec22a9c1ec37a7b1e1dd512f2cf7ef410e737d9fdba62d95ea48e5912e43e6d3857

Loading…
Cancel
Save