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

Revision 6201, 6.9 KB checked in by Takemikaduchi, 12 years ago (diff)

gnome-themes: fix Vine theme
metacity: fix theme
others: new upstream release

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