]> git.pld-linux.org Git - packages/ee.git/blobdiff - ee.spec
- more %%{__make} macros.
[packages/ee.git] / ee.spec
diff --git a/ee.spec b/ee.spec
index 6ca68f606ffe070c5924f686d0b5acd3646f4427..c1b0669b088734fdb66721eaf396ede2c69eec60 100644 (file)
--- a/ee.spec
+++ b/ee.spec
@@ -1,82 +1,77 @@
-Summary:     Electric Eyes
-Name:        ee
-Version:     0.3.5
-Release:     1
-Copyright:   GPL
-Group:       X11/Utilities
-Source:      ftp://ftp.gnome.org/pub/%{name}-%{version}.tar.gz
-URL:         http://www.gnome.org
-Requires:    imlib = 1.8.2
-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
+Name:          ee
+Version:       0.3.11
+Release:       2
+License:       GPL
+Group:         X11/Utilities
+Group(pl):     X11/Narzêdzia
+Source:                ftp://ftp.gnome.org/pub/GNOME/stable/sources/ee/%{name}-%{version}.tar.gz
+Patch:         ee-applnk.patch
+Icon:          ee.xpm
+URL:           http://www.gnome.org/
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: imlib-devel
+BuildRequires: gettext-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _prefix /usr/X11R6
 
 %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.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
-       --prefix=/usr/X11R6 \
-       --with-included-gettext
-make
+gettextize --copy --force
+automake
+LDFLAGS="-s"; export LDFLAGS
+%configure \
+       --without-included-gettext
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
+
+gzip -9nf AUTHORS ChangeLog NEWS README
 
-strip $RPM_BUILD_ROOT/usr/X11R6/bin/*
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644, root, root, 755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755, root, root) /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(ja) /usr/X11R6/share/locale/ja/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
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.5-1]
-- added LDFLAGS="-s" to ./configure enviroment,
-- added --with-included-gettext to configure parameters,
-- added full %attr description in %files,
-- more locales (ja).
-
-* 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
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc {AUTHORS,ChangeLog,NEWS,README}.gz
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/gnome/help/ee
+%{_datadir}/applnk/Graphics/ee.desktop
This page took 0.115849 seconds and 4 git commands to generate.