SPECS: camorama.spec - up to 0.19 - use better way to fix locale name
megabajt
megabajt at pld-linux.org
Fri Nov 16 18:05:18 CET 2007
Author: megabajt Date: Fri Nov 16 17:05:18 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.19
- use better way to fix locale name
---- Files affected:
SPECS:
camorama.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/camorama.spec
diff -u SPECS/camorama.spec:1.17 SPECS/camorama.spec:1.18
--- SPECS/camorama.spec:1.17 Sun Nov 4 00:28:11 2007
+++ SPECS/camorama.spec Fri Nov 16 18:05:13 2007
@@ -2,28 +2,23 @@
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 at Latn vs. sr at latin
Conflicts: glibc-misc < 6:2.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,9 +40,12 @@
%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}
@@ -62,15 +60,16 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at 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)
@@ -87,6 +86,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2007-11-16 17:05:13 megabajt
+- up to 0.19
+- use better way to fix locale name
+
Revision 1.17 2007-11-03 23:28:11 ankry
- sr at Latn -> sr at latin, rel. 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/camorama.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list