Blame SPECS/gnome-color-manager.spec

547cdf
Summary:   Color management tools for GNOME
547cdf
Name:      gnome-color-manager
547cdf
Version:   3.8.2
0ef8cd
Release:   6%{?dist}
547cdf
License:   GPLv2+
547cdf
Group:     Applications/System
547cdf
URL:       http://projects.gnome.org/gnome-color-manager/
547cdf
Source0:   http://download.gnome.org/sources/gnome-color-manager/3.8/%{name}-%{version}.tar.xz
547cdf
0ef8cd
Patch0: translations.patch
0ef8cd
547cdf
Requires:  color-filesystem >= 1-7
547cdf
Requires:  gnome-icon-theme
547cdf
Requires:  shared-mime-info
547cdf
Requires:  shared-color-profiles
547cdf
Requires:  dconf
547cdf
547cdf
# Not actually a hard requirement; it just sucks to have to install the
547cdf
# package using PackageKit before the user can calibrate
547cdf
%if 0%{?rhel} == 0
547cdf
Requires:  argyllcms
547cdf
%endif
547cdf
547cdf
BuildRequires: gtk3-devel >= 3.0.0
547cdf
BuildRequires: scrollkeeper
547cdf
BuildRequires: gnome-doc-utils >= 0.3.2
547cdf
BuildRequires: desktop-file-utils
547cdf
BuildRequires: gettext
547cdf
BuildRequires: libtool
547cdf
BuildRequires: vte3-devel
547cdf
BuildRequires: gnome-doc-utils
547cdf
BuildRequires: intltool
547cdf
BuildRequires: libgudev1-devel
547cdf
BuildRequires: libXrandr-devel
547cdf
BuildRequires: lcms2-devel
547cdf
BuildRequires: libtiff-devel
547cdf
BuildRequires: libexif-devel
547cdf
BuildRequires: exiv2-devel
547cdf
BuildRequires: libcanberra-devel
547cdf
BuildRequires: glib2-devel >= 2.25.9-2
547cdf
BuildRequires: docbook-utils
547cdf
BuildRequires: colord-devel >= 0.1.12
547cdf
BuildRequires: gnome-desktop3-devel
547cdf
BuildRequires: itstool
547cdf
BuildRequires: colord-gtk-devel
547cdf
547cdf
Requires(post):   /usr/bin/gtk-update-icon-cache
547cdf
Requires(postun): /usr/bin/gtk-update-icon-cache
547cdf
547cdf
# obsolete sub-package
547cdf
Obsoletes: gnome-color-manager-devel <= 3.1.1
547cdf
Provides: gnome-color-manager-devel
547cdf
547cdf
%description
547cdf
gnome-color-manager is a session framework that makes it easy to manage, install
547cdf
and generate color profiles in the GNOME desktop.
547cdf
547cdf
%prep
547cdf
%setup -q
0ef8cd
%patch0 -p2
547cdf
547cdf
%build
547cdf
%configure --disable-scrollkeeper --disable-schemas-install --disable-clutter
547cdf
make %{?_smp_mflags}
547cdf
547cdf
%install
547cdf
make install DESTDIR=$RPM_BUILD_ROOT
547cdf
547cdf
for i in gcm-calibrate gcm-import ; do
547cdf
  desktop-file-install --delete-original                                \
547cdf
    --dir=$RPM_BUILD_ROOT%{_datadir}/applications/                      \
547cdf
    $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
547cdf
done
547cdf
547cdf
%find_lang %name --with-gnome
547cdf
547cdf
%post
547cdf
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
547cdf
update-desktop-database %{_datadir}/applications &> /dev/null || :
547cdf
update-mime-database %{_datadir}/mime &> /dev/null || :
547cdf
547cdf
%postun
547cdf
if [ $1 -eq 0 ]; then
547cdf
    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
547cdf
    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
