[packages/libXcm] - new

qboosh qboosh at pld-linux.org
Mon Mar 25 22:00:17 CET 2013

commit 4ee8a89227cc6fcdff33672535b4ecf8cbf51f9c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 25 22:00:10 2013 +0100

    - new

 libXcm.spec | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 101 insertions(+)
diff --git a/libXcm.spec b/libXcm.spec
new file mode 100644
index 0000000..23c30b7
--- /dev/null
+++ b/libXcm.spec
@@ -0,0 +1,101 @@
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+Summary:	X Color Management library
+Summary(pl.UTF-8):	Biblioteka X Color Management (zarządzanie kolorami w X)
+Name:		libXcm
+Version:	0.5.2
+Release:	1
+License:	MIT
+Group:		Libraries
+Source0:	http://downloads.sourceforge.net/oyranos/%{name}-%{version}.tar.bz2
+# Source0-md5:	4d4f2ad9cdea8d4a9eb6723d86d31016
+URL:		http://www.oyranos.org/
+BuildRequires:	pkgconfig
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xorg-lib-libXfixes-devel
+BuildRequires:	xorg-lib-libXmu-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+The libXcm library contains the a reference implementation of the X
+Color Management specification. The X Color Management specification 
+allows to attach color regions to X windows to communicate with
+color servers.
+%description -l pl.UTF-8
+Biblioteka libXcm zawiera wzorcową implementację specyfikacji X Color
+Management. Specyfikacja ta pozwala na dołączanie regionów kolorów do
+okien X w celu komunikacji z serwerami kolorów.
+%package devel
+Summary:	Header files for libXcm library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libXcm
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	xorg-lib-libX11-devel
+Requires:	xorg-proto-xproto-devel
+%description devel
+Header files for libXcm library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libXcm.
+%package static
+Summary:	Static libXcm library
+Summary(pl.UTF-8):	Statyczna biblioteka libXcm
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static libXcm library.
+%description static -l pl.UTF-8
+Statyczna biblioteka libXcm.
+%setup -q
+%configure \
+	%{?with_static_libs:--enable-static}
+%{__make} install \
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXcm.la
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+%doc AUTHORS COPYING ChangeLog README docs/X_Color_Management.txt
+%attr(755,root,root) %{_libdir}/libXcm.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libXcm.so.0
+%files devel
+%attr(755,root,root) %{_libdir}/libXcm.so
+%if %{with static_libs}
+%files static

---- gitweb:


More information about the pld-cvs-commit mailing list