91405f
Summary:   GTK support library for colord
91405f
Name:      colord-gtk
91405f
Version:   0.1.25
1760ea
Release:   4%{?dist}
91405f
License:   LGPLv2+
91405f
URL:       http://www.freedesktop.org/software/colord/
91405f
Source0:   http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
91405f
91405f
BuildRequires: docbook-utils
91405f
BuildRequires: gettext
91405f
BuildRequires: glib2-devel
91405f
BuildRequires: colord-devel >= 0.1.23
91405f
BuildRequires: intltool
91405f
BuildRequires: lcms2-devel >= 2.2
91405f
BuildRequires: gobject-introspection-devel
91405f
BuildRequires: vala-tools
91405f
BuildRequires: gtk3-devel
91405f
BuildRequires: gtk-doc
91405f
91405f
%description
91405f
colord-gtk is a support library for colord and provides additional
91405f
functionality that requires GTK+.
91405f
91405f
%package devel
91405f
Summary: Development package for %{name}
91405f
Requires: %{name}%{?_isa} = %{version}-%{release}
91405f
91405f
%description devel
91405f
Files for development with %{name}.
91405f
91405f
%prep
91405f
%setup -q
91405f
91405f
%build
91405f
%configure \
91405f
        --disable-gtk-doc \
91405f
        --enable-vala \
91405f
        --disable-static \
91405f
        --disable-rpath \
91405f
        --disable-dependency-tracking
91405f
91405f
make %{?_smp_mflags}
91405f
91405f
%install
91405f
make install DESTDIR=$RPM_BUILD_ROOT
91405f
91405f
# Remove static libs and libtool archives.
91405f
find %{buildroot} -name '*.la' -exec rm -f {} ';'
91405f
find %{buildroot} -name '*.a' -exec rm -f {} ';'
91405f
91405f
%find_lang %{name}
91405f
91405f
%post -p /sbin/ldconfig
91405f
%postun -p /sbin/ldconfig
91405f
91405f
%files -f %{name}.lang
91405f
%doc README AUTHORS NEWS COPYING
91405f
%{_libdir}/libcolord-gtk.so.*
91405f
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
91405f
91405f
%files devel
91405f
%{_libdir}/libcolord-gtk.so
91405f
%{_libdir}/pkgconfig/colord-gtk.pc
91405f
%dir %{_includedir}/colord-1
91405f
%{_includedir}/colord-1/colord-gtk.h
91405f
%dir %{_includedir}/colord-1/colord-gtk
91405f
%{_includedir}/colord-1/colord-gtk/*.h
91405f
%dir %{_datadir}/gir-1.0
91405f
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
91405f
#%doc %{_datadir}/gtk-doc/html/colord-gtk
91405f
%{_datadir}/vala/vapi/colord-gtk.vapi
91405f
#%dir %{_datadir}/gtk-doc
91405f
#%dir %{_datadir}/gtk-doc/html
91405f
91405f
%changelog
1760ea
* Tue May 12 2015 Richard Hughes <richard@hughsie.com> 0.1.25-4
1760ea
- Rebuild against the latest colord
1760ea
- Resolves: #1220479
1760ea
fd4cf2
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.1.25-3
fd4cf2
- Mass rebuild 2014-01-24
fd4cf2
fd4cf2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.1.25-2
fd4cf2
- Mass rebuild 2013-12-27
fd4cf2
91405f
* Tue Mar 19 2013 Richard Hughes <richard@hughsie.com> 0.1.25-1
91405f
- New upstream version.
91405f
- Give the sample widget slightly curved corners and a gray outline
91405f
- Do not use deprecated functions from libcolord
91405f
- Fix warnings when building ColordGtk-1.0.gir
91405f
- Fix up the licence boilerplate for CdSampleWidget
91405f
91405f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.24-2
91405f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
91405f
91405f
* Mon Dec 17 2012 Richard Hughes <richard@hughsie.com> 0.1.24-1
91405f
- New upstream version.
91405f
91405f
* Wed Aug 29 2012 Richard Hughes <richard@hughsie.com> 0.1.23-1
91405f
- New upstream version.
91405f
- Remove upstreamed patch
91405f
- Add include guards to cd-sample-window.h
91405f
91405f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.22-3
91405f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
91405f
91405f
* Wed Jun 27 2012 Richard Hughes <richard@hughsie.com> 0.1.22-2
91405f
- Backport a patch from git master that fixes an include issue with
91405f
  projects that want to use colord-gtk.h and colord.h at the same time.
91405f
91405f
* Tue Jun 26 2012 Richard Hughes <richard@hughsie.com> 0.1.22-1
91405f
- New version after Fedora package review.
91405f
91405f
* Mon Jun 18 2012 Richard Hughes <richard@hughsie.com> 0.1.1-1
91405f
- Initial version for Fedora package review.