]>
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 |
47bbe418 MB |
4 | Version: 3.0.0 |
5 | Release: 1 | |
a59167df PZ |
6 | License: GPL |
7 | Group: X11/Applications | |
47bbe418 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/cheese/3.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: cadae7bd46cb88e6911f5389e1c88e45 | |
f3179f1d | 10 | URL: http://projects.gnome.org/cheese/ |
47bbe418 MB |
11 | BuildRequires: autoconf >= 2.64 |
12 | BuildRequires: automake >= 1:1.11 | |
13 | BuildRequires: clutter-devel >= 1.6.1 | |
14 | BuildRequires: clutter-gst-devel >= 1.0.0 | |
15 | BuildRequires: clutter-gtk-devel >= 0.91.8 | |
00413151 | 16 | BuildRequires: docbook-dtd43-xml |
07c5bfb6 | 17 | BuildRequires: gettext-devel |
47bbe418 | 18 | BuildRequires: glib2-devel >= 1:2.28.0 |
1bc48f3a | 19 | BuildRequires: gnome-common >= 2.24.0 |
47bbe418 MB |
20 | BuildRequires: gnome-desktop-devel >= 3.0.0 |
21 | BuildRequires: gnome-doc-utils >= 0.20.0 | |
22 | BuildRequires: gnome-video-effects | |
23 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
24 | BuildRequires: gstreamer-devel >= 0.10.32 | |
25 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.32 | |
26 | BuildRequires: gtk+3-devel >= 3.0.0 | |
27 | BuildRequires: gtk-doc >= 1.14 | |
28 | BuildRequires: gtk-doc-automake >= 1.14 | |
1bc48f3a | 29 | BuildRequires: intltool >= 0.40.0 |
47bbe418 MB |
30 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
31 | BuildRequires: libgee-devel >= 0.6.0 | |
32 | BuildRequires: librsvg-devel >= 2.32.0 | |
33 | BuildRequires: libtool >= 2:2.2 | |
34 | BuildRequires: mx-devel | |
b59687fd | 35 | BuildRequires: pkgconfig |
07c5bfb6 | 36 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
47bbe418 | 37 | BuildRequires: rpmbuild(macros) >= 1.601 |
9977700b | 38 | BuildRequires: udev-glib-devel |
47bbe418 | 39 | BuildRequires: vala >= 0.12.0 |
b65ebbc2 | 40 | BuildRequires: xorg-lib-libXxf86vm-devel |
47bbe418 | 41 | Requires(post,postun): glib2 >= 1:2.26.0 |
0e314877 | 42 | Requires(post,postun): gtk-update-icon-cache |
07c5bfb6 | 43 | Requires(post,postun): scrollkeeper |
47bbe418 MB |
44 | Requires: %{name}-libs = %{version}-%{release} |
45 | Requires: gnome-video-effects | |
46 | Requires: gstreamer-plugins-bad | |
47 | Requires: gstreamer-plugins-good | |
48 | Requires: gstreamer-theora >= 0.10.32 | |
49 | Requires: gstreamer-vorbis >= 0.10.32 | |
50 | Requires: hicolor-icon-theme | |
a59167df PZ |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
54 | Cheese is a cheesy program to take pictures and videos from your web | |
55 | cam. It also provides some graphical effects in order to please the | |
56 | users play instinct. | |
57 | ||
b59687fd JB |
58 | %description -l pl.UTF-8 |
59 | Cheese to program do pobierania zdjęć i filmów z kamery internetowej. | |
60 | Udostępnia także kilka graficznych efektów w celu zaspokojenia | |
61 | instynktów oglądania u użytkowników. | |
62 | ||
47bbe418 MB |
63 | %package libs |
64 | Summary: Cheese libraries | |
65 | Summary(pl.UTF-8): Biblioteki Cheese | |
66 | Group: X11/Libraries | |
67 | ||
68 | %description libs | |
69 | Cheese libraries. | |
70 | ||
71 | %description libs -l pl.UTF-8 | |
72 | Biblioteki Cheese. | |
73 | ||
9977700b | 74 | %package devel |
d13e2d22 MB |
75 | Summary: Cheese header files |
76 | Summary(pl.UTF-8): Pliki nagłówkowe Cheese | |
9977700b | 77 | Group: X11/Development/Libraries |
47bbe418 MB |
78 | Requires: %{name}-libs = %{version}-%{release} |
79 | Requires: gstreamer-plugins-base-devel >= 0.10.32 | |
80 | Requires: gtk+3-devel >= 3.0.0 | |
81 | Requires: libcanberra-gtk3-devel >= 0.26 | |
9977700b PZ |
82 | |
83 | %description devel | |
d13e2d22 | 84 | Cheese header files. |
9977700b PZ |
85 | |
86 | %description devel -l pl.UTF-8 | |
d13e2d22 | 87 | Pliki nagłówkowe Cheese. |
9977700b PZ |
88 | |
89 | %package apidocs | |
d13e2d22 MB |
90 | Summary: Cheese API documentation |
91 | Summary(pl.UTF-8): Dokumentacja API Cheese | |
9977700b PZ |
92 | Group: Documentation |
93 | Requires: gtk-doc-common | |
94 | ||
95 | %description apidocs | |
d13e2d22 | 96 | Cheese API documentation. |
9977700b PZ |
97 | |
98 | %description apidocs -l pl.UTF-8 | |
d13e2d22 | 99 | Dokumentacja API Cheese. |
9977700b | 100 | |
a59167df PZ |
101 | %prep |
102 | %setup -q | |
103 | ||
104 | %build | |
07c5bfb6 MB |
105 | %{__intltoolize} |
106 | %{__libtoolize} | |
107 | %{__aclocal} | |
108 | %{__autoconf} | |
109 | %{__autoheader} | |
110 | %{__automake} | |
05b8357d | 111 | %configure \ |
47bbe418 | 112 | --disable-schemas-compile \ |
9977700b | 113 | --disable-scrollkeeper \ |
d13e2d22 | 114 | --disable-silent-rules \ |
9977700b | 115 | --disable-static \ |
d13e2d22 | 116 | --enable-gtk-doc \ |
9977700b | 117 | --with-html-dir=%{_gtkdocdir} |
a59167df PZ |
118 | %{__make} |
119 | ||
120 | %install | |
121 | rm -rf $RPM_BUILD_ROOT | |
07c5bfb6 | 122 | |
a59167df PZ |
123 | %{__make} install \ |
124 | DESTDIR=$RPM_BUILD_ROOT | |
125 | ||
ef2efaa6 | 126 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
489f5cb4 | 127 | |
0475479f | 128 | %find_lang %{name} --with-gnome --with-omf |
a59167df | 129 | |
b59687fd JB |
130 | %clean |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
a59167df PZ |
133 | %post |
134 | %update_icon_cache hicolor | |
07c5bfb6 | 135 | %scrollkeeper_update_post |
47bbe418 | 136 | %glib_compile_schemas |
0475479f | 137 | |
a59167df PZ |
138 | %postun |
139 | %update_icon_cache hicolor | |
07c5bfb6 | 140 | %scrollkeeper_update_postun |
47bbe418 MB |
141 | %glib_compile_schemas |
142 | ||
143 | %post libs -p /sbin/ldconfig | |
144 | %postun libs -p /sbin/ldconfig | |
a59167df | 145 | |
a59167df PZ |
146 | %files -f %{name}.lang |
147 | %defattr(644,root,root,755) | |
148 | %doc AUTHORS ChangeLog README | |
07c5bfb6 | 149 | %attr(755,root,root) %{_bindir}/cheese |
07c5bfb6 MB |
150 | %{_desktopdir}/cheese.desktop |
151 | %{_datadir}/cheese | |
47bbe418 | 152 | %{_datadir}/glib-2.0/schemas/org.gnome.Cheese.gschema.xml |
a59167df | 153 | %{_iconsdir}/hicolor/*/apps/* |
9977700b | 154 | |
47bbe418 MB |
155 | %files libs |
156 | %defattr(644,root,root,755) | |
157 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so.*.*.* | |
158 | %attr(755,root,root) %ghost %{_libdir}/libcheese-gtk.so.19 | |
159 | %attr(755,root,root) %{_libdir}/libcheese.so.*.*.* | |
160 | %attr(755,root,root) %ghost %{_libdir}/libcheese.so.0 | |
161 | %{_libdir}/girepository-1.0/Cheese-3.0.typelib | |
162 | ||
9977700b PZ |
163 | %files devel |
164 | %defattr(644,root,root,755) | |
9977700b | 165 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so |
47bbe418 MB |
166 | %attr(755,root,root) %{_libdir}/libcheese.so |
167 | %{_datadir}/gir-1.0/Cheese-3.0.gir | |
9977700b PZ |
168 | %{_includedir}/cheese |
169 | %{_pkgconfigdir}/cheese-gtk.pc | |
47bbe418 | 170 | %{_pkgconfigdir}/cheese.pc |
9977700b PZ |
171 | |
172 | %files apidocs | |
173 | %defattr(644,root,root,755) | |
174 | %{_gtkdocdir}/cheese |