547cdf
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
547cdf
fi
547cdf
update-desktop-database %{_datadir}/applications &> /dev/null || :
547cdf
update-mime-database %{_datadir}/mime &> /dev/null || :
547cdf
547cdf
%posttrans
547cdf
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
547cdf
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
547cdf
547cdf
%files -f %{name}.lang
547cdf
%defattr(-,root,root,-)
547cdf
%doc AUTHORS COPYING NEWS README
547cdf
%{_bindir}/gcm-*
547cdf
%{_libexecdir}/gcm-*
547cdf
%dir %{_datadir}/gnome-color-manager
547cdf
%dir %{_datadir}/gnome-color-manager/targets
547cdf
%dir %{_datadir}/gnome-color-manager/icons
547cdf
%dir %{_datadir}/gnome-color-manager/figures
547cdf
%dir %{_datadir}/gnome-color-manager/ti1
547cdf
%{_datadir}/gnome-color-manager/targets
547cdf
%{_datadir}/gnome-color-manager/icons
547cdf
%{_datadir}/gnome-color-manager/figures
547cdf
%{_datadir}/gnome-color-manager/ti1
547cdf
%{_datadir}/man/man1/*.1.gz
547cdf
%{_datadir}/icons/hicolor/*/*/*.png
547cdf
%{_datadir}/icons/hicolor/scalable/*/*.svg*
547cdf
%{_datadir}/applications/gcm-*.desktop
547cdf
547cdf
%changelog
0ef8cd
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.2-6
0ef8cd
- Mass rebuild 2014-01-24
0ef8cd
0ef8cd
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.2-5
0ef8cd
- Mass rebuild 2013-12-27
0ef8cd
0ef8cd
* Thu Dec 12 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2-4
0ef8cd
- Update translations
0ef8cd
- Resolves: #1030338
0ef8cd
547cdf
* Thu Oct 31 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-3
547cdf
- Do not build the clutter support to allow us to drop two deps
547cdf
  now unsuitable for RHEL.
547cdf
- Resolves: #1025270
547cdf
547cdf
* Wed Jul 10 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2-2
547cdf
- Fix source url
547cdf
547cdf
* Mon May 13 2013 Richard Hughes <rhughes@redhat.com> - 3.8.2-1
547cdf
- Update to 3.8.2
547cdf
547cdf
* Mon Apr 15 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
547cdf
- Update to 3.8.1
547cdf
547cdf
* Tue Mar 26 2013 Richard Hughes <rhughes@redhat.com> - 3.8.0-1
547cdf
- Update to 3.8.0
547cdf
547cdf
* Mon Mar 18 2013 Richard Hughes <rhughes@redhat.com> - 3.7.92-1
547cdf
- Update to 3.7.92
547cdf
547cdf
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-3
547cdf
- Rebuilt for cogl soname bump
547cdf
547cdf
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-2
547cdf
- Rebuilt for libgnome-desktop soname bump
547cdf
547cdf
* Tue Feb 05 2013 Richard Hughes <rhughes@redhat.com> - 3.7.5-1
547cdf
- Update to 3.7.5
547cdf
547cdf
* Fri Jan 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.6.1-2
547cdf
- Rebuild for new cogl
547cdf
547cdf
* Thu Jan 10 2013 Richard Hughes <hughsient@gmail.com> - 3.6.1-1
547cdf
- Update to 3.6.1
547cdf
547cdf
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-3
547cdf
- Rebuilt for libgnome-desktop-3 3.7.3 soname bump
547cdf
547cdf
* Tue Oct  2 2012 Matthias Clasen <mclasen@redhat.com> - 3.6.0-2
547cdf
- Drop unnecessary GConf2 dep
547cdf
- Update to 3.6.0
547cdf
547cdf
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.3-2
547cdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
547cdf
547cdf
* Wed Jun 27 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
547cdf
- Update to 3.5.3
547cdf
547cdf
* Fri Jun  8 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.1-3
547cdf
- Rebuild
547cdf
547cdf
* Mon May 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.5.1-2
547cdf
- Add missing colord-gtk-devel, itstool dependencies
547cdf
547cdf
* Thu May 17 2012 Richard Hughes <hughsient@gmail.com> - 3.5.1-1
547cdf
- Update to 3.5.1
547cdf
547cdf
* Wed May 02 2012 Rex Dieter <rdieter@fedoraproject.org> - 3.4.0-2
547cdf
- rebuild (exiv2)
547cdf
547cdf
* Mon Mar 26 2012 Richard Hughes <rhughes@redhat.com> - 3.4.0-1
547cdf
- New upstream version.
547cdf
547cdf
* Wed Mar 14 2012 Richard Hughes <rhughes@redhat.com> - 3.3.91-1
547cdf
- New upstream version.
547cdf
547cdf
* Mon Feb 06 2012 Richard Hughes <rhughes@redhat.com> - 3.3.5-1
547cdf
- New upstream version.
547cdf
547cdf
* Thu Jan 19 2012 Matthias Clasen <mclasen@redhat.com> - 3.3.3-4
547cdf
- Rebuild against new cogl
547cdf
547cdf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-3
547cdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
547cdf
547cdf
* Mon Dec 19 2011 Richard Hughes <rhughes@redhat.com> - 3.3.3-2
547cdf
- Add BR gnome-desktop3-devel
547cdf
547cdf
* Mon Dec 19 2011 Richard Hughes <rhughes@redhat.com> - 3.3.3-1
547cdf
- New upstream version.
547cdf
547cdf
* Thu Nov 24 2011 Matthias Clasen <mclasen@redhat.com> - 3.2.1-2
547cdf
- Rebuild against new clutter
547cdf
547cdf
* Mon Oct 17 2011 Richard Hughes <rhughes@redhat.com> - 3.2.1-1
547cdf
- New upstream version.
547cdf
547cdf
* Fri Oct 14 2011 Rex Dieter <rdieter@fedoraproject.org> - 3.2.0-4
547cdf
- rebuild (exiv2)
547cdf
547cdf
* Thu Oct 06 2011 Adam Jackson <ajax@redhat.com> 3.2.0-3
547cdf
- 0001-Initialize-error-pointer-for-gdk_pixbuf_new_from_fil.patch: Backport
547cdf
  a crash fix from mainline.
