From d6624925358e23af1b037e8c190e6e93b9f5faaa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:40:15 +0100 Subject: [PATCH] package created by autospec [release 0.5.1-1mamba;Tue Oct 16 2012] --- README.md | 6 ++++ libXcm.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 libXcm.spec diff --git a/README.md b/README.md index a8ddb74..222e0b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # libXcm +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. + + diff --git a/libXcm.spec b/libXcm.spec new file mode 100644 index 0000000..85e3fe7 --- /dev/null +++ b/libXcm.spec @@ -0,0 +1,89 @@ +Name: libXcm +Version: 0.5.1 +Release: 1mamba +Summary: A reference implementation of the X Color Management specification +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.oyranos.org/ +Source: http://downloads.sourceforge.net/project/oyranos/libXcm/libXcm-0.5/libXcm-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libSM-devel +BuildRequires: libuuid-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXmu-devel +BuildRequires: libXt-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%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.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/X11/Xcm +%{_includedir}/X11/Xcm/Xcm*.h +%{_libdir}/libXcm.la +%{_libdir}/libXcm.so +%{_libdir}/pkgconfig/xcm.pc +%{_mandir}/man3/Xcm.3.gz +%{_mandir}/man3/XcmDDC.3.gz +%{_mandir}/man3/XcmEdidParse.3.gz +%{_mandir}/man3/XcmEvents.3.gz +%{_mandir}/man3/XcolorProfile.3.gz +%{_mandir}/man3/XcolorRegion.3.gz +%{_mandir}/man3/libXcm.3.gz +%doc ChangeLog README + +%changelog +* Tue Oct 16 2012 Silvan Calarco 0.5.1-1mamba +- package created by autospec