Summary: GNOME webcam program
Summary(pl.UTF-8): Program do kamer internetowych dla GNOME
Name: camorama
-Version: 0.18
-Release: 3
-License: GPL
-Group: Applications
-Source0: http://camorama.fixedgear.org/downloads/%{name}-%{version}.tar.bz2
-# Source0-md5: 26ea7219405f2ec1677329190bed5e01
+Version: 0.19
+Release: 1
+License: GPL v2
+Group: X11/Applications
+Source0: http://ftp.gnome.org/pub/GNOME/sources/camorama/0.19/%{name}-%{version}.tar.bz2
+# Source0-md5: 75025ba37d1dd1c398d92ba2dbef43ee
Patch0: %{name}-schemas.patch
Patch1: %{name}-desktop.patch
URL: http://camorama.fixedgear.org/
-BuildRequires: autoconf
+BuildRequires: GConf2-devel
+BuildRequires: autoconf >= 2.53
BuildRequires: automake
-BuildRequires: bonobo-activation-devel >= 1.0.0
-BuildRequires: glib2-devel >= 2.0.0
-BuildRequires: gnome-vfs2-devel >= 2.0.0
-BuildRequires: gtk+2-devel >= 1:2.0.3
-BuildRequires: libbonobo-devel >= 2.0.0
-BuildRequires: libbonoboui-devel >= 2.0.0
-BuildRequires: libgnome-devel >= 2.0.0
-BuildRequires: libgnomeui-devel >= 2.0.1
-BuildRequires: libpng-devel >= 1.2.2
-BuildRequires: pango-devel >= 1:1.0.3
-Requires(post): GConf2
+BuildRequires: intltool >= 0.36.2
+BuildRequires: gtk+2-devel >= 2:2.10.0
+BuildRequires: libglade2-devel
+BuildRequires: libgnomeui-devel
+Requires(post,preun): GConf2
# sr@Latn vs. sr@latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%patch0 -p1
%patch1 -p1
-echo '#define GNOMELOCALEDIR "/usr/share/locale"' >> src/interface.h
+
+sed -i -e s#sr\@Latn#sr\@latin# configure.in
+mv -f po/sr\@{Latn,latin}.po
%build
+%{__intltoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
- mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
-%gconf_schema_install
+%gconf_schema_install camorama.schemas
+
+%preun
+%gconf_schema_uninstall camorama.schemas
%files -f %{name}.lang
%defattr(644,root,root,755)