ddcutil/ddcutil.spec

122 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: ddcutil
Version: 1.3.0
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: https://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: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libatomic-devel
BuildRequires: libbsd-devel
BuildRequires: libdrm-devel
BuildRequires: libglib-devel
BuildRequires: libkmod-devel
BuildRequires: libudev-devel
BuildRequires: libusb-devel
BuildRequires: libxcb-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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
%dir %{_libdir}/cmake/ddcutil
%{_libdir}/cmake/ddcutil/FindDDCUtil.cmake
%doc README.md
%changelog
* Mon Jul 25 2022 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sat Jan 29 2022 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Tue Dec 07 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Fri Oct 22 2021 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Mon Feb 08 2021 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Fri Feb 05 2021 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Fri Jun 26 2020 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
- automatic version update by autodist
* Fri Dec 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8-1mamba
- package created using the webbuild interface