2009-12-07 16:56:07 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
|
|
|
Summary: Color management tools for GNOME
|
|
|
|
Name: gnome-color-manager
|
2010-06-22 14:44:35 +00:00
|
|
|
Version: 2.31.3
|
2010-06-22 14:49:22 +00:00
|
|
|
Release: 2%{?dist}
|
2009-12-07 16:56:07 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://projects.gnome.org/gnome-color-manager/
|
2010-06-22 14:44:35 +00:00
|
|
|
Source0: http://download.gnome.org/sources/gnome-color-manager/2.31/%{name}-%{version}.tar.bz2
|
2009-12-07 16:56:07 +00:00
|
|
|
|
2010-06-02 11:47:43 +00:00
|
|
|
Requires: color-filesystem >= 1-7
|
2009-12-07 16:56:07 +00:00
|
|
|
Requires: gnome-icon-theme
|
|
|
|
Requires: shared-mime-info
|
2010-01-04 16:37:04 +00:00
|
|
|
Requires: shared-color-profiles
|
2010-06-02 11:47:43 +00:00
|
|
|
Requires: yelp
|
|
|
|
Requires: dconf
|
|
|
|
Requires: GConf2 >= 2.31.1
|
2009-12-07 16:56:07 +00:00
|
|
|
|
2010-03-29 09:54:40 +00:00
|
|
|
BuildRequires: gtk2-devel >= 2.16.0
|
2009-12-07 16:56:07 +00:00
|
|
|
BuildRequires: scrollkeeper
|
|
|
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: vte-devel
|
|
|
|
BuildRequires: gnome-doc-utils
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libgudev1-devel
|
|
|
|
BuildRequires: libXxf86vm-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
2010-06-22 14:44:35 +00:00
|
|
|
BuildRequires: gnome-desktop3-devel
|
2010-01-04 16:37:04 +00:00
|
|
|
BuildRequires: lcms-devel
|
2010-02-17 10:06:26 +00:00
|
|
|
BuildRequires: cups-devel
|
2010-03-29 09:54:40 +00:00
|
|
|
BuildRequires: sane-backends-devel
|
2010-02-17 10:06:26 +00:00
|
|
|
BuildRequires: libtiff-devel
|
2010-06-02 11:47:43 +00:00
|
|
|
BuildRequires: libexif-devel
|
|
|
|
BuildRequires: exiv2-devel
|
2010-03-29 09:54:40 +00:00
|
|
|
BuildRequires: libcanberra-devel
|
2010-06-22 14:44:35 +00:00
|
|
|
BuildRequires: glib2-devel >= 2.25.9-2
|
2009-12-07 16:56:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
gnome-color-manager is a session framework that makes it easy to manage, install
|
|
|
|
and generate color profiles in the GNOME desktop.
|
|
|
|
|
|
|
|
%prep
|
2010-03-01 12:03:57 +00:00
|
|
|
%setup -q
|
2009-12-07 16:56:07 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-scrollkeeper --disable-schemas-install
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
for i in gcm-prefs gcm-import ; do
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \
|
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
|
|
|
|
done
|
|
|
|
|
|
|
|
%find_lang %name --with-gnome
|
|
|
|
|
|
|
|
%post
|
2010-06-02 11:47:43 +00:00
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
2009-12-07 16:56:07 +00:00
|
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
2010-06-02 11:47:43 +00:00
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2009-12-07 16:56:07 +00:00
|
|
|
|
|
|
|
%postun
|
2010-04-02 05:27:02 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
2009-12-07 16:56:07 +00:00
|
|
|
fi
|
|
|
|
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
|
|
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
2010-06-02 11:47:43 +00:00
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
2009-12-07 16:56:07 +00:00
|
|
|
|
2010-04-02 05:27:02 +00:00
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
2009-12-07 16:56:07 +00:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING NEWS README
|
2010-01-04 16:37:04 +00:00
|
|
|
/lib/udev/rules.d/*.rules
|
2009-12-07 16:56:07 +00:00
|
|
|
%{_bindir}/gcm-*
|
2010-06-02 11:47:43 +00:00
|
|
|
%{_libexecdir}/*
|
2009-12-07 16:56:07 +00:00
|
|
|
%dir %{_datadir}/gnome-color-manager
|
|
|
|
%{_datadir}/gnome-color-manager/gcm-*.ui
|
2010-02-17 10:06:26 +00:00
|
|
|
%dir %{_datadir}/gnome-color-manager/targets
|
|
|
|
%dir %{_datadir}/gnome-color-manager/icons
|
|
|
|
%{_datadir}/gnome-color-manager/targets/*.png
|
|
|
|
%{_datadir}/gnome-color-manager/icons/*.svg
|
2009-12-07 16:56:07 +00:00
|
|
|
%{_datadir}/man/man1/*.1.gz
|
|
|
|
%{_datadir}/gnome/help/gnome-color-manager
|
2010-01-04 16:37:04 +00:00
|
|
|
%{_datadir}/omf/gnome-color-manager
|
2009-12-07 16:56:07 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/*/*.svg*
|
|
|
|
%{_datadir}/applications/gcm-prefs.desktop
|
|
|
|
%{_datadir}/applications/gcm-import.desktop
|
|
|
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.ColorManager.service
|
2010-01-04 16:37:04 +00:00
|
|
|
%{_sbindir}/gcm-install-system-wide
|
|
|
|
%{_datadir}/polkit-1/actions/org.gnome.color.policy
|
2010-06-02 11:47:43 +00:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.color-manager.gschema.xml
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.color-manager.gschema.migrate
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.ColorManager.xml
|
2009-12-07 16:56:07 +00:00
|
|
|
|
|
|
|
%changelog
|
2010-06-22 14:49:22 +00:00
|
|
|
* Tue Jun 22 2010 Richard Hughes <richard@hughsie.com> 2.31.3-2
|
|
|
|
- Actually upload new tarball. Grrr.
|
|
|
|
|
2010-06-22 14:44:35 +00:00
|
|
|
* Mon Jun 21 2010 Richard Hughes <richard@hughsie.com> 2.31.3-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2010-06-17 03:07:04 +00:00
|
|
|
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> 2.31.2-5
|
|
|
|
- Nuke the scrollkeeper runtime dep
|
|
|
|
|
2010-06-03 08:47:34 +00:00
|
|
|
* Thu Jun 03 2010 Richard Hughes <richard@hughsie.com> 2.31.2-4
|
|
|
|
- Patience is a virtue, pursue it if you can -- never in a programmer
|
|
|
|
always in a can.
|
|
|
|
|
2010-06-02 14:56:16 +00:00
|
|
|
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-3
|
|
|
|
- Build against the fixed sane-backends.
|
|
|
|
|
2010-06-02 11:54:27 +00:00
|
|
|
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-2
|
|
|
|
- Actually upload source tarball...
|
|
|
|
|
2010-06-02 11:47:43 +00:00
|
|
|
* Wed Jun 02 2010 Richard Hughes <richard@hughsie.com> 2.31.2-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2010-05-06 14:22:30 +00:00
|
|
|
* Thu May 06 2010 Richard Hughes <richard@hughsie.com> 2.31.1-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2010-04-27 01:43:10 +00:00
|
|
|
* Mon Apr 26 2010 Matthias Clasen <mclasen@redhat.com> 2.30.1-1
|
|
|
|
- Update to 2.30.1
|
|
|
|
|
2010-04-02 05:27:02 +00:00
|
|
|
* Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
|
|
|
|
- BR GConf to make the macros work
|
|
|
|
- Modernize icon cache handling
|
|
|
|
|
2010-03-31 20:26:59 +00:00
|
|
|
* Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
|
|
|
|
- Fix up a scriptlet problem.
|
|
|
|
- Resolves: #578611
|
|
|
|
|
2010-03-29 10:02:12 +00:00
|
|
|
* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
|
|
|
|
- Add libnotify BR.
|
|
|
|
|
2010-03-29 09:54:40 +00:00
|
|
|
* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
|
|
|
|
- New upstream release.
|
|
|
|
|
|
|
|
* Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
|
|
|
|
- Update to the latest version of the Fedora Packaging Guidelines
|
|
|
|
- Remove the custom BuildRoot
|
|
|
|
- Do not clean the buildroot before install
|
|
|
|
- Use the gconf_schema defines for the GConf schemas
|
|
|
|
- Remove some over-zealous Requires that are already picked up by rpm.
|
|
|
|
- Resolves #571658
|
|
|
|
|
2010-03-01 12:03:57 +00:00
|
|
|
* Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2010-02-22 10:19:26 +00:00
|
|
|
* Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
|
|
|
|
- Another new snapshot from upstream with lots of bugs fixed from the Fedora
|
|
|
|
test day.
|
|
|
|
|
2010-02-18 09:53:13 +00:00
|
|
|
* Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
|
|
|
|
- Another new snapshot from upstream for the Fedora test day.
|
|
|
|
|
2010-02-17 10:06:26 +00:00
|
|
|
* Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
|
|
|
|
- New snapshot from upstream for the Fedora test day.
|
|
|
|
|
2010-02-01 11:19:35 +00:00
|
|
|
* Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2010-01-18 20:54:55 +00:00
|
|
|
* Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
|
|
|
|
- Rebuild against new gnome-desktop
|
|
|
|
|
2010-01-05 10:22:49 +00:00
|
|
|
* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
|
|
|
|
- Rebuild, hopefully koji has now a working glibc.
|
|
|
|
|
2010-01-04 16:37:04 +00:00
|
|
|
* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
|
|
|
|
- New upstream release.
|
|
|
|
|
2009-12-07 16:56:07 +00:00
|
|
|
* Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
|
|
|
|
- Initial spec for review.
|
|
|
|
|