SUNWgnome-eog-plugins.spec revision 19997
10139N/A#
10139N/A# spec file for package: eog-plugins
10139N/A#
10139N/A# includes module(s): eog-plugins
10139N/A#
10139N/A# Copyright 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner jouby
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%{?!pythonver:%define pythonver 2.6}
10139N/A%use eog_plugins = eog-plugins.spec
10139N/A
10139N/AName: SUNWgnome-eog-plugins
10139N/AIPS_package_name: image/viewer/eog/eog-plugins
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
10139N/ASummary: A collection of extra eog plugins
10139N/AVersion: %{eog_plugins.version}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ALicense: GPL v2
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10190N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: SUNWgnome-img-viewer
10139N/ARequires: SUNWlibchamplain
10139N/ARequires: SUNWgnome-python26
10139N/ARequires: SUNWpygtk2-26
10139N/ARequires: SUNWglib2
10139N/ARequires: SUNWPython26
10139N/A
10139N/ABuildRequires: SUNWlibexif
10139N/ABuildRequires: SUNWgnome-img-viewer-devel
10139N/ABuildRequires: SUNWgnome-common-devel
10139N/A
10139N/A%description
10139N/Aeog-plugins is a collection of plugins for use with the Eye of GNOME Image Viewer.
10139N/AThe included plugins provide a map view for where the picture was taken,
10139N/Adisplay of Exif information, Zoom to fit, etc.
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%eog_plugins.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/A
10139N/A
10139N/A%build
10139N/Aexport PYTHON=/usr/bin/python%{pythonver}
10139N/A%eog_plugins.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%eog_plugins.install -d %name-%version
10139N/A
10139N/Afind $RPM_BUILD_ROOT -name "*.pyc" -exec rm {} \;
10139N/Afind $RPM_BUILD_ROOT -name "*.pyo" -exec rm {} \;
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(eog_plugins):$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
10139N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%defattr (-, root, sys)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, bin) %{_libdir}/eog
10139N/A%dir %attr (0755, root, bin) %{_libdir}/eog/plugins
10139N/A/usr/lib/eog/plugins/*.py
10139N/A/usr/lib/eog/plugins/*.eog-plugin
10139N/A/usr/lib/eog/plugins/lib*.so
10139N/A/usr/lib/eog/plugins/exif-display/*.ui
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/locale
10139N/A%dir %attr (0755, root, other) %{_datadir}/locale/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/locale/*/*
10139N/A/usr/share/locale/*/LC_MESSAGES/eog-plugins.mo
10139N/A
10139N/A%doc -d eog-plugins-%{eog_plugins.version} AUTHORS NEWS README
10139N/A%doc(bzip2) -d eog-plugins-%{eog_plugins.version} ChangeLog COPYING
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%changelog
10139N/A* Wen Mar 31 2010 - yuntong.jin@sun.com
10139N/A- Fix files attr
10139N/A* Mon Mar 22 2010 - christian.kelly@sun.com
10139N/A- Grr, typo in libchamplain dep.
10139N/A* Mon Mar 22 2010 - christian.kelly@sun.com
10139N/A- s/Requires: SUNWpython26/Requires: SUNWPython26/
10139N/A* Fri Jan 29 2010 - yuntong.jin@sun.com
10139N/A- Init
10139N/A
10139N/A
10139N/A
10139N/A