[colorhug-client] New upstream version.
Richard Hughes
rhughes at fedoraproject.org
Thu Mar 15 20:03:50 UTC 2012
commit b0e773445cde9766fd229c14eeafacc711587072
Author: Richard Hughes <richard at hughsie.com>
Date: Thu Mar 15 20:02:51 2012 +0000
New upstream version.
- Allow the user to update to test firmware if enabled in GSettings
- Create a trivial libcolorhug library for low level access
- Correctly detect the failure to re-enumerate
.gitignore | 1 +
colorhug-client.spec | 35 ++++++++++++++++++++++++++++++++++-
sources | 2 +-
3 files changed, 36 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b975424..62a8c4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/colorhug-client-0.1.4.tar.xz
/colorhug-client-0.1.5.tar.xz
/colorhug-client-0.1.6.tar.xz
+/colorhug-client-0.1.7.tar.xz
diff --git a/colorhug-client.spec b/colorhug-client.spec
index 4ae82db..91e8a88 100644
--- a/colorhug-client.spec
+++ b/colorhug-client.spec
@@ -1,6 +1,6 @@
Summary: Tools for the Hughski Colorimeter
Name: colorhug-client
-Version: 0.1.6
+Version: 0.1.7
Release: 1%{?dist}
License: GPLv2+
URL: http://www.hughski.com/
@@ -14,6 +14,7 @@ BuildRequires: libgusb-devel >= 0.1.2
BuildRequires: colord-devel >= 0.1.15
BuildRequires: lcms2-devel
BuildRequires: libsoup-devel
+BuildRequires: libtool
BuildRequires: docbook-utils
BuildRequires: sqlite-devel
@@ -25,6 +26,15 @@ This package includes the client tools which allows the user to upgrade
the firmware on the sensor or to access the sensor from command line
scripts.
+%package devel
+Summary: GLib Libraries and headers for zif
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel
+Requires: libgusb-devel
+
+%description devel
+GLib headers and libraries for colorhug-client.
+
%prep
%setup -q
@@ -36,16 +46,22 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/libcolorhug*.la
+
%find_lang %{name}
%post
+/sbin/ldconfig
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%postun
+/sbin/ldconfig
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
@@ -53,18 +69,35 @@ fi
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README AUTHORS NEWS COPYING
+%{_libdir}/libcolorhug.so.*
%dir %{_datadir}/colorhug-client
%{_datadir}/colorhug-client
%{_libexecdir}/colorhug*
%{_bindir}/colorhug*
%{_datadir}/applications/*.desktop
+%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/apps/*colorhug*.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-ccmx.*
%{_datadir}/icons/hicolor/scalable/apps/colorhug.svg
%{_mandir}/man1/*.1.gz
%{_sysconfdir}/bash_completion.d/*-completion.bash
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libcolorhug.so
+%{_libdir}/pkgconfig/colorhug.pc
+%dir %{_includedir}/libcolorhug
+%{_includedir}/libcolorhug/*.h
+%{_libdir}/girepository-1.0/ColorHug-1.0.typelib
+%{_datadir}/gir-1.0/ColorHug-1.0.gir
+
%changelog
+* Thu Mar 15 2012 Richard Hughes <richard at hughsie.com> 0.1.7-1
+- New upstream version.
+- Allow the user to update to test firmware if enabled in GSettings
+- Create a trivial libcolorhug library for low level access
+- Correctly detect the failure to re-enumerate
+
* Sun Mar 04 2012 Richard Hughes <richard at hughsie.com> 0.1.6-1
- New upstream version.
diff --git a/sources b/sources
index 5e7def4..f3f914f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6a07023ede323ee52231e69e40c70174 colorhug-client-0.1.6.tar.xz
+d93690beaa433ab34b3d36517085f2cd colorhug-client-0.1.7.tar.xz
More information about the scm-commits
mailing list