Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 4d17eabcd46efb21e5377ca27ccd4271 > files > 3

gqview-1.0.2-1mdk.src.rpm

%define name	gqview
%define version 1.0.2
%define release 1mdk
%define url	http://gqview.sourceforge.net/
%define durl	http://prdownloads.sourceforge.net/gqview

Summary: 	Graphics file browser utility
Name: 		%{name}
Version: 	%{version}
Release: 	%{release}
License: 	GPL
Group: 		Graphics
URL: 		%{url}
Source: 	%{durl}/%{name}-%{version}.tar.bz2
Source1: 	gqview-icons.tar.bz2
BuildRoot: 	%{_tmppath}/%{name}-root
BuildRequires:	gdk-pixbuf-devel gnome-libs-devel

%description
GQview is a browser for graphics files.

Offering single click viewing of your graphics files.
Includes thumbnail view, zoom and filtering features.
And external editor support.

%prep

%setup -q

%build
%configure
perl -pi -e 's|#define GQVIEW_HELPDIR .*|#define GQVIEW_HELPDIR "%_docdir/%{name}-%{version}"|' config.h
%make

%install
%makeinstall GNOME_DATADIR=%buildroot/%_datadir

# icons
mkdir -p %{buildroot}/%{_iconsdir}
bzcat %{SOURCE1}| tar xvf - -C $(dirname %buildroot/%{_iconsdir})

install -d %buildroot/%_menudir
cat > %buildroot/%_menudir/%name <<EOF
?package(%name):\
command="%_bindir/%name"\
icon="%{name}.png"\
title="Gqview"\
longtitle="A browser for graphics files"\
needs="x11"\
section="Multimedia/Graphics"
EOF

%{find_lang} %name
%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%defattr(-,root,root)
%doc README COPYING TODO 
%_bindir/*
%_mandir/man1/*

%_libdir/menu/*
%_iconsdir/*

%_datadir/gnome/apps/Graphics/gqview.desktop
%_datadir/pixmaps/*

%changelog
* Fri Feb 01 2002 Yves Duret <yduret@mandrakesoft.com> 1.0.2-1mdk
- version 1.0.2

* Sun Jan 20 2002 Yves Duret <yduret@mandrakesoft.com> 1.0.1-1mdk
- version 1.0.1
- png icons instead of xpm

* Wed Dec 19 2001 Yves Duret <yduret@mandrakesoft.com> 1.0-1mdk
- true version 1.0

* Thu Dec 13 2001 Yves Duret <yduret@mandrakesoft.com> 0.99.3-1mdk
- version 0.99.3 (1.0 RC 1)

* Fri Dec 07 2001 Yves Duret <yduret@mandrakesoft.com> 0.99.2-1mdk
- version 0.99.2

* Wed Nov 28 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.99.1-0.1mdk
- Fix displaying help.
- use %%makeinstall_std
- 0.99.1.
- Make Q act like Control-Q like all others viewver (and Q is unused).

* Wed Oct 17 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.10.1-3mdk
- rebuilt with libpng3

* Mon Oct 08 2001 Stefan van der Eijk <stefan@eijk.nu> 0.10.1-2mdk
- BuildRequires: gdk-pixbuf-devel gnome-libs-devel
- Removed redundant BuildRequires

* Fri Aug 24 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.10.1-1mdk
- release 0.10.1

* Wed Feb 21 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.10.0-1mdk
- new stable version
- added .desktop, pixmaps, manpages

* Wed Jan 03 2001 David BAUDENS <baudens@mandrakesoft.com> 0.8.2-7mdk
- Use optimizations
- Spec clean up

* Mon Sep 25 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.8.2-6mdk
- changed icon

* Tue Sep  5 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.8.2-5mdk
- icons
- further macroszification

* Thu Aug 24 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.8.2-4mdk
- macros
- added %lang

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.8.2-3mdk
- automatically added BuildRequires

* Thu Jun 22 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.8.2-2mdk
- change url, thanks Jan. 

* Thu Jun 22 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.8.2-1mdk
- v0.8.2
- add locale
- fix install & files section

* Fri Apr 28 2000 Daouda Lo <daouda@mandrakesoft.com> 0.7.0-10mdk
- add icon (32*32 and 16*16)
- cleanup spec file 

* Wed Apr 05 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.7.0-9mdk
- merge menu file with spec
- clean spec

* Thu Mar 21 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.7.0-8mdk
- fix rpmlint warnings

* Mon Mar 20 2000 Lenny Cartier <lenny@mandrakesoft.com>
- clean specfile
- add menu entry 

* Wed Nov 10 1999 Alexandre Dussart <adussart@mandrakesoft.com>
- Updated URL
- Added icon

* Thu Jul 15 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- 0.7.0.

* Tue May 11 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 3)

* Fri Mar 19 1999 Michael Fulbright <drmike@redhat.com>
- strip binaries

* Sat Mar 6 1999 Michael Fulbright <drmike@redhat.com>
- version 0.6.0

* Wed Oct 7 1998 John Ellis <gqview@geocities.com>
- updated for version 0.4.2

* Fri Sep 11 1998 John Ellis <gqview@geocities.com>
- updated for version 0.4.1

* Sat Aug 15 1998 John Ellis <gqview@geocities.com>
- updated for version 0.4.0

* Wed Aug 5 1998 Joel Young <jyoung@erols.com>
- enhanced rpm .spec file