]>
Commit | Line | Data |
---|---|---|
a59167df | 1 | Summary: A cheesy program to take pictures and videos from your web cam |
b59687fd | 2 | Summary(pl.UTF-8): Program do pobierania zdjęć i filmów z kamery internetowej |
a59167df | 3 | Name: cheese |
b97d9144 | 4 | Version: 2.32.0 |
0e314877 | 5 | Release: 3 |
a59167df PZ |
6 | License: GPL |
7 | Group: X11/Applications | |
b97d9144 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/cheese/2.32/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: e3b822e46b2558d0bbdfa4809d5d3c24 | |
f3179f1d | 10 | URL: http://projects.gnome.org/cheese/ |
1bc48f3a | 11 | BuildRequires: GConf2-devel >= 2.24.0 |
07c5bfb6 MB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: dbus-glib-devel >= 0.74 | |
00413151 | 15 | BuildRequires: docbook-dtd43-xml |
1bc48f3a | 16 | BuildRequires: evolution-data-server-devel >= 2.24.0 |
07c5bfb6 | 17 | BuildRequires: gettext-devel |
1bc48f3a MB |
18 | BuildRequires: glib2-devel >= 1:2.18.0 |
19 | BuildRequires: gnome-common >= 2.24.0 | |
dc99331a | 20 | BuildRequires: gnome-desktop-devel >= 2.26.0 |
1bc48f3a | 21 | BuildRequires: gnome-doc-utils >= 0.14.0 |
d13e2d22 MB |
22 | BuildRequires: gstreamer-devel >= 0.10.23 |
23 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.23 | |
24 | BuildRequires: gtk+2-devel >= 2:2.20.0 | |
ea022ac0 | 25 | BuildRequires: gtk-doc |
d13e2d22 | 26 | BuildRequires: gtk-doc-automake >= 1.11 |
1bc48f3a | 27 | BuildRequires: intltool >= 0.40.0 |
1e6a4e63 | 28 | BuildRequires: libcanberra-gtk-devel |
07c5bfb6 MB |
29 | BuildRequires: librsvg-devel >= 2.18.2 |
30 | BuildRequires: libtool | |
b59687fd | 31 | BuildRequires: pkgconfig |
07c5bfb6 | 32 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
b59687fd | 33 | BuildRequires: rpmbuild(macros) >= 1.311 |
9977700b | 34 | BuildRequires: udev-glib-devel |
b65ebbc2 | 35 | BuildRequires: xorg-lib-libXxf86vm-devel |
0e314877 | 36 | Requires(post,postun): gtk-update-icon-cache |
a59167df | 37 | Requires(post,postun): hicolor-icon-theme |
07c5bfb6 MB |
38 | Requires(post,postun): scrollkeeper |
39 | Requires(post,preun): GConf2 | |
d13e2d22 MB |
40 | Requires: gstreamer-theora >= 0.10.23 |
41 | Requires: gstreamer-vorbis >= 0.10.23 | |
42 | Requires: gtk+2 >= 2:2.20.0 | |
a59167df PZ |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
46 | Cheese is a cheesy program to take pictures and videos from your web | |
47 | cam. It also provides some graphical effects in order to please the | |
48 | users play instinct. | |
49 | ||
b59687fd JB |
50 | %description -l pl.UTF-8 |
51 | Cheese to program do pobierania zdjęć i filmów z kamery internetowej. | |
52 | Udostępnia także kilka graficznych efektów w celu zaspokojenia | |
53 | instynktów oglądania u użytkowników. | |
54 | ||
9977700b | 55 | %package devel |
d13e2d22 MB |
56 | Summary: Cheese header files |
57 | Summary(pl.UTF-8): Pliki nagłówkowe Cheese | |
9977700b PZ |
58 | Group: X11/Development/Libraries |
59 | Requires: %{name} = %{version}-%{release} | |
d13e2d22 MB |
60 | Requires: gstreamer-plugins-base-devel >= 0.10.23 |
61 | Requires: gtk+2-devel >= 2:2.20.0 | |
62 | Requires: libcanberra-gtk-devel | |
9977700b PZ |
63 | |
64 | %description devel | |
d13e2d22 | 65 | Cheese header files. |
9977700b PZ |
66 | |
67 | %description devel -l pl.UTF-8 | |
d13e2d22 | 68 | Pliki nagłówkowe Cheese. |
9977700b PZ |
69 | |
70 | %package apidocs | |
d13e2d22 MB |
71 | Summary: Cheese API documentation |
72 | Summary(pl.UTF-8): Dokumentacja API Cheese | |
9977700b PZ |
73 | Group: Documentation |
74 | Requires: gtk-doc-common | |
75 | ||
76 | %description apidocs | |
d13e2d22 | 77 | Cheese API documentation. |
9977700b PZ |
78 | |
79 | %description apidocs -l pl.UTF-8 | |
d13e2d22 | 80 | Dokumentacja API Cheese. |
9977700b | 81 | |
a59167df PZ |
82 | %prep |
83 | %setup -q | |
84 | ||
85 | %build | |
07c5bfb6 MB |
86 | %{__intltoolize} |
87 | %{__libtoolize} | |
88 | %{__aclocal} | |
89 | %{__autoconf} | |
90 | %{__autoheader} | |
91 | %{__automake} | |
05b8357d MB |
92 | %configure \ |
93 | --disable-schemas-install \ | |
9977700b | 94 | --disable-scrollkeeper \ |
d13e2d22 | 95 | --disable-silent-rules \ |
9977700b | 96 | --disable-static \ |
d13e2d22 | 97 | --enable-gtk-doc \ |
9977700b | 98 | --with-html-dir=%{_gtkdocdir} |
a59167df PZ |
99 | %{__make} |
100 | ||
101 | %install | |
102 | rm -rf $RPM_BUILD_ROOT | |
07c5bfb6 | 103 | |
a59167df PZ |
104 | %{__make} install \ |
105 | DESTDIR=$RPM_BUILD_ROOT | |
106 | ||
ef2efaa6 | 107 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
489f5cb4 | 108 | |
0475479f | 109 | %find_lang %{name} --with-gnome --with-omf |
a59167df | 110 | |
b59687fd JB |
111 | %clean |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
a59167df | 114 | %post |
9977700b | 115 | /sbin/ldconfig |
a59167df | 116 | %update_icon_cache hicolor |
0475479f | 117 | %gconf_schema_install cheese.schemas |
07c5bfb6 | 118 | %scrollkeeper_update_post |
a59167df | 119 | |
0475479f PZ |
120 | %preun |
121 | %gconf_schema_uninstall cheese.schemas | |
122 | ||
a59167df | 123 | %postun |
9977700b | 124 | /sbin/ldconfig |
a59167df | 125 | %update_icon_cache hicolor |
07c5bfb6 | 126 | %scrollkeeper_update_postun |
a59167df | 127 | |
a59167df PZ |
128 | %files -f %{name}.lang |
129 | %defattr(644,root,root,755) | |
130 | %doc AUTHORS ChangeLog README | |
07c5bfb6 | 131 | %attr(755,root,root) %{_bindir}/cheese |
9977700b PZ |
132 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so.*.*.* |
133 | %attr(755,root,root) %ghost %{_libdir}/libcheese-gtk.so.18 | |
07c5bfb6 MB |
134 | %dir %{_libdir}/cheese |
135 | %attr(755,root,root) %{_libdir}/cheese/cheese-bugreport.sh | |
0475479f | 136 | %{_sysconfdir}/gconf/schemas/cheese.schemas |
07c5bfb6 MB |
137 | %{_desktopdir}/cheese.desktop |
138 | %{_datadir}/cheese | |
1bc48f3a | 139 | %{_datadir}/dbus-1/services/org.gnome.Cheese.service |
a59167df | 140 | %{_iconsdir}/hicolor/*/apps/* |
9977700b PZ |
141 | |
142 | %files devel | |
143 | %defattr(644,root,root,755) | |
9977700b PZ |
144 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so |
145 | %{_includedir}/cheese | |
146 | %{_pkgconfigdir}/cheese-gtk.pc | |
147 | ||
148 | %files apidocs | |
149 | %defattr(644,root,root,755) | |
150 | %{_gtkdocdir}/cheese |