[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 |
---|
[9791] | 5 | Version: 3.18.0 |
---|
[10525] | 6 | Release: 3%{?_dist_release} |
---|
[1015] | 7 | License: GPLv2+ |
---|
| 8 | Group: Applications/System |
---|
| 9 | URL: http://projects.gnome.org/gnome-color-manager/ |
---|
| 10 | |
---|
[9791] | 11 | Source0: http://download.gnome.org/sources/gnome-color-manager/3.18/%{name}-%{version}.tar.xz |
---|
[9073] | 12 | |
---|
| 13 | Patch0: gnome-color-manager-3.14.0-cd-pixel-format.patch |
---|
| 14 | |
---|
[1015] | 15 | Requires: gnome-icon-theme |
---|
| 16 | Requires: shared-mime-info |
---|
| 17 | Requires: shared-color-profiles |
---|
| 18 | |
---|
[4616] | 19 | BuildRequires: gtk3-devel >= 3.0.0 |
---|
[1015] | 20 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 21 | BuildRequires: desktop-file-utils |
---|
| 22 | BuildRequires: gettext |
---|
| 23 | BuildRequires: libtool |
---|
[4616] | 24 | BuildRequires: vte3-devel |
---|
[1015] | 25 | BuildRequires: gnome-doc-utils |
---|
[4616] | 26 | BuildRequires: unique3-devel >= 3.0.0 |
---|
[1015] | 27 | BuildRequires: intltool |
---|
| 28 | BuildRequires: libgudev1-devel |
---|
| 29 | BuildRequires: dbus-glib-devel >= 0.73 |
---|
| 30 | BuildRequires: libXxf86vm-devel |
---|
| 31 | BuildRequires: libXrandr-devel |
---|
[4616] | 32 | BuildRequires: gnome-desktop3-devel |
---|
[1015] | 33 | BuildRequires: cups-devel |
---|
| 34 | BuildRequires: sane-devel |
---|
| 35 | BuildRequires: libtiff-devel |
---|
[4616] | 36 | BuildRequires: libcanberra-gtk3-devel |
---|
[1015] | 37 | BuildRequires: libnotify-devel |
---|
[4616] | 38 | BuildRequires: lcms2-devel |
---|
| 39 | BuildRequires: gnome-settings-daemon-devel |
---|
| 40 | BuildRequires: libusb1-devel |
---|
| 41 | BuildRequires: control-center-devel |
---|
| 42 | BuildRequires: exiv2-devel |
---|
[6890] | 43 | BuildRequires: colord-gtk-devel |
---|
[4812] | 44 | BuildRequires: clutter-gtk-devel |
---|
| 45 | BuildRequires: libmash-devel |
---|
| 46 | BuildRequires: gnome-common |
---|
[6890] | 47 | BuildRequires: yelp-tools |
---|
[1015] | 48 | |
---|
[4616] | 49 | Obsoletes: %{name}-libs < 3.1.0 |
---|
| 50 | Obsoletes: %{name}-devel < 3.1.0 |
---|
| 51 | |
---|
| 52 | Vendor: Project Vine |
---|
| 53 | Distribution: Vine Linux |
---|
| 54 | Packager: Takemikaduchi |
---|
| 55 | |
---|
[1015] | 56 | %description |
---|
| 57 | gnome-color-manager is a session framework that makes it easy to manage, install |
---|
| 58 | and generate color profiles in the GNOME desktop. |
---|
| 59 | |
---|
[4616] | 60 | |
---|
[1015] | 61 | %prep |
---|
| 62 | %setup -q |
---|
[9073] | 63 | %patch0 -p1 -b .pixel |
---|
[1015] | 64 | |
---|
| 65 | %build |
---|
[6890] | 66 | %configure --disable-static |
---|
[1015] | 67 | make %{?_smp_mflags} |
---|
| 68 | |
---|
| 69 | %install |
---|
| 70 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 71 | |
---|
[4616] | 72 | for i in gcm-import ; do |
---|
[1015] | 73 | desktop-file-install --delete-original \ |
---|
| 74 | --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \ |
---|
| 75 | $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop |
---|
| 76 | done |
---|
| 77 | |
---|
[4616] | 78 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} |
---|
| 79 | rm -f $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{la,a} |
---|
| 80 | rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/*.{la,a} |
---|
| 81 | |
---|
[1015] | 82 | %find_lang %name --with-gnome |
---|
| 83 | |
---|
| 84 | %post |
---|
| 85 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 86 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 87 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 88 | |
---|
| 89 | %postun |
---|
| 90 | if [ $1 -eq 0 ]; then |
---|
| 91 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 92 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 93 | fi |
---|
| 94 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 95 | update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
[4616] | 96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[1015] | 97 | |
---|
| 98 | %posttrans |
---|
| 99 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[4616] | 100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[1015] | 101 | |
---|
| 102 | %files -f %{name}.lang |
---|
| 103 | %defattr(-,root,root,-) |
---|
| 104 | %doc AUTHORS COPYING NEWS README |
---|
| 105 | %{_bindir}/gcm-* |
---|
[4616] | 106 | %{_libexecdir}/gcm-helper-exiv |
---|
| 107 | %{_datadir}/applications/gcm-*.desktop |
---|
| 108 | %dir %{_datadir}/%{name} |
---|
| 109 | %{_datadir}/%{name}/figures/*.png |
---|
| 110 | %{_datadir}/%{name}/icons/*.svg |
---|
| 111 | %{_datadir}/%{name}/targets/*.png |
---|
[6011] | 112 | %{_datadir}/%{name}/ti1 |
---|
[7938] | 113 | %{_datadir}/appdata/gcm-viewer.appdata.xml |
---|
[1015] | 114 | %{_datadir}/icons/hicolor/*/*/*.png |
---|
| 115 | %{_datadir}/icons/hicolor/scalable/*/*.svg* |
---|
[4616] | 116 | %{_datadir}/man/man1/*.1.gz |
---|
[1015] | 117 | |
---|
| 118 | |
---|
| 119 | %changelog |
---|
[10525] | 120 | * Sun Jul 03 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-3 |
---|
| 121 | - rebuild with gcc-5.4.0 |
---|
| 122 | |
---|
[9909] | 123 | * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-2 |
---|
| 124 | - rebuild with gnutls-3.4.7 |
---|
| 125 | |
---|
[9791] | 126 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[9475] | 129 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[9102] | 132 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
| 133 | - new upstream release |
---|
| 134 | |
---|
[9073] | 135 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 136 | - new upstream release |
---|
| 137 | - add Patch0 (gnome-color-manager-3.14.0-cd-pixel-format.patch) |
---|
| 138 | |
---|
[8355] | 139 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[8353] | 142 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[8056] | 145 | * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 146 | - rebuild with exiv2-0.24 |
---|
| 147 | |
---|
[7938] | 148 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[7681] | 151 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[7633] | 154 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
[7313] | 157 | * Fri Jan 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
[6890] | 160 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 161 | - new upstream release |
---|
| 162 | - change BuildRequires: colord-gtk-devel instead of colord-devel |
---|
| 163 | - add BuildRequires: yelp-tools |
---|
| 164 | |
---|
[6655] | 165 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-2 |
---|
| 166 | - rebuild with exiv2-0.23 |
---|
| 167 | |
---|
[6201] | 168 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[6152] | 171 | * Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2 |
---|
| 172 | - rebuild with exiv2-0.22 |
---|
| 173 | |
---|
[6011] | 174 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[5402] | 177 | * Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
[5038] | 180 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[4850] | 183 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[4812] | 186 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 187 | - new upstream release |
---|
| 188 | - add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common |
---|
| 189 | |
---|
[4704] | 190 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[4690] | 193 | * Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2 |
---|
| 194 | - rebuild with exiv2-0.21.1 |
---|
| 195 | |
---|
[4616] | 196 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 197 | - new upstream release |
---|
| 198 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 199 | - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel |
---|
| 200 | - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel |
---|
| 201 | - change BuildRequires: unique3-devel instead of unique-devel |
---|
| 202 | - change BuildRequires: vte3-devel instead of vte-devel |
---|
| 203 | - add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel |
---|
| 204 | - remove -libs and -devel sub package |
---|
| 205 | |
---|
[2041] | 206 | * Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[1231] | 209 | * Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
[1015] | 212 | * Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 213 | - Initial build for Vine Linux |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | * Fri Apr 2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4 |
---|
| 217 | - BR GConf to make the macros work |
---|
| 218 | - Modernize icon cache handling |
---|
| 219 | |
---|
| 220 | * Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3 |
---|
| 221 | - Fix up a scriptlet problem. |
---|
| 222 | - Resolves: #578611 |
---|
| 223 | |
---|
| 224 | * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2 |
---|
| 225 | - Add libnotify BR. |
---|
| 226 | |
---|
| 227 | * Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1 |
---|
| 228 | - New upstream release. |
---|
| 229 | |
---|
| 230 | * Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2 |
---|
| 231 | - Update to the latest version of the Fedora Packaging Guidelines |
---|
| 232 | - Remove the custom BuildRoot |
---|
| 233 | - Do not clean the buildroot before install |
---|
| 234 | - Use the gconf_schema defines for the GConf schemas |
---|
| 235 | - Remove some over-zealous Requires that are already picked up by rpm. |
---|
| 236 | - Resolves #571658 |
---|
| 237 | |
---|
| 238 | * Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1 |
---|
| 239 | - New upstream release. |
---|
| 240 | |
---|
| 241 | * Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222 |
---|
| 242 | - Another new snapshot from upstream with lots of bugs fixed from the Fedora |
---|
| 243 | test day. |
---|
| 244 | |
---|
[7633] | 245 | * Thu Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218 |
---|
[1015] | 246 | - Another new snapshot from upstream for the Fedora test day. |
---|
| 247 | |
---|
| 248 | * Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217 |
---|
| 249 | - New snapshot from upstream for the Fedora test day. |
---|
| 250 | |
---|
| 251 | * Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1 |
---|
| 252 | - New upstream release. |
---|
| 253 | |
---|
| 254 | * Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3 |
---|
| 255 | - Rebuild against new gnome-desktop |
---|
| 256 | |
---|
| 257 | * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2 |
---|
| 258 | - Rebuild, hopefully koji has now a working glibc. |
---|
| 259 | |
---|
| 260 | * Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1 |
---|
| 261 | - New upstream release. |
---|
| 262 | |
---|
| 263 | * Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1 |
---|
| 264 | - Initial spec for review. |
---|
| 265 | |
---|