]> git.pld-linux.org Git - packages/ee.git/blobdiff - ee.spec
no -> nb
[packages/ee.git] / ee.spec
diff --git a/ee.spec b/ee.spec
index d5d18c0f857b7dbeda6a37aa242203a9604f7846..5c0b5d870a126295629910788621071ceca8708c 100644 (file)
--- a/ee.spec
+++ b/ee.spec
-Summary:     Electric Eyes
-Name:        ee
-Version:     0.3
-Release:     7
-Copyright:   GPL
-Group:       X11/Utilities
-Source:      ftp://ftp.gnome.org/pub/%{name}-%{version}.tar.gz
-URL:         http://www.gnome.org
-Requires:    imlib >= 1.8.1
-BuildRoot:   /tmp/%{name}-%{version}-root
+Summary:       The Electric Eyes image viewer application
+Summary(es):   Electric Eyes - Visualizador de Imágenes
+Summary(fr):   Le visualiseur d'images Electric Eyes
+Summary(pl):   Elektryczne Oczy - przegl±darka plików graficznych
+Summary(pt_BR):        Electric Eyes - Visualizador de Imagens
+Summary(ru):   ðÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ ÉÚÏÂÒÁÖÅÎÉÊ Electric Eyes
+Summary(uk):   ðÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ ÚÏÂÒÁÖÅÎØ Electric Eyes
+Name:          ee
+Version:       0.3.12
+Release:       13
+License:       GPL
+Group:         X11/Applications
+Source0:       ftp://ftp.gnome.org/pub/GNOME/sources/ee/0.3/%{name}-%{version}.tar.gz
+# Source0-md5: d7e92c1cc560ce76e439353462b8aa7e
+Patch0:                %{name}-uk.po.patch
+Patch1:                %{name}-pt_BR.po.patch
+Patch2:                %{name}-desktop.patch
+Patch3:                %{name}-locale_names.patch
+Patch4:                %{name}-zh_and_ja.po.patch
+Icon:          ee.xpm
+URL:           http://www.gnome.org/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gnome-libs-devel
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: imlib-devel
+BuildRequires: libtool
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-The Electric Eyes image viewer lets you view and manipulate
-images in a variety of formats.
+The ee package contains the Electric Eyes image viewer for the GNOME
+desktop environment. Electric Eyes is primary an image viewer, but it
+also allows many types of image manipulations. Electric Eyes can
+handle almost any type of image.
+
+%description -l es
+El visor de imágenes Electric Eyes permite visualizar y manejar una
+variedad de formatos de imágenes.
+
+%description -l fr
+Le package ee contient le visualiseur d'images Electric Eyes pour le
+bureau graphique GNOME. Electric Eyes est d'abord un visualiseur
+d'images, mais il peut aussi les modifier. Electric Eyes peut gérer
+quasiment tous les types d'images.
+
+%description -l pl
+"Elektryczne Oczy" s± przegl±dark± plików graficznych w ró¿nych
+formatach dla GNOME. Electric Eyes jest przede wszystkim przegl±dark±,
+ale mo¿e te¿ s³u¿yæ do wykonywania niektórych operacji spotykanych w
+programach do obróbki grafiki.
+
+%description -l pt_BR
+O visualizador de imagens Electric Eyes permite a visualização e
+manipulação de uma variedade de formatos de imagens.
+
+%description -l ru
+ðÁËÅÔ ee ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÕ ÐÒÏÓÍÏÔÒÁ ÉÚÏÂÒÁÖÅÎÉÊ Electric Eyes ÄÌÑ
+ÓÒÅÄÙ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ GNOME. Electric Eyes × ÐÅÒ×ÕÀ ÏÞÅÒÅÄØ ÐÒÏÇÒÁÍÍÁ
+ÐÒÏÓÍÏÔÒÁ, ÈÏÔÑ É ÐÏÄÄÅÒÖÉ×ÁÅÔ ÍÎÏÇÏ ÔÉÐÏ× ÍÁÎÉÐÕÌÑÃÉÊ ÎÁÄ
+ÉÚÏÂÒÁÖÅÎÉÑÍÉ. Electric Eyes ÍÏÖÅÔ ÒÁÂÏÔÁÔØ ÐÒÁËÔÉÞÅÓËÉ Ó ÌÀÂÙÍ ÔÉÐÏÍ
+ÉÚÏÂÒÁÖÅÎÉÊ.
+
+%description -l uk
+ðÁËÅÔ ee Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÕ ÐÅÒÅÇÌÑÄÕ ÚÏÂÒÁÖÅÎØ Electric Eyes ÄÌÑ
+ÓÅÒÅÄÏ×ÉÝÁ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ GNOME. Electric Eyes × ÐÅÒÛÕ ÞÅÒÇÕ ¤
+ÐÒÏÇÒÁÍÏÀ ÐÅÒÅÇÌÑÄÕ, ÈÏÞÁ Ê Ð¦ÄÔÒÉÍÕ¤ ÂÁÇÁÔÏ ÔÉЦנÍÁΦÐÕÌÑæʠÎÁÄ
+ÚÏÂÒÁÖÅÎÎÑÍÉ. Electric Eyes ÍÏÖÅ ÐÒÁÃÀ×ÁÔÉ ÐÒÁËÔÉÞÎÏ Ú ÂÕÄØ-ÑËÉÍ ÔÉÐÏÍ
+ÚÏÂÒÁÖÅÎØ.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+
+mv -f po/zh_TW{.Big5,}.po
+mv -f po/zh_CN{.GB2312,}.po
+mv -f po/{no,nb}.po
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure \
-       --prefix=/usr/X11R6 \
-       --with-gnome=/usr/X11R6
-make
+rm -rf missing
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
+%configure \
+       --without-included-gettext
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Graphicsdir=%{_desktopdir}
 
-strip $RPM_BUILD_ROOT/usr/X11R6/bin/*
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(-, root, root)
-
+%files -f %{name}.lang
+%defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-/usr/X11R6/bin/*
-/usr/X11R6/share/gnome/help/ee
-/usr/X11R6/share/apps/Graphics/*
-
-%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/ee.mo
-%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/ee.mo
-%lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/ee.mo
-%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/ee.mo
-%lang(ga) /usr/X11R6/share/locale/ga/LC_MESSAGES/ee.mo
-%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/ee.mo
-%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/ee.mo
-%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/ee.mo
-%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/ee.mo
-
-%changelog
-* Sun Sep 27 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3-7]
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added using %%{name} and %%{version} in Source,
-- added full %attr description in %files,
-- added stripping binaries,
-- chnged install pprefix to /usr/X11R6
-- removed COPYING from %doc (copyright statment is in Copyright field).
-
-* Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
-- add again the Obsoletes tag (commented out)
-- rebuild to link against the static gnome-libs
-
-* Tue Sep 22 1998 Carsten Haitzler <raster@redhat.com>
-- requires imlib 1.8
-- more minor bug fixes.
-
-* Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
-- packaged for 5.2
-
-* Thu Aug 13 1998 Marc Ewing <marc@redhat.com>
-- Initial spec file copied from gnome-graphics
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/mime-info/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/*
This page took 0.06265 seconds and 4 git commands to generate.