Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
12ac835ad3
!13 update version to 2.0.0
From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2024-01-09 01:47:18 +00:00
peijiankang
f70b0bbd99 update version to 2.0.0 2024-01-08 17:36:05 +08:00
openeuler-ci-bot
2d7ac0d245
!10 fix openeuler20.03 SP4 compile problem
From: @hanshuang123456 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-11-10 06:20:58 +00:00
hanshuang
494e7392ba fix openeuler 20.03 SP4 compile problem 2023-11-10 13:58:08 +08:00
openeuler-ci-bot
f608aff8fb
!6 upstream version 1.4.1
From: @jackwike 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-08-08 07:46:10 +00:00
Jackwike
32947eccbf upstream version 1.4.1 2023-08-08 15:21:03 +08:00
openeuler-ci-bot
fbd5fc0b03
!5 add yaml file
From: @pei-jiankang 
Reviewed-by: @tanyulong2021 
Signed-off-by: @tanyulong2021
2022-05-09 07:10:53 +00:00
pei-jiankang
898435f5a7 add yaml file 2022-05-08 19:54:59 +08:00
openeuler-ci-bot
88d895b479
!2 update to version 0.9.9
From: @dou33 
Reviewed-by: @pei-jiankang 
Signed-off-by: @pei-jiankang
2022-02-21 08:49:03 +00:00
dou33
c0b60934f3 update to version 0.9.9 2022-02-21 16:34:16 +08:00
3 changed files with 121 additions and 0 deletions

BIN
ddcutil-2.0.0.tar.gz Normal file

Binary file not shown.

117
ddcutil.spec Normal file
View File

@ -0,0 +1,117 @@
%bcond_without build_lib
Name: ddcutil
Version: 2.0.0
Release: 1
Summary: Query and update monitor settings
License: GPLv2+
URL: http://www.ddcutil.com
Source0: http://www.ddcutil.com/tarballs/%{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.40
BuildRequires: pkgconfig(libusb-1.0) >= 1.0.15
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(libdrm) >= 2.4.67
BuildRequires: pkgconfig(libkmod)
BuildRequires: pkgconfig(jansson) >= 2.0
Requires: hwdata
Requires: i2c-tools
# file that may be used at runtime
Recommends: /usr/bin/lsusb
Recommends: /usr/bin/modprobe
Recommends: pkg-config
Recommends: /usr/bin/lscpu
Recommends: /usr/bin/lsb_release
Recommends: xrandr
%description
Query and change monitor settings
ddcutil communicates with monitors implementing MCCS (Monitor Control Command
Set), using either the DDC/CI protocol on the I2C bus or as a Human Interface
Device on USB. In general, anything that can be controlled using a monitor's
on-screen display can be controlled by this program. Examples include
changing a monitor's input source and adjusting its brightness.
# libddcutil can be installed separately
%if %{with build_lib}
%package -n libddcutil
Summary: Shared library to query and update monitor settings
%description -n libddcutil
Shared library version of ddcutil, exposing a C API.
%package -n libddcutil-devel
Summary: Development files for libddcutil
# FindDDCUtils.cmake has BSD license header
License: GPLv2+ and BSD
Requires: libddcutil%{?_isa} = %{version}-%{release}
Requires: cmake-filesystem%{?_isa}
%description -n libddcutil-devel
Development files for libddcutil
%endif
%prep
%setup -q
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
%if %{with build_lib}
--enable-lib=yes
%else
--enable-lib=no
%endif
%make_build
%install
%make_install
%files
%doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.*
%{_udevrulesdir}/60-ddcutil-i2c.rules
%{_udevrulesdir}/60-ddcutil-usb.rules
%{_modulesloaddir}/ddcutil.conf
%if %{with build_lib}
%files -n libddcutil
%doc AUTHORS NEWS.md README.md CHANGELOG.md
%license COPYING
%{_libdir}/lib%{name}.so.5*
%files -n libddcutil-devel
%{_libdir}/lib%{name}.so
%{_includedir}/%{name}*.h
%{_libdir}/cmake/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%endif
%changelog
* Mon Jan 08 2024 peijiankang <peijiankang@kylinos.cn> - 2.0.0-1
- update verison to 2.0.0
* Fri Nov 10 2023 hanshuang<hanshuang@uniontech.com> - 1.4.1-2
- fix openeuler 20.03 SP4 compile problem
* 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

4
ddcutil.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: rockowitz/ddcutil
tag_prefix: "^v"
separator: "."