]>
Commit | Line | Data |
---|---|---|
a59167df PZ |
1 | Summary: A cheesy program to take pictures and videos from your web cam |
2 | Name: cheese | |
3 | Version: 0.1.4 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: X11/Applications | |
7 | Source0: http://live.gnome.org/Cheese/Releases?action=AttachFile&do=get&target=%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 1545c51d52dbdc4b1c9c532071a3ca75 | |
9 | URL: http://live.gnome.org/Cheese | |
10 | BuildRequires: cairo-devel | |
11 | BuildRequires: dbus-devel | |
12 | BuildRequires: glib2-devel >= 2.12.0 | |
13 | BuildRequires: gnome-vfs2-devel | |
14 | BuildRequires: gstreamer-devel >= 0.10.12 | |
15 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.12 | |
16 | BuildRequires: gtk+2-devel >= 2.10.0 | |
17 | BuildRequires: libglade2-devel | |
18 | BuildRequires: pkg-config | |
19 | Requires(post,postun): hicolor-icon-theme | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | Cheese is a cheesy program to take pictures and videos from your web | |
24 | cam. It also provides some graphical effects in order to please the | |
25 | users play instinct. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %configure | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | %{__make} install \ | |
37 | DESTDIR=$RPM_BUILD_ROOT | |
38 | ||
39 | %find_lang %{name} --with-gnome | |
40 | ||
41 | %post | |
42 | %update_icon_cache hicolor | |
43 | ||
44 | %update_desktop_database_post | |
45 | ||
46 | %postun | |
47 | %update_icon_cache hicolor | |
48 | ||
49 | %update_desktop_database_postun | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files -f %{name}.lang | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS ChangeLog README | |
57 | %attr(755,root,root) %{_bindir}/%{name} | |
58 | %{_desktopdir}/%{name}.desktop | |
59 | %{_datadir}/%{name} | |
60 | %{_iconsdir}/hicolor/*/apps/* |