]> git.pld-linux.org Git - packages/ee.git/commitdiff
- revision up to 7, ee-0_3_8-7
authorkloczek <kloczek@pld-linux.org>
Mon, 31 May 1999 02:35:33 +0000 (02:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added ee-desktop.patch,
- summarized %changelog,
- more rpm macros,
- removed stripping binaries (LDFLAGS"-s" is in ./configure enviroment).

Changed files:
    ee.spec -> 1.11

ee.spec

diff --git a/ee.spec b/ee.spec
index b048cad8aadd61f860da53222620d790ac6dcb7a..eed2f8db15fb08c51a688242adf6633db4572ba1 100644 (file)
--- a/ee.spec
+++ b/ee.spec
@@ -2,17 +2,19 @@ Summary:      Electric Eyes
 Summary(pl):   Elektryczne Oczy
 Name:          ee
 Version:       0.3.8
 Summary(pl):   Elektryczne Oczy
 Name:          ee
 Version:       0.3.8
-Release:       4
+Release:       7
 Copyright:     GPL
 Group:         X11/Utilities
 Group(pl):     X11/Narzêdzia
 Source:                ftp://ftp.gnome.org/pub/%{name}-%{version}.tar.gz
 Copyright:     GPL
 Group:         X11/Utilities
 Group(pl):     X11/Narzêdzia
 Source:                ftp://ftp.gnome.org/pub/%{name}-%{version}.tar.gz
+Patch:         ee-desktop.patch
 URL:           http://www.gnome.org/
 URL:           http://www.gnome.org/
-BuildPrereq:   gtk+-devel >= 1.1.12
+BuildPrereq:   gtk+-devel >= 1.2.0
 BuildPrereq:   xpm-devel
 BuildPrereq:   xpm-devel
-%requires_pkg  gtk+
 BuildRoot:     /tmp/%{name}-%{version}-root
 
 BuildRoot:     /tmp/%{name}-%{version}-root
 
+%define _prefix /usr/X11R6
+
 %description
 The Electric Eyes image viewer lets you view and manipulate
 images in a variety of formats.
 %description
 The Electric Eyes image viewer lets you view and manipulate
 images in a variety of formats.
@@ -22,94 +24,36 @@ images in a variety of formats.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 autoconf
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
 ./configure %{_target} \
 
 %build
 autoconf
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
 ./configure %{_target} \
-       --prefix=/usr/X11R6 \
+       --prefix=%{_prefix} \
        --without-included-gettext
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
        --without-included-gettext
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
-
-strip $RPM_BUILD_ROOT/usr/X11R6/bin/*
+make prefix=$RPM_BUILD_ROOT%{_prefix} install
 
 gzip -9nf AUTHORS ChangeLog NEWS README
 
 
 gzip -9nf AUTHORS ChangeLog NEWS README
 
+%find_lang ee
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f ee.lang
 %defattr(644,root,root,755)
 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
 %defattr(644,root,root,755)
 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
-
-%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
-%lang(ru) /usr/X11R6/share/locale/ru/LC_MESSAGES/ee.mo
-%lang(sv) /usr/X11R6/share/locale/sv/LC_MESSAGES/ee.mo
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/gnome/help/ee
+%{_datadir}/gnome/apps/Graphics/*
 
 %changelog
 
 %changelog
-* Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.8-4]
-- recompiled against gtk+/glib 1.2.1.
-
-* Tue Mar 16 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.8-3]
-- fixed configure option (--without-included-gettext).
-
-* Sun Mar 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.8-2]
-- removed Requires (autogenerate).
-
-* Sat Feb 27 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.8-1]
-- Requires changed to imlib = 1.9.3, gtk+ = 1.2.0,
-- more locales (ru, sv),
-- changed Group(pl).
-
-* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.3.5-1]
-- added LDFLAGS="-s" to ./configure enviroment,
-- added --without-included-gettext to configure parameters,
-- added full %attr description in %files,
-- more locales (ja),
-- build against GNU libc-2.1.
-
-* 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
+* Sun May 30 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [0.3.8-7]
+- based on RH spec,
+- spec rewrited by PLD team.
This page took 0.223044 seconds and 4 git commands to generate.