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