[libXcm/el6/master] Initial import for el6
Nicolas Chauvet
kwizart at fedoraproject.org
Sun Aug 22 10:18:13 UTC 2010
commit c900b98175e58f99b1499b7c9f5caacef0a29fc5
Author: Nicolas Chauvet <kwizart at gmail.com>
Date: Sun Aug 22 12:19:07 2010 +0200
Initial import for el6
.gitignore | 1 +
libXcm.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 94 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a69804c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libXcm-0.2.7.tar.gz
diff --git a/libXcm.spec b/libXcm.spec
new file mode 100644
index 0000000..06afd88
--- /dev/null
+++ b/libXcm.spec
@@ -0,0 +1,92 @@
+Name: libXcm
+Version: 0.2.7
+Release: 1%{?dist}
+Summary: X Color Management Library
+
+Group: System Environment/Libraries
+License: MIT
+URL: http://www.oyranos.org
+Source0: http://downloads.sourceforge.net/oyranos/libXcm-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: doxygen
+BuildRequires: graphviz
+BuildRequires: libXfixes-devel
+BuildRequires: xorg-x11-proto-devel
+BuildRequires: xorg-x11-xtrans-devel
+
+
+%description
+The libXcm library is a reference implementation of the net-color spec.
+It allows to attach color regions to X windows to communicate with color
+servers.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libX11-devel
+Requires: xorg-x11-proto-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+#Remove installed doc
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
+#Fix timestamp to prevent multilibs conflict
+touch -r ChangeLog doc/html/*
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog README
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc docs/net-color-spec
+%doc doc/html
+%{_includedir}/X11/Xcm.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/xcm.pc
+%{_mandir}/man3/*.3.*
+
+
+%changelog
+* Sun Aug 22 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.2.7-1
+- Update to 0.27
+
+* Fri Jul 16 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.2.6-2
+- Fix X11 directory ownership for header.
+- Improve description
+
+* Wed Jul 14 2010 Nicolas Chauvet <kwizart at gmail.com> - 0.2.6-1
+- Initial spec file
+
diff --git a/sources b/sources
index e69de29..a8590e1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+43980f688ab918078bf4ead6d351691b libXcm-0.2.7.tar.gz
More information about the scm-commits
mailing list