libXcm/libXcm.spec

90 lines
2.8 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- package created by autospec