2024-01-06 03:40:15 +01:00
|
|
|
Name: libXcm
|
2024-01-06 03:40:16 +01:00
|
|
|
Version: 0.5.4
|
2024-01-06 03:40:15 +01:00
|
|
|
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>
|
2024-01-06 03:40:16 +01:00
|
|
|
URL: https://github.com/oyranos-cms/libxcm
|
|
|
|
Source: https://github.com/oyranos-cms/libxcm.git/%{version}/libxcm-%{version}.tar.bz2
|
2024-01-06 03:40:15 +01:00
|
|
|
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
|
2024-01-06 03:40:16 +01:00
|
|
|
BuildRequires: libbsd-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: xorgproto-devel
|
2024-01-06 03:40:15 +01:00
|
|
|
## 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}
|
2024-01-06 03:40:16 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 03:40:15 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 03:40:16 +01:00
|
|
|
%setup -q -n libxcm-%{version}
|
2024-01-06 03:40:15 +01:00
|
|
|
|
|
|
|
%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.*
|
2024-01-06 03:40:16 +01:00
|
|
|
%{_libdir}/libXcmDDC.so.*
|
|
|
|
%{_libdir}/libXcmEDID.so.*
|
|
|
|
%{_libdir}/libXcmX11.so.*
|
|
|
|
%doc docs/AUTHORS.md docs/COPYING.md
|
2024-01-06 03:40:15 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/X11/Xcm
|
|
|
|
%{_includedir}/X11/Xcm/Xcm*.h
|
|
|
|
%{_libdir}/libXcm.la
|
|
|
|
%{_libdir}/libXcm.so
|
2024-01-06 03:40:16 +01:00
|
|
|
%{_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
|
2024-01-06 03:40:15 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:40:16 +01:00
|
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-1mamba
|
|
|
|
- update to 0.5.4
|
|
|
|
|
2024-01-06 03:40:15 +01:00
|
|
|
* Tue Oct 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- package created by autospec
|