source: projects/specs/trunk/g/gnome-color-manager/gnome-color-manager-vl.spec @ 12005

Revision 12005, 8.3 KB checked in by tomop, 5 years ago (diff)

Merge branch 'tomop'

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