[1015] | 1 | %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | |
---|
| 3 | Summary: Color management tools for GNOME |
---|
| 4 | Name: gnome-color-manager |
---|
[5402] | 5 | Version: 3.2.2 |
---|
[4704] | 6 | Release: 1%{?_dist_release} |
---|
[1015] | 7 | License: GPLv2+ |
---|
| 8 | Group: Applications/System |
---|
| 9 | URL: http://projects.gnome.org/gnome-color-manager/ |
---|
[4850] | 10 | Source0: http://download.gnome.org/sources/gnome-color-manager/3.2/%{name}-%{version}.tar.xz |
---|
[1015] | 11 | |
---|
| 12 | Requires: gnome-icon-theme |
---|
| 13 | Requires: shared-mime-info |
---|
| 14 | Requires: shared-color-profiles |
---|
| 15 | Requires(pre): GConf2 |
---|
| 16 | Requires(post): GConf2 |
---|
| 17 | Requires(preun): GConf2 |
---|
| 18 | |
---|
[4616] | 19 | BuildRequires: gtk3-devel >= 3.0.0 |
---|
[1015] | 20 | BuildRequires: scrollkeeper |
---|
| 21 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 22 | BuildRequires: desktop-file-utils |
---|
| 23 | BuildRequires: gettext |
---|
| 24 | BuildRequires: libtool |
---|
[4616] | 25 | BuildRequires: vte3-devel |
---|
[1015] | 26 | BuildRequires: gnome-doc-utils |
---|
[4616] | 27 | BuildRequires: unique3-devel >= 3.0.0 |
---|
[1015] | 28 | BuildRequires: intltool |
---|
| 29 | BuildRequires: libgudev1-devel |
---|
| 30 | BuildRequires: dbus-glib-devel >= 0.73 |
---|
| 31 | BuildRequires: libXxf86vm-devel |
---|
| 32 | BuildRequires: libXrandr-devel |
---|
[4616] | 33 | BuildRequires: gnome-desktop3-devel |
---|
[1015] | 34 | BuildRequires: lcms-devel |
---|
| 35 | BuildRequires: cups-devel |
---|
| 36 | BuildRequires: sane-devel |
---|
| 37 | BuildRequires: libtiff-devel |
---|
[4616] | 38 | BuildRequires: libcanberra-gtk3-devel |
---|
[1015] | 39 | BuildRequires: libnotify-devel |
---|
[4616] | 40 | BuildRequires: lcms2-devel |
---|
| 41 | BuildRequires: gnome-settings-daemon-devel |
---|
| 42 | BuildRequires: libusb1-devel |
---|
| 43 | BuildRequires: control-center-devel |
---|
| 44 | BuildRequires: exiv2-devel |
---|
| 45 | BuildRequires: colord-devel |
---|
[4812] | 46 | BuildRequires: clutter-gtk-devel |
---|
| 47 | BuildRequires: libmash-devel |
---|
| 48 | BuildRequires: gnome-common |
---|
[1015] | 49 | |
---|
[4616] | 50 | Obsoletes: %{name}-libs < 3.1.0 |
---|
| 51 | Obsoletes: %{name}-devel < 3.1.0 |
---|
| 52 | |
---|
| 53 | Vendor: Project Vine |
---|
| 54 | Distribution: Vine Linux |
---|
| 55 | Packager: Takemikaduchi |
---|
| 56 | |
---|
[1015] | 57 | %description |
---|
| 58 | gnome-color-manager is a session framework that makes it easy to manage, install |
---|
| 59 | and generate color profiles in the GNOME desktop. |
---|
| 60 | |
---|
[4616] | 61 | |
---|
[1015] | 62 | %prep |
---|
| 63 | %setup -q |
---|
| 64 | |
---|
| 65 | %build |
---|
[4812] | 66 | autoreconf -if |
---|
[1015] | 67 | %configure --disable-scrollkeeper --disable-schemas-install |
---|
| 68 | make %{?_smp_mflags} |
---|
| 69 | |
---|
| 70 | %install |
---|
| 71 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 72 | |
---|
[4616] | 73 | for i in gcm-import ; do |
---|
[1015] | 74 | desktop-file-install --delete-original \ |
---|
| 75 | --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 76 | $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop |
---|
| 77 | done |
---|
| 78 | |
---|
[4616] | 79 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} |
---|
| 80 | rm -f $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{la,a} |
---|
| 81 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/*.{la,a} |
---|
| 82 | |
---|
[1015] | 83 | %find_lang %name --with-gnome |
---|
| 84 | |
---|
| 85 | %post |
---|
| 86 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 87 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 88 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 89 | |
---|
| 90 | %postun |
---|
| 91 | if [ $1 -eq 0 ]; then |
---|
| 92 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 93 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 94 | fi |
---|
| 95 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 96 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
[4616] | 97 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[1015] | 98 | |
---|
| 99 | %posttrans |
---|
| 100 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[4616] | 101 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[1015] | 102 | |
---|
| 103 | %files -f %{name}.lang |
---|
| 104 | %defattr(-,root,root,-) |
---|
| 105 | %doc AUTHORS COPYING NEWS README |
---|
| 106 | %{_bindir}/gcm-* |
---|
[4616] | 107 | %{_libexecdir}/gcm-helper-exiv |
---|
| 108 | %{_datadir}/applications/gcm-*.desktop |
---|
| 109 | %{_datadir}/dbus-1/services/org.gnome.ColorManager.service |
---|
| 110 | %dir %{_datadir}/%{name} |
---|
| 111 | %{_datadir}/%{name}/gcm-*.ui |
---|
| 112 | %{_datadir}/%{name}/figures/*.png |
---|
| 113 | %{_datadir}/%{name}/icons/*.svg |
---|
| 114 | %{_datadir}/%{name}/targets/*.png |
---|
[1015] | 115 | %{_datadir}/icons/hicolor/*/*/*.png |
---|
| 116 | %{_datadir}/icons/hicolor/scalable/*/*.svg* |
---|
[4616] | 117 | %{_datadir}/man/man1/*.1.gz |
---|
[1015] | 118 | |
---|
| 119 | |
---|
| 120 | %changelog |
---|
[5402] | 121 | * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[5038] | 124 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[4850] | 127 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[4812] | 130 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common |
---|
| 133 | |
---|
[4704] | 134 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[4690] | 137 | * Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2 |
---|
| 138 | - rebuild with exiv2-0.21.1 |
---|
| 139 | |
---|
[4616] | 140 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 141 | - new upstream release |
---|
| 142 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 143 | - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel |
---|
| 144 | - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel |
---|
| 145 | - change BuildRequires: unique3-devel instead of unique-devel |
---|
| 146 | - change BuildRequires: vte3-devel instead of vte-devel |
---|
| 147 | - add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel |
---|
| 148 | - remove -libs and -devel sub package |
---|
| 149 | |
---|
[2041] | 150 | * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
[1231] | 153 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
[1015] | 156 | * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 157 | - Initial build for Vine Linux |
---|
| 158 | |
---|
| 159 | |
---|
| 160 | * Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4 |
---|
| 161 | - BR GConf to make the macros work |
---|
| 162 | - Modernize icon cache handling |
---|
| 163 | |
---|
| 164 | * Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3 |
---|
| 165 | - Fix up a scriptlet problem. |
---|
| 166 | - Resolves: #578611 |
---|
| 167 | |
---|
| 168 | * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2 |
---|
| 169 | - Add libnotify BR. |
---|
| 170 | |
---|
| 171 | * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1 |
---|
| 172 | - New upstream release. |
---|
| 173 | |
---|
| 174 | * Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2 |
---|
| 175 | - Update to the latest version of the Fedora Packaging Guidelines |
---|
| 176 | - Remove the custom BuildRoot |
---|
| 177 | - Do not clean the buildroot before install |
---|
| 178 | - Use the gconf_schema defines for the GConf schemas |
---|
| 179 | - Remove some over-zealous Requires that are already picked up by rpm. |
---|
| 180 | - Resolves #571658 |
---|
| 181 | |
---|
| 182 | * Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1 |
---|
| 183 | - New upstream release. |
---|
| 184 | |
---|
| 185 | * Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222 |
---|
| 186 | - Another new snapshot from upstream with lots of bugs fixed from the Fedora |
---|
| 187 | test day. |
---|
| 188 | |
---|
| 189 | * Wed Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218 |
---|
| 190 | - Another new snapshot from upstream for the Fedora test day. |
---|
| 191 | |
---|
| 192 | * Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217 |
---|
| 193 | - New snapshot from upstream for the Fedora test day. |
---|
| 194 | |
---|
| 195 | * Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1 |
---|
| 196 | - New upstream release. |
---|
| 197 | |
---|
| 198 | * Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3 |
---|
| 199 | - Rebuild against new gnome-desktop |
---|
| 200 | |
---|
| 201 | * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2 |
---|
| 202 | - Rebuild, hopefully koji has now a working glibc. |
---|
| 203 | |
---|
| 204 | * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1 |
---|
| 205 | - New upstream release. |
---|
| 206 | |
---|
| 207 | * Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1 |
---|
| 208 | - Initial spec for review. |
---|
| 209 | |
---|