[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)
+
+%description
+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.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ %{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libXcm.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%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
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libXcm.so
+%{_includedir}/X11/Xcm
+%{_pkgconfigdir}/xcm.pc
+%{_datadir}/cmake/Modules/FindXcm.cmake
+%{_mandir}/man3/Xcm*.3*
+%{_mandir}/man3/Xcolor*.3*
+%{_mandir}/man3/libXcm.3*
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libXcm.a
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libXcm.git/commitdiff/4ee8a89227cc6fcdff33672535b4ecf8cbf51f9c
More information about the pld-cvs-commit
mailing list