upstream version 1.4.1

This commit is contained in:
Jackwike 2023-08-07 14:38:06 +08:00
parent fbd5fc0b03
commit 32947eccbf
3 changed files with 11 additions and 5 deletions

Binary file not shown.

BIN
ddcutil-1.4.1.tar.gz Normal file

Binary file not shown.

View File

@ -2,7 +2,7 @@
%bcond_without build_lib %bcond_without build_lib
Name: ddcutil Name: ddcutil
Version: 0.9.9 Version: 1.4.1
Release: 1 Release: 1
Summary: Query and update monitor settings Summary: Query and update monitor settings
License: GPLv2+ License: GPLv2+
@ -13,6 +13,7 @@ Source0: http://www.ddcutil.com/tarballs/%{name}-%{version}.tar.gz
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
BuildRequires: automake BuildRequires: automake
BuildRequires: autoconf
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(glib-2.0) >= 2.32
@ -22,6 +23,7 @@ BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(libdrm) >= 2.4.16 BuildRequires: pkgconfig(libdrm) >= 2.4.16
BuildRequires: libstdc++ libgcc libxml2 BuildRequires: libstdc++ libgcc libxml2
BuildRequires: pkgconfig(libkmod)
Requires: hwdata Requires: hwdata
Requires: i2c-tools Requires: i2c-tools
@ -64,9 +66,9 @@ Development files for libddcutil
%prep %prep
%setup -q %setup -q
chmod -x ChangeLog NEWS.md
%build %build
NOCONFIGURE=1 ./autogen.sh
%configure \ %configure \
%if %{with build_lib} %if %{with build_lib}
--enable-lib=yes --enable-lib=yes
@ -79,18 +81,19 @@ chmod -x ChangeLog NEWS.md
%make_install %make_install
%files %files
%doc NEWS.md README.md AUTHORS ChangeLog %doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING %license COPYING
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name} %{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.* %{_mandir}/man1/%{name}.1.*
%{_udevrulesdir}/60-ddcutil.rules
%if %{with build_lib} %if %{with build_lib}
%files -n libddcutil %files -n libddcutil
%doc NEWS.md README.md AUTHORS ChangeLog %doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING %license COPYING
%{_libdir}/lib%{name}.so.3* %{_libdir}/lib%{name}.so.4*
%files -n libddcutil-devel %files -n libddcutil-devel
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
@ -100,5 +103,8 @@ chmod -x ChangeLog NEWS.md
%endif %endif
%changelog %changelog
* Mon Aug 07 2023 yajun<yajun@kylinos.cn> - 1.4.1-1
- update to upstream version 1.4.1
* Mon Feb 21 2022 douyan <douyan@kylinos.cn> - 0.9.9-1 * Mon Feb 21 2022 douyan <douyan@kylinos.cn> - 0.9.9-1
- update to upstream version 0.9.9 - update to upstream version 0.9.9