]> git.pld-linux.org Git - packages/camorama.git/commitdiff
- up to 0.19 auto/th/camorama-0_19-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Fri, 16 Nov 2007 17:05:13 +0000 (17:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use better way to fix locale name

Changed files:
    camorama.spec -> 1.18

camorama.spec

index b815ea538e8613862e73f3745bbd48b97561d70f..6f0cff2c52e313ad72f81c3ce42cd09091102fa6 100644 (file)
@@ -1,28 +1,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@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,9 +39,12 @@ innymi kamerami.
 %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}
@@ -61,15 +59,16 @@ rm -rf $RPM_BUILD_ROOT
 %{__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)
This page took 0.06491 seconds and 4 git commands to generate.