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