]>
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 |
d13e2d22 | 4 | Version: 2.30.1 |
a59167df PZ |
5 | Release: 1 |
6 | License: GPL | |
7 | Group: X11/Applications | |
9977700b | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/cheese/2.30/%{name}-%{version}.tar.bz2 |
d13e2d22 | 9 | # Source0-md5: 1599fded8a1797ea51fb010af4e6c45b |
a59167df | 10 | URL: http://live.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 |
07c5bfb6 | 36 | Requires(post,postun): gtk+2 |
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 | |
d13e2d22 | 84 | sed -i 's#^en@shaw##' po/LINGUAS |
596ba79d | 85 | rm po/en@shaw.po |
a59167df PZ |
86 | |
87 | %build | |
07c5bfb6 MB |
88 | %{__intltoolize} |
89 | %{__libtoolize} | |
90 | %{__aclocal} | |
91 | %{__autoconf} | |
92 | %{__autoheader} | |
93 | %{__automake} | |
05b8357d MB |
94 | %configure \ |
95 | --disable-schemas-install \ | |
9977700b | 96 | --disable-scrollkeeper \ |
d13e2d22 | 97 | --disable-silent-rules \ |
9977700b | 98 | --disable-static \ |
d13e2d22 | 99 | --enable-gtk-doc \ |
9977700b | 100 | --with-html-dir=%{_gtkdocdir} |
a59167df PZ |
101 | %{__make} |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
07c5bfb6 | 105 | |
a59167df PZ |
106 | %{__make} install \ |
107 | DESTDIR=$RPM_BUILD_ROOT | |
108 | ||
489f5cb4 PZ |
109 | %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la |
110 | ||
0475479f | 111 | %find_lang %{name} --with-gnome --with-omf |
a59167df | 112 | |
b59687fd JB |
113 | %clean |
114 | rm -rf $RPM_BUILD_ROOT | |
115 | ||
a59167df | 116 | %post |
9977700b | 117 | /sbin/ldconfig |
a59167df | 118 | %update_icon_cache hicolor |
0475479f | 119 | %gconf_schema_install cheese.schemas |
07c5bfb6 | 120 | %scrollkeeper_update_post |
a59167df | 121 | |
0475479f PZ |
122 | %preun |
123 | %gconf_schema_uninstall cheese.schemas | |
124 | ||
a59167df | 125 | %postun |
9977700b | 126 | /sbin/ldconfig |
a59167df | 127 | %update_icon_cache hicolor |
07c5bfb6 | 128 | %scrollkeeper_update_postun |
a59167df | 129 | |
a59167df PZ |
130 | %files -f %{name}.lang |
131 | %defattr(644,root,root,755) | |
132 | %doc AUTHORS ChangeLog README | |
07c5bfb6 | 133 | %attr(755,root,root) %{_bindir}/cheese |
9977700b PZ |
134 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so.*.*.* |
135 | %attr(755,root,root) %ghost %{_libdir}/libcheese-gtk.so.18 | |
07c5bfb6 MB |
136 | %dir %{_libdir}/cheese |
137 | %attr(755,root,root) %{_libdir}/cheese/cheese-bugreport.sh | |
0475479f | 138 | %{_sysconfdir}/gconf/schemas/cheese.schemas |
07c5bfb6 MB |
139 | %{_desktopdir}/cheese.desktop |
140 | %{_datadir}/cheese | |
1bc48f3a | 141 | %{_datadir}/dbus-1/services/org.gnome.Cheese.service |
a59167df | 142 | %{_iconsdir}/hicolor/*/apps/* |
9977700b PZ |
143 | |
144 | %files devel | |
145 | %defattr(644,root,root,755) | |
9977700b PZ |
146 | %attr(755,root,root) %{_libdir}/libcheese-gtk.so |
147 | %{_includedir}/cheese | |
148 | %{_pkgconfigdir}/cheese-gtk.pc | |
149 | ||
150 | %files apidocs | |
151 | %defattr(644,root,root,755) | |
152 | %{_gtkdocdir}/cheese |