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

Revision 9102, 8.0 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

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.14.2
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.14/%{name}-%{version}.tar.xz
12
13Patch0:         gnome-color-manager-3.14.0-cd-pixel-format.patch
14
15Requires:  gnome-icon-theme
16Requires:  shared-mime-info
17Requires:  shared-color-profiles
18
19BuildRequires: gtk3-devel >= 3.0.0
20BuildRequires: gnome-doc-utils >= 0.3.2
21BuildRequires: desktop-file-utils
22BuildRequires: gettext
23BuildRequires: libtool
24BuildRequires: vte3-devel
25BuildRequires: gnome-doc-utils
26BuildRequires: unique3-devel >= 3.0.0
27BuildRequires: intltool
28BuildRequires: libgudev1-devel
29BuildRequires: dbus-glib-devel >= 0.73
30BuildRequires: libXxf86vm-devel
31BuildRequires: libXrandr-devel
32BuildRequires: gnome-desktop3-devel
33BuildRequires: cups-devel
34BuildRequires: sane-devel
35BuildRequires: libtiff-devel
36BuildRequires: libcanberra-gtk3-devel
37BuildRequires: libnotify-devel
38BuildRequires: lcms2-devel
39BuildRequires: gnome-settings-daemon-devel
40BuildRequires: libusb1-devel
41BuildRequires: control-center-devel
42BuildRequires: exiv2-devel
43BuildRequires: colord-gtk-devel
44BuildRequires: clutter-gtk-devel
45BuildRequires: libmash-devel
46BuildRequires: gnome-common
47BuildRequires: yelp-tools
48
49Obsoletes: %{name}-libs < 3.1.0
50Obsoletes: %{name}-devel < 3.1.0
51
52Vendor: Project Vine
53Distribution: Vine Linux
54Packager: Takemikaduchi
55
56%description
57gnome-color-manager is a session framework that makes it easy to manage, install
58and generate color profiles in the GNOME desktop.
59
60
61%prep
62%setup -q
63%patch0 -p1 -b .pixel
64
65%build
66%configure --disable-static
67make %{?_smp_mflags}
68
69%install
70make install DESTDIR=$RPM_BUILD_ROOT
71
72for i in gcm-import ; do
73  desktop-file-install --delete-original                                \
74    --dir=$RPM_BUILD_ROOT%{_datadir}/applications/                      \
75    $RPM_BUILD_ROOT%{_datadir}/applications/$i.desktop
76done
77
78rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
79rm -f $RPM_BUILD_ROOT%{_libdir}/control-center-1/panels/*.{la,a}
80rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/*.{la,a}
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%doc AUTHORS COPYING NEWS README
105%{_bindir}/gcm-*
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
112%{_datadir}/%{name}/ti1
113%{_datadir}/appdata/gcm-viewer.appdata.xml
114%{_datadir}/icons/hicolor/*/*/*.png
115%{_datadir}/icons/hicolor/scalable/*/*.svg*
116%{_datadir}/man/man1/*.1.gz
117
118
119%changelog
120* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
121- new upstream release
122
123* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
124- new upstream release
125- add Patch0 (gnome-color-manager-3.14.0-cd-pixel-format.patch)
126
127* Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
128- new upstream release
129
130* Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
131- new upstream release
132
133* Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
134- rebuild with exiv2-0.24
135
136* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
137- new upstream release
138
139* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
140- new upstream release
141
142* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
143- new upstream release
144
145* Fri Jan 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
146- new upstream release
147
148* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
149- new upstream release
150- change BuildRequires: colord-gtk-devel instead of colord-devel
151- add BuildRequires: yelp-tools
152
153* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-2
154- rebuild with exiv2-0.23
155
156* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
157- new upstream release
158
159* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-2
160- rebuild with exiv2-0.22
161
162* Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
163- new upstream release
164
165* Sat Jan 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
166- new upstream release
167
168* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
169- new upstream release
170
171* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
172- new upstream release
173
174* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
175- new upstream release
176- add BuildRequires: clutter-gtk-devel, libmash-devel, gnome-common
177
178* Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
179- new upstream release
180
181* Wed Aug 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-2
182- rebuild with exiv2-0.21.1
183
184* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1
185- new upstream release
186- change BuildRequires: gtk3-devel instead of gtk2-devel
187- change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
188- change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
189- change BuildRequires: unique3-devel instead of unique-devel
190- change BuildRequires: vte3-devel instead of vte-devel
191- add BuildRequires: lcms2-devel, gnome-settings-daemon-devel, libusb1-devel, control-center-devel, exiv2-devel, colord-devel
192- remove -libs and -devel sub package
193
194* Mon Oct 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
195- new upstream release
196
197* Mon Jun 21 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
198- new upstream release
199
200* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
201- Initial build for Vine Linux
202
203
204* Fri Apr  2 2010 Matthias Clasen <mclasen@redhat.com> 2.30.0-4
205- BR GConf to make the macros work
206- Modernize icon cache handling
207
208* Wed Mar 31 2010 Richard Hughes <richard@hughsie.com> 2.30.0-3
209- Fix up a scriptlet problem.
210- Resolves: #578611
211
212* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-2
213- Add libnotify BR.
214
215* Mon Mar 29 2010 Richard Hughes <richard@hughsie.com> 2.30.0-1
216- New upstream release.
217
218* Tue Mar 09 2010 Richard Hughes <richard@hughsie.com> 2.29.4-2
219- Update to the latest version of the Fedora Packaging Guidelines
220- Remove the custom BuildRoot
221- Do not clean the buildroot before install
222- Use the gconf_schema defines for the GConf schemas
223- Remove some over-zealous Requires that are already picked up by rpm.
224- Resolves #571658
225
226* Mon Mar 01 2010 Richard Hughes <richard@hughsie.com> 2.29.4-1
227- New upstream release.
228
229* Mon Feb 22 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100222
230- Another new snapshot from upstream with lots of bugs fixed from the Fedora
231  test day.
232
233* Thu Feb 18 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100218
234- Another new snapshot from upstream for the Fedora test day.
235
236* Wed Feb 17 2010 Richard Hughes <richard@hughsie.com> 2.29.4-0.1.20100217
237- New snapshot from upstream for the Fedora test day.
238
239* Mon Feb 01 2010 Richard Hughes <richard@hughsie.com> 2.29.3-1
240- New upstream release.
241
242* Mon Jan 18 2010 Matthias Clasen <mclasen@redhat.com> 2.29.2-3
243- Rebuild against new gnome-desktop
244
245* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-2
246- Rebuild, hopefully koji has now a working glibc.
247
248* Mon Jan 04 2010 Richard Hughes <richard@hughsie.com> 2.29.2-1
249- New upstream release.
250
251* Fri Dec 04 2009 Richard Hughes <richard@hughsie.com> 2.29.1-1
252- Initial spec for review.
253
Note: See TracBrowser for help on using the repository browser.