package created using the webbuild interface [release 0.9.8-1mamba;Fri Dec 27 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 21:41:57 +01:00
parent 89855bfcc8
commit 02dc209e35
2 changed files with 98 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ddcutil # ddcutil
Query and change Linux monitor settings using DDC/CI and USB.

96
ddcutil.spec Normal file
View File

@ -0,0 +1,96 @@
Name: ddcutil
Version: 0.9.8
Release: 1mamba
Summary: Query and change Linux monitor settings using DDC/CI and USB
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.ddcutil.com
## GITSOURCE https://github.com/rockowitz/ddcutil.git v0.9.8
Source: https://github.com/rockowitz/ddcutil.git/v%{version}/ddcutil-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libbsd-devel
BuildRequires: libdrm-devel
BuildRequires: libglib-devel
BuildRequires: libudev-devel
BuildRequires: libusb-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Query and change Linux monitor settings using DDC/CI and USB.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/ddcutil
%{_mandir}/man1/ddcutil.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libddcutil.so.*
%dir %{_datadir}/ddcutil
%dir %{_datadir}/ddcutil/data
%{_datadir}/ddcutil/data/*.conf
%{_datadir}/ddcutil/data/*.rules
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/ddcutil*.h
%{_libdir}/libddcutil.so
%{_libdir}/pkgconfig/ddcutil.pc
%{_datadir}/cmake/Modules/FindDDCUtil.cmake
%doc ChangeLog README.md
%changelog
* Fri Dec 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8-1mamba
- package created using the webbuild interface