!6 upstream version 1.4.1
From: @jackwike Reviewed-by: @peijiankang Signed-off-by: @peijiankang
This commit is contained in:
commit
f608aff8fb
Binary file not shown.
BIN
ddcutil-1.4.1.tar.gz
Normal file
BIN
ddcutil-1.4.1.tar.gz
Normal file
Binary file not shown.
16
ddcutil.spec
16
ddcutil.spec
@ -2,7 +2,7 @@
|
||||
%bcond_without build_lib
|
||||
|
||||
Name: ddcutil
|
||||
Version: 0.9.9
|
||||
Version: 1.4.1
|
||||
Release: 1
|
||||
Summary: Query and update monitor settings
|
||||
License: GPLv2+
|
||||
@ -13,6 +13,7 @@ Source0: http://www.ddcutil.com/tarballs/%{name}-%{version}.tar.gz
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
BuildRequires: automake
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||
@ -22,6 +23,7 @@ BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.16
|
||||
BuildRequires: libstdc++ libgcc libxml2
|
||||
BuildRequires: pkgconfig(libkmod)
|
||||
|
||||
Requires: hwdata
|
||||
Requires: i2c-tools
|
||||
@ -64,9 +66,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
|
||||
@ -79,18 +81,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
|
||||
@ -100,5 +103,8 @@ chmod -x ChangeLog NEWS.md
|
||||
%endif
|
||||
|
||||
%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
|
||||
- update to upstream version 0.9.9
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user