source: projects/specs/trunk/c/cheese/cheese-vl.spec @ 2041

Revision 2041, 5.9 KB checked in by Takemikaduchi, 14 years ago (diff)

update to GNOME-2.32.0

Line 
1Summary:        A webcam application for snapshots and movies
2Summary(ja):    スナップショットとムービーを撮るためのウェブカメラアプリケーション
3
4Name:           cheese
5Version:        2.32.0
6Release:        1%{?_dist_release}
7
8Group:          Applications/Multimedia
9License:        GPLv2+
10URL:            http://live.gnome.org/Cheese
11Source0:        http://download.gnome.org/sources/cheese/2.32/%{name}-%{version}.tar.bz2
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: gtk2-devel >= 2.22.0
15BuildRequires: gnome-desktop-devel >= 2.32.0
16BuildRequires: GConf2-devel >= 2.32.0
17BuildRequires: gstreamer-devel >= 0.10.30
18BuildRequires: gstreamer-plugins-base-devel >= 0.10.30
19BuildRequires: evolution-data-server-devel >= 2.32.0
20BuildRequires: cairo-devel >= 1.10.0
21BuildRequires: dbus-devel >= 1.4.0
22BuildRequires: dbus-glib-devel >= 0.88
23BuildRequires: pango-devel >= 1.28.3
24BuildRequires: librsvg2-devel >= 2.32.0
25BuildRequires: desktop-file-utils
26BuildRequires: gettext
27BuildRequires: perl(XML::Parser)
28BuildRequires: gnome-doc-utils
29BuildRequires: autoconf, automake, libtool, intltool
30BuildRequires: libgudev1-devel
31BuildRequires: libcanberra-devel
32
33Requires: gstreamer-plugins-good
34Requires(post): GConf2
35Requires(pre): GConf2
36Requires(preun): GConf2
37
38%description
39Cheese is a Photobooth-inspired GNOME application for taking pictures and
40videos from a webcam. It also includes fancy graphical effects based on the
41gstreamer-backend.
42
43%prep
44%setup -q
45
46%build
47%configure --disable-static
48make %{?_smp_mflags}
49
50
51%install
52rm -rf $RPM_BUILD_ROOT
53export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
54make install DESTDIR=$RPM_BUILD_ROOT
55unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
56
57desktop-file-install --delete-original --vendor=""      \
58        --dir=$RPM_BUILD_ROOT%{_datadir}/applications   \
59        $RPM_BUILD_ROOT%{_datadir}/applications/cheese.desktop
60
61%find_lang %{name} --with-gnome
62
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67
68%pre
69if [ "$1" -gt 1 ]; then
70  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
71  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
72fi
73
74
75%preun
76if [ "$1" -gt 0 ]; then
77  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
78  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
79fi
80
81
82%post
83touch --no-create %{_datadir}/icons/hicolor
84if [ -x /usr/bin/gtk-update-icon-cache ]; then
85  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
86fi
87export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
88gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cheese.schemas > /dev/null || :
89
90
91%postun
92touch --no-create %{_datadir}/icons/hicolor
93if [ -x /usr/bin/gtk-update-icon-cache ]; then
94  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
95fi
96
97
98%files -f %{name}.lang
99%defattr(-,root,root,-)
100%doc AUTHORS COPYING README
101%{_bindir}/cheese
102%{_datadir}/applications/cheese.desktop
103%{_datadir}/cheese
104%{_datadir}/icons/hicolor/*/apps/cheese.png
105%{_datadir}/icons/hicolor/scalable/apps/cheese.svg
106%{_datadir}/dbus-1/services/org.gnome.Cheese.service
107%{_sysconfdir}/gconf/schemas/cheese.schemas
108%{_libexecdir}/cheese
109## for development
110%{_includedir}/cheese
111%{_libdir}/libcheese-gtk.*
112%{_libdir}/pkgconfig
113%{_datadir}/gtk-doc/html/cheese/*
114
115%changelog
116* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
117- new upstream release
118
119* Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.1-2
120- rebuilt with rpm-4.8.1 for pkg-config
121
122* Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
123- new upstream release
124
125* Sun Apr 04 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
126- new upstream release
127- remove BuildRequires: hal-devel
128- add BuildRequires: libgudev1-devel, libcanberra-devel
129
130* Sun Nov  1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
131- new upstream release
132
133* Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
134- new upstream release
135
136* Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
137- new upstream release
138
139* Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.26.0-2
140- changed Group to Applications/Multimedia
141
142* Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
143- new upstream release
144
145* Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
146- new upstream release
147
148* Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
149- new upstream release
150
151* Mon Aug 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.3-1
152- initial build for Vine Linux
153
154* Tue Aug  5 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.6-1
155- Update to 2.23.6
156
157* Tue Jul 22 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.5-1
158- Update to 2.23.5
159
160* Wed Jun 18 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.4-1
161- Update to 2.23.4
162
163* Tue Jun  3 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.3-1
164- Update to 2.23.3
165
166* Tue May 13 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.2-1
167- Update to 2.23.2
168
169* Fri Apr 25 2008 Matthias Clasen  <mclasen@redhat.com> 2.23.1-1
170- Update to 2.23.1
171
172* Tue Apr 22 2008 Matthias Clasen  <mclasen@redhat.com> 2.22.1-2
173- Fix an invalid free
174
175* Mon Apr  7 2008 Matthias Clasen  <mclasen@redhat.com> 2.22.1-1
176- Update to 2.22.1
177
178* Mon Mar 10 2008 Matthias Clasen  <mclasen@redhat.com> 2.22.0-1
179- Update to 2.22.0
180
181* Tue Feb 26 2008  Matthias Clasen  <mclasen@redhat.com> 2.21.92-1
182- Update to 2.21.92
183
184* Fri Feb 15 2008  Matthias Clasen  <mclasen@redhat.com> 2.21.91-3
185- Fix a locking problem that causes the UI to freeze
186
187* Fri Feb  8 2008  Matthias Clasen  <mclasen@redhat.com> 2.21.91-2
188- Rebuild for gcc 4.3
189
190* Tue Jan 29 2008  Matthias Clasen  <mclasen@redhat.com> 2.21.91-1
191- Update to 2.21.91
192
193* Mon Jan 14 2008  Matthias Clasen  <mclasen@redhat.com> 2.21.5-1
194- Update to 2.21.5
195
196* Mon Dec 24 2007  Matthias Clasen  <mclasen@redhat.com> 0.3.0-1
197- Update to 0.3.0
198
199* Fri Sep  7 2007  Matthias Clasen  <mclasen@redhat.com> 0.2.4-2
200- package review feedback
201
202* Thu Sep  6 2007  Matthias Clasen  <mclasen@redhat.com> 0.2.4-1
203- Initial packages
Note: See TracBrowser for help on using the repository browser.