eog/eog.spec

90 lines
1.8 KiB
RPMSpec
Raw Normal View History

%define glib2_version 2.0.0
%define gtk2_version 2.0.2
%define libgnomeui_version 1.117.1
%define libgnomeprint_version 1.113.0
Summary: Eye of GNOME image viewer
Name: eog
Version: 0.118.0
Release: 4
URL: http://www.gnome.org
Source0: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/eog/%{name}-%{version}.tar.bz2
License: GPL
Group: User Interface/Desktops
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version}
%description
Eye of GNOME (EOG) is an image viewer component used by Nautilus.
%prep
%setup -q
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="eog.schemas"
for S in $SCHEMAS; do
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
done
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/pixmaps
%{_datadir}/idl
%{_datadir}/gnome-2.0
%{_datadir}/gnome
%{_datadir}/applications
%{_datadir}/omf
%{_libdir}/bonobo
%{_bindir}/*
%{_sysconfdir}/gconf/schemas/*.schemas
%changelog
* Wed Jun 05 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
* Sun May 26 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- rebuild in different environment
- build requires libgnomeprint
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
- 0.118.0
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
- 0.117.0
* Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
- initial build