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