99 lines
3.0 KiB
RPMSpec
99 lines
3.0 KiB
RPMSpec
Name: libXcm
|
|
Version: 0.5.4
|
|
Release: 1mamba
|
|
Summary: A reference implementation of the X Color Management specification
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/oyranos-cms/libxcm
|
|
Source: https://github.com/oyranos-cms/libxcm.git/%{version}/libxcm-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXau-devel
|
|
BuildRequires: libXdmcp-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: libXt-devel
|
|
BuildRequires: libbsd-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxcb-devel
|
|
BuildRequires: xorgproto-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
The libXcm library contains a reference implementation of the X Color Management specification. The X Color Management specification allows to attach colour regions to X windows to communicate with colour servers.
|
|
The XcmDDC API can be used to fetch a EDID data block from a monitor over a i2c communication. On Linux typical the i2c-dev module must be loaded to use this hardware data channel. The device nodes must obtain rights accessible to normal users.
|
|
The XcmEdidParse API is for parsing EDID data blocks. A small example application is included.
|
|
The XcmEvents API allowes to easily observe X11 colour management events. The included xcmsevents makes use of the XcmEvents API.
|
|
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n libxcm-%{version}
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libXcm.so.*
|
|
%{_libdir}/libXcmDDC.so.*
|
|
%{_libdir}/libXcmEDID.so.*
|
|
%{_libdir}/libXcmX11.so.*
|
|
%doc docs/AUTHORS.md docs/COPYING.md
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/X11/Xcm
|
|
%{_includedir}/X11/Xcm/Xcm*.h
|
|
%{_libdir}/libXcm.la
|
|
%{_libdir}/libXcm.so
|
|
%{_libdir}/libXcmDDC.la
|
|
%{_libdir}/libXcmDDC.so
|
|
%{_libdir}/libXcmEDID.la
|
|
%{_libdir}/libXcmEDID.so
|
|
%{_libdir}/libXcmX11.la
|
|
%{_libdir}/libXcmX11.so
|
|
%{_mandir}/man3/Xcm*.3*
|
|
%{_mandir}/man3/Xcolor*.3*
|
|
%{_mandir}/man3/libXcm.3*
|
|
%dir %{_docdir}/libXcm
|
|
%{_docdir}/libXcm/*
|
|
%{_libdir}/pkgconfig/xcm*.pc
|
|
%dir %{_libdir}/cmake/Xcm
|
|
%{_libdir}/cmake/Xcm/XcmConfig.cmake
|
|
|
|
%changelog
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-1mamba
|
|
- update to 0.5.4
|
|
|
|
* Tue Oct 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
- package created by autospec
|