547cdf
547cdf
* Mon Sep 26 2011 Richard Hughes <rhughes@redhat.com> - 3.2.0-2
547cdf
- Rebuild for libmash API update.
547cdf
547cdf
* Mon Sep 26 2011 Richard Hughes <rhughes@redhat.com> - 3.2.0-1
547cdf
- New upstream version.
547cdf
547cdf
* Mon Sep 19 2011 Richard Hughes <rhughes@redhat.com> - 3.1.92-1
547cdf
- New upstream version.
547cdf
547cdf
* Fri Sep 16 2011 Richard Hughes <rhughes@redhat.com> - 3.1.91-3
547cdf
- Rebuild for libmash soname update (which for the moment will disable
547cdf
  the 3D renderer code).
547cdf
547cdf
* Mon Sep 05 2011 Richard Hughes <rhughes@redhat.com> - 3.1.91-1
547cdf
- New upstream version.
547cdf
547cdf
* Tue Aug 30 2011 Richard Hughes <rhughes@redhat.com> - 3.1.90-2
547cdf
- BR a high enough colord.
547cdf
547cdf
* Tue Aug 30 2011 Richard Hughes <rhughes@redhat.com> - 3.1.90-1
547cdf
- New upstream version.
547cdf
547cdf
* Mon Jun 13 2011 Richard Hughes <rhughes@redhat.com> - 3.1.2-1
547cdf
- New upstream version.
547cdf
547cdf
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.1.1-2
547cdf
- Update gsettings scriptlet
547cdf
547cdf
* Fri May 06 2011 Richard Hughes <rhughes@redhat.com> - 3.1.1-1
547cdf
- New upstream version.
547cdf
547cdf
* Mon Apr 04 2011 Richard Hughes <rhughes@redhat.com> - 3.0.0-1
547cdf
- New upstream version.
547cdf
547cdf
* Mon Mar 21 2011 Richard Hughes <rhughes@redhat.com> - 2.91.92-3
547cdf
- No gtk-doc anymore.
547cdf
547cdf
* Mon Mar 21 2011 Richard Hughes <rhughes@redhat.com> - 2.91.92-2
547cdf
- We're installing into gnome-settings-daemon-3.0 now.
547cdf
547cdf
* Mon Mar 21 2011 Richard Hughes <rhughes@redhat.com> - 2.91.92-1
547cdf
- New upstream version.
547cdf
547cdf
* Thu Feb 20 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-4
547cdf
- Rebuild against newer gtk
547cdf
547cdf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.5-3
547cdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
547cdf
547cdf
* Wed Feb  2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.5-2
547cdf
- Rebuild against newer gtk
547cdf
547cdf
* Tue Jan 11 2011 Richard Hughes <rhughes@redhat.com> - 2.91.5-1
547cdf
- New upstream version.
547cdf
547cdf
* Sun Jan  9 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.3-4
547cdf
- Rebuild against newer gtk3
547cdf
547cdf
* Sat Jan 01 2011 Rex Dieter <rdieter@fedoraproject.org> - 2.91.3-3
547cdf
- rebuild (exiv2)
547cdf
547cdf
* Fri Dec 03 2010 Peter Robinson <pbrobinson@gmail.com> 2.91.3-2
547cdf
- Move devel files to sub package, cleanup spec file
547cdf
547cdf
* Wed Dec 01 2010 Richard Hughes <richard@hughsie.com> 2.91.3-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Nov 08 2010 Richard Hughes <richard@hughsie.com> 2.91.2-1
547cdf
- New upstream release.
547cdf
547cdf
* Wed Nov 03 2010 Richard Hughes <richard@hughsie.com> 2.91.2-0.3.20101102
547cdf
- Rebuild now libnotify 0.7.0 is in rawhide, actually.
547cdf
547cdf
* Wed Nov 03 2010 Richard Hughes <richard@hughsie.com> 2.91.2-0.2.20101102
547cdf
- Rebuild now libnotify 0.7.0 is in rawhide.
547cdf
547cdf
* Tue Nov 02 2010 Richard Hughes <richard@hughsie.com> 2.91.2-0.1.20101102
547cdf
- Update to a git snapshot to fix rawhide.
547cdf
547cdf
* Tue Oct 05 2010 Richard Hughes <richard@hughsie.com> 2.91.1-4
547cdf
- Add BR docbook-utils
547cdf
547cdf
* Tue Oct 05 2010 Richard Hughes <richard@hughsie.com> 2.91.1-3
547cdf
- Add BR libusb1-devel
547cdf
547cdf
* Tue Oct 05 2010 Richard Hughes <richard@hughsie.com> 2.91.1-2
547cdf
- Add BR gnome-settings-daemon-devel
547cdf
547cdf
* Tue Oct 05 2010 Richard Hughes <richard@hughsie.com> 2.91.1-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Sep 11 2010 Richard Hughes <richard@hughsie.com> 2.31.4-2
547cdf
- Remove the explicit dependency on yelp.
547cdf
- Resolves: #626242
547cdf
547cdf
* Thu Jul 01 2010 Richard Hughes <richard@hughsie.com> 2.31.4-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> 2.31.3-3
547cdf
- Rebuild
547cdf
547cdf
* Tue Jun 22 2010 Richard Hughes <richard@hughsie.com> 2.31.3-2
547cdf
- Actually upload new tarball. Grrr.
547cdf
547cdf
* Mon Jun 21 2010 Richard Hughes <richard@hughsie.com> 2.31.3-1
547cdf
- New upstream release.
547cdf
547cdf
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> 2.31.2-5
547cdf
- Nuke the scrollkeeper runtime dep
547cdf
547cdf
* Thu Jun 03 2010 Richard Hughes <richard@hughsie.com> 2.31.2-4
547cdf
- Patience is a virtue, pursue it if you can -- never in a programmer
547cdf
  always in a can.
547cdf
547cdf
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-3
547cdf
- Build against the fixed sane-backends.
547cdf
547cdf
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-2
547cdf
- Actually upload source tarball...
547cdf
547cdf
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-1
547cdf
- New upstream release.
547cdf
547cdf
* Thu May 06 2010 Richard Hughes <richard@hughsie.com> 2.31.1-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
547cdf
- Update to 2.30.1
547cdf
547cdf
* Fri Apr  2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
547cdf
- BR GConf to make the macros work
547cdf
- Modernize icon cache handling
547cdf
547cdf
* Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
547cdf
- Fix up a scriptlet problem.
547cdf
- Resolves: #578611
547cdf
547cdf
* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
547cdf
- Add libnotify BR.
547cdf
547cdf
* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
547cdf
- New upstream release.
547cdf
547cdf
* Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
547cdf
- Update to the latest version of the Fedora Packaging Guidelines
547cdf
- Remove the custom BuildRoot
547cdf
- Do not clean the buildroot before install
547cdf
- Use the gconf_schema defines for the GConf schemas
547cdf
- Remove some over-zealous Requires that are already picked up by rpm.
547cdf
- Resolves #571658
547cdf
547cdf
* Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
547cdf
- Another new snapshot from upstream with lots of bugs fixed from the Fedora
547cdf
  test day.
547cdf
547cdf
* Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
547cdf
- Another new snapshot from upstream for the Fedora test day.
547cdf
547cdf
* Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
547cdf
- New snapshot from upstream for the Fedora test day.
547cdf
547cdf
* Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
547cdf
- New upstream release.
547cdf
547cdf
* Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
547cdf
- Rebuild against new gnome-desktop
547cdf
547cdf
* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
547cdf
- Rebuild, hopefully koji has now a working glibc.
547cdf
547cdf
* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
547cdf
- New upstream release.
547cdf
547cdf
* Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
547cdf
- Initial spec for review.
547cdf