[libXcm] Update to 0.5.2
Christopher Meng
cicku at fedoraproject.org
Fri Feb 7 09:16:20 UTC 2014
commit 04c1766ba09dc0572aa3abf667df55b2352a93fb
Author: Christopher Meng <i at cicku.me>
Date: Fri Feb 7 17:16:23 2014 +0800
Update to 0.5.2
.gitignore | 1 +
libXcm.spec | 36 +++++++++++-------------------------
sources | 2 +-
3 files changed, 13 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a1adfd5..4513aeb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ libXcm-0.2.6.tar.gz
/libXcm-0.4.2.tar.gz
/libXcm-0.5.0.tar.bz2
/libXcm-0.5.1.tar.bz2
+/libXcm-0.5.2.tar.bz2
diff --git a/libXcm.spec b/libXcm.spec
index 00b6a82..5276492 100644
--- a/libXcm.spec
+++ b/libXcm.spec
@@ -1,15 +1,12 @@
Name: libXcm
-Version: 0.5.1
-Release: 4%{?dist}
+Version: 0.5.2
+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.bz2
-
-BuildRequires: xorg-x11-util-macros
-BuildRequires: autoconf automake libtool
+BuildRequires: xorg-x11-util-macros
+BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: libXfixes-devel
@@ -17,54 +14,41 @@ BuildRequires: libXmu-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: %{name}%{?_isa} = %{version}-%{release}
Requires: libX11-devel
Requires: xorg-x11-proto-devel
%description devel
-The %{name}-devel package contains libraries and header files for
+This package contains libraries and header files for
developing applications that use %{name}.
-
%prep
%setup -q
-
%build
-autoreconf -v --install --force
-CFLAGS="$RPM_OPT_FLAGS -fPIC"
-
%configure --disable-static --enable-shared
make %{?_smp_mflags}
-
%install
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+find %{buildroot} -name '*.la' -delete
%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/*.txt
%dir %{_includedir}/X11/Xcm
%{_includedir}/X11/Xcm/*.h
@@ -72,8 +56,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/xcm.pc
%{_mandir}/man3/*.3.*
-
%changelog
+* Tue Jan 07 2014 Christopher Meng <rpm at cicku.me> - 0.5.2-1
+- Update to 0.5.2
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 63e9409..c33d945 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4b818b7e710352247b6d7ba33f5b9318 libXcm-0.5.1.tar.bz2
+4d4f2ad9cdea8d4a9eb6723d86d31016 libXcm-0.5.2.tar.bz2
More information about the scm-commits
mailing list