]> git.pld-linux.org Git - packages/camorama.git/blobdiff - camorama.spec
- sr@Latn -> sr@latin, rel. 3
[packages/camorama.git] / camorama.spec
index 30e9a1ae7dc3f002db7889fab1a8fac2c33acbb1..b815ea538e8613862e73f3745bbd48b97561d70f 100644 (file)
@@ -1,22 +1,30 @@
-
 Summary:       GNOME webcam program
+Summary(pl.UTF-8):     Program do kamer internetowych dla GNOME
 Name:          camorama
-Version:       0.16
-Release:       1
-Source0:       http://camorama.fixedgear.org/downloads/%{name}-%{version}.tar.gz
-URL:           http://camorama.fixedgear.org
+Version:       0.18
+Release:       3
 License:       GPL
 Group:         Applications
+Source0:       http://camorama.fixedgear.org/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: 26ea7219405f2ec1677329190bed5e01
+Patch0:                %{name}-schemas.patch
+Patch1:                %{name}-desktop.patch
+URL:           http://camorama.fixedgear.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bonobo-activation-devel >= 1.0.0
 BuildRequires: glib2-devel >= 2.0.0
-BuildRequires: pango-devel >= 1.0.3
-BuildRequires: gtk+2-devel >= 2.0.3
-BuildRequires: libgnome-devel >= 2.0.0
-BuildRequires: libgnomeui-devel >= 2.0.1
+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: gnome-vfs2-devel >= 2.0.0
-BuildRequires: bonobo-activation-devel >= 1.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
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,35 +33,49 @@ the moment, and I hope to make it much more complete. I also plan to
 make it more generic, as I initially wrote it with only my own
 Creative Webcam 3 in mind. Hopefully it will work with other cameras.
 
+%description -l pl.UTF-8
+Camorama to program do kontrolowania kamer internetowych. Na razie
+jest prosty, ale autor ma nadzieję uczynić go bardziej kompletnym;
+planuje także uczynić go bardziej ogólnym, bo na razie program był
+pisany tylko z myślą o Creative Webcam 3. W przyszłości ma działać z
+innymi kamerami.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+echo '#define GNOMELOCALEDIR "/usr/share/locale"' >> src/interface.h
 
 %build
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+%configure \
+       --disable-schemas-install
 
-%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-    DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT
 
-%post 
-%gconf_schema_install
+[ -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
 
-%files
-%defattr(644,root,root,755)
+%post
+%gconf_schema_install
 
+%files -f %{name}.lang
+%defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/camorama
-%{_datadir}/applications/camorama.desktop
-%{_datadir}/pixmaps/camorama.png
-%{_datadir}/camorama/camorama.glade
+%{_datadir}/camorama
+%{_desktopdir}/camorama.desktop
+%{_pixmapsdir}/*.png
 %{_sysconfdir}/gconf/schemas/camorama.schemas
This page took 0.047604 seconds and 4 git commands to generate.