SUNWgnome-img-viewer.spec revision 19092
10139N/A#
10139N/A# spec file for package SUNWgnome-img-viewer
10139N/A#
10139N/A# includes module(s): eog
10139N/A#
16307N/A# Copyright 2009 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#
17185N/A%define owner jouby
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%define eog_bindir /usr/bin
10139N/A%define eog_libdir /usr/lib
10139N/A%define eog_libexecdir /usr/lib
10139N/A
10139N/A%use eog = eog.spec
18688N/A
18688N/A%define _bindir %{eog_bindir}
10139N/A%define _libexecdir %{eog_libexecdir}
10139N/A%define _libdir %{eog_libdir}
10139N/A
10139N/AName: SUNWgnome-img-viewer
12723N/AIPS_package_name: image/viewer/eog
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
10139N/ASummary: GNOME image viewer
10139N/AVersion: %{eog.version}
16401N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ALicense: GPLv2
10139N/A
16257N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
10139N/ARequires: SUNWlibart
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-img-viewer-root
16129N/ARequires: SUNWgnome-file-mgr
16129N/ARequires: SUNWgnome-camera
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWjpg
17711N/ARequires: SUNWlibexif
12545N/ARequires: SUNWlibms
16129N/ARequires: SUNWlibpopt
13602N/ARequires: SUNWdesktop-cache
18721N/ARequires: SUNWlcms
18722N/ABuildRequires: SUNWgtk2-devel
16401N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWjpg-devel
16257N/ABuildRequires: SUNWlibexif-devel
10139N/ABuildRequires: SUNWlibpopt-devel
10139N/ABuildRequires: SUNWgnome-file-mgr-devel
10139N/ABuildRequires: SUNWgnome-camera-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-icon-theme
10139N/ABuildRequires: SUNWgtk-doc
10139N/ABuildRequires: SUNWlcms
10139N/ABuildRequires: SUNWgnome-doc-utils
16307N/A
16129N/A%if %build_l10n
16129N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: %{name}
10139N/A%endif
17711N/A
10139N/A%package root
12545N/ASummary: %{summary} - / filesystem
16129N/ASUNW_BaseDir: /
13602N/A%include default-depend.inc
16307N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-print
10139N/ARequires: SUNWgnome-img-viewer-root
10139N/ARequires: SUNWgnome-file-mgr
10139N/ARequires: SUNWgnome-camera
10139N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWjpg
10139N/ARequires: SUNWlibexif
10139N/ARequires: SUNWlibms
10139N/ARequires: SUNWlibpopt
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%eog.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
11394N/Agzcat %SOURCE0 | tar xf -
10533N/A
10533N/A%build
10533N/Aexport PKG_CONFIG_PATH="%{_pkg_config_path}:/usr/sfw/lib/pkgconfig"
10533N/Aexport CFLAGS="%optflags -I%{_includedir}"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
11348N/Aexport CPPFLAGS="-I/usr/sfw/include"
10139N/Aexport LDFLAGS="%_ldflags -lm -L/usr/sfw/lib -R/usr/sfw/lib"
10139N/A
10139N/A%eog.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%eog.install -d %name-%version
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/Achmod 0755 $RPM_BUILD_ROOT%{_mandir}/man1/eog.1
11904N/A
10139N/Ainstall -d $RPM_BUILD_ROOT%{eog_libdir}/bonobo/servers
10139N/A
10139N/A# Remove *.a and *.la
16009N/A# .a files are no longer installed (2.23.4.1 tarball)
16009N/A#rm $RPM_BUILD_ROOT%{eog_libdir}/eog/plugins/*.a
10139N/Arm $RPM_BUILD_ROOT%{eog_libdir}/eog/plugins/*.la
16215N/A
16924N/A# Never install English locales because should support full functions
16924N/A# on English locales as same as Solaris.
13008N/Arm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/en_GB
13008N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale/en_GB
13008N/Arm $RPM_BUILD_ROOT%{_datadir}/omf/eog/eog-en_GB.omf
13038N/A
13008N/A%if %build_l10n
10139N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale
10139N/Arm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/[a-z]*
10139N/Arm $RPM_BUILD_ROOT%{_datadir}/omf/eog/eog-[a-z][a-z].omf
10139N/Arm $RPM_BUILD_ROOT%{_datadir}/omf/eog/eog-[a-z][a-z]_[A-Z][A-Z].omf
10139N/A%endif
10139N/A# Remove scrollkeeper files.
10139N/A#rm -r $RPM_BUILD_ROOT/var
10139N/A#rm -r $RPM_BUILD_ROOT%{_prefix}/var
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(eog):$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
16307N/A
10139N/A%post
10139N/A%restart_fmri desktop-mime-cache gconf-cache
16307N/A
10139N/A%postun
10139N/A%restart_fmri desktop-mime-cache
10139N/A
10139N/A%files
16215N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{eog_bindir}/*
12182N/A%dir %attr (0755, root, bin) %{_libdir}
12170N/A%{eog_libdir}/bonobo/servers
10139N/A%{eog_libdir}/eog
10139N/A# %{eog_libdir}/eog-collection-view
12170N/A# %{eog_libdir}/eog-image-viewer
10639N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%{_datadir}/eog
10139N/A%{_datadir}/gtk-doc
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
14340N/A%{_datadir}/gnome/help/*/C
14340N/A# %{_datadir}/idl
14340N/A%{_datadir}/omf/*/*-C.omf
14340N/A%dir %attr (-, root, other) %{_datadir}/icons
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
14340N/A%{_datadir}/icons/hicolor/16x16/apps/eog.png
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
14340N/A%{_datadir}/icons/hicolor/22x22/apps/eog.png
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
14340N/A%{_datadir}/icons/hicolor/24x24/apps/eog.png
14340N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
14293N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
10139N/A%{_datadir}/icons/hicolor/32x32/apps/eog.png
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
10139N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
10139N/A%{_datadir}/icons/hicolor/scalable/apps/eog.svg
15470N/A%dir %attr(0755, root, bin) %{_mandir}
15470N/A%dir %attr(0755, root, bin) %{_mandir}/*
15470N/A%{_mandir}/*/*
15470N/A%doc -d eog-%{eog.version} AUTHORS ChangeLog MAINTAINERS NEWS README THANKS
15696N/A%doc(bzip2) -d eog-%{eog.version} COPYING
15470N/A%dir %attr (0755, root, other) %{_datadir}/doc
15470N/A
15696N/A%if %build_l10n
15470N/A%files l10n
15470N/A%defattr (-, root, bin)
15696N/A%dir %attr (0755, root, sys) %{_datadir}
18580N/A%attr (-, root, other) %{_datadir}/locale
15470N/A%dir %attr (0755, root, other) %{_datadir}/gnome
15470N/A%{_datadir}/gnome/help/eog/[a-z]*
15696N/A%{_datadir}/omf/eog/eog-[a-z][a-z].omf
15470N/A%{_datadir}/omf/eog/eog-[a-z][a-z]_[A-Z][A-Z].omf
15470N/A%endif
15696N/A
15470N/A%files root
15470N/A%defattr (-, root, sys)
15696N/A%attr (0755, root, sys) %dir %{_sysconfdir}
15470N/A%{_sysconfdir}/gconf/schemas/eog.schemas
15696N/A
15470N/A%files devel
15696N/A%defattr (-, root, bin)
15470N/A%dir %attr (0755, root, bin) %dir %{_libdir}
15696N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
15470N/A%{_libdir}/pkgconfig/*
15696N/A%dir %attr (0755, root, bin) %dir %{_includedir}
15470N/A%{_includedir}/*
15696N/A
15470N/A%changelog
15696N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Mon Jan 18 2009 - yuntong.jin@sun.com
10139N/A- Bump to 2.29.5
10139N/A* Mon Dec 21 2009 - ghee.teo@sun.com
10139N/A- Remove SUNWgnome-print dependency.
10139N/A* Tue Aug 27 2009 - yuntong.jin@sun.com
10139N/A- Bump to 2.27.91
16257N/A* Mon Aug 03 2009 - yuntong.jin@sun.com
18532N/A- Bump to 2.27.5
16257N/A* Mon Jun 29 2009 - yuntong.jin@sun.com
10139N/A- change the owner to jouby
10522N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Web Mar 04 2009 - chris.wang@sun.com
10139N/A- Transfer the ownership to bewitche
10139N/A* Tue Feb 17 2009 - dave.lin@sun.com
10139N/A- Add BuildRequires: SUNWgnome-themes-devel because it requires gnome-icon-theme.
16215N/A* Wed Jun 18 2008 - damien.carbery@sun.com
10139N/A- *.a are no longer installed so comment out their deletion.
10139N/A* Wed Jun 11 2008 - damien.carbery@sun.com
10139N/A- Delete *.a/*.la during %install; add %{_datadir}/gtk-doc and
10139N/A %{eog_libdir}/eog to %files.
10139N/A* Wed May 21 2008 - damien.carbery@sun.com
10139N/A- Add Build/Requires: SUNWlcms after check-deps.pl run.
10139N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
10139N/A* Fri Sep 28 2007 - laca@sun.com
10139N/A- delete Nevada X dep
10139N/A* Tue Aug 28 2007 - damien.carbery@sun.com
18721N/A- Remove pixmaps from %files because they are not installed by new tarball.
18721N/A* Sat Aug 18 2007 - damien.carbery@sun.com
16924N/A- Comment out removal of /var and /usr/var dirs as they are no longer installed.
16924N/A* Thu Aug 16 2007 - damien.carbery@sun.com
16307N/A- Remove actions icons from %files after tarball bump.
16307N/A* Wed Jul 11 2007 - damien.carbery@sun.com
16257N/A- Add eog-image-collection.png and thumbnail-frame.png to %files.
16257N/A* Wed May 16 2007 - damien.carbery@sun.com
16009N/A- Add devel package; add icons to base package.
16009N/A* Thu May 10 2007 - damien.carbery@sun.com
15696N/A- Remove pixmaps dir from %files as it is no longer populated.
15696N/A* Tue Apr 24 2007 - laca@sun.com
15470N/A- s/0755/-/ in defattr so that files are not made all executable
15470N/A* Wed Feb 14 2006 - damien.carbery@sun.com
14391N/A- Delete en_GB files in %install.
14391N/A* Thu Jan 11 2006 - damien.carbery@sun.com
14316N/A- Add new icons to %files.
14316N/A* Wed Dec 13 2006 - damien.carbery@sun.com
13602N/A- Delete some l10n omf files in %install when not building l10n packages.
13602N/A* Wed Dec 06 2006 - damien.carbery@sun.com
13038N/A- Update packaging for new tarball - remove scrollkeeper files, add omf files
13043N/A to the l10n package.
13043N/A* Wed Nov 29 2006 - damien.carbery@sun.com
13038N/A- Fix packaging as some locales have been removed.
13008N/A* Fri Oct 20 2006 - damien.carbery@sun.com
13008N/A- Fix packaging for new locales.
12959N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
12959N/A- New Manpage tarball
12959N/A* Sat Aug 12 2006 - laca@sun.com
12950N/A- delete some unnecessary env variables
12950N/A* Fri Jul 28 2006 - damien.carbery@sun.com
12950N/A- Remove scrollkeeper files before packaging. Update l10n package as some
12723N/A files are no longer installed.
12723N/A* Fri Jul 14 2006 - laca@sun.com
12602N/A- update %post/%postun/etc scripts to support diskless client setup,
12602N/A part of 6448317
12182N/A* Thu Jun 29 2006 - laca@sun.com
12182N/A- update postrun scripts
12170N/A* Sun Jun 11 2006 - laca@sun.com
12170N/A- change group from other to bin/sys
12170N/A* Fri Jun 2 2006 - laca@sun.com
12121N/A- use post/preun scripts to install schemas into the merged gconf files
12121N/A* Wed May 10 2006 - laca@sun.com
12112N/A- merge -share pkg(s) into the base pkg(s)
12112N/A* Tue May 09 2006 - damien.carbery@sun.com
12017N/A- Move gthumb to spec-files-extra/SUNWgnome-img-organizer as it has been EOL'd.
12017N/A* Mon May 01 2006 - damien.carbery@sun.com
12017N/A- Add %{_datadir}/icons to share package.
11904N/A* Mon Feb 20 2006 - damien.carbery@sun.com
11904N/A- Complete update of Build/Requires after running check-deps.pl script.
11904N/A* Thu Feb 16 2006 - damien.carbery@sun.com
11394N/A- Update Build/Requires after running check-deps.pl script.
11394N/A* Wed Feb 15 2006 - damien.carbery@sun.com
11348N/A- Set PKG_CONFIG_PATH to find libgphoto; Set LDFLAGS to link with libpng.
11348N/A* Sat Jan 28 2006 - damien.carbery@sun.com
10898N/A- Add BuildRequires for '-devel' equivalents of the Requires packages.
10898N/A- Added BuildRequires SUNWgnome-camera-devel for gthumb.
10790N/A* Sat Dec 3 2005 - laca@sun.com
10790N/A- add %post script that runs update-desktop-database
10682N/A* Tue Nov 29 2005 - laca@sun.com
10682N/A- remove javahelp stuff
10682N/A* Mon Oct 03 2005 - damien.carbery@sun.com
10639N/A- Remove unpackaged files.
10639N/A* Sat Dec 18 2004 - damien.carbery@sun.com
10533N/A- Move gthumb to /usr/sfw per ARC decision.
10533N/A* Sun Nov 14 2004 - laca@sun.com
10533N/A- move gthumb to /usr/demo/jds
10533N/A* Sat Oct 02 2004 - laca@sun.com
10522N/A- added %pkgbuild_postprocess
10522N/A* Mon Aug 23 2004 - laca@sun.com
10273N/A- s/SUNWpl5u/SUNWperl584usr/
10273N/A* Mon Jun 26 2004 shirley.woo@sun.com
10149N/A- change eog.1 permissions to 0755 for Solaris integration error
10149N/A* Sat Jun 26 2004 shirley.woo@sun.com
10149N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Tue May 18 2004 - laca@sun.com
10139N/A- add sfw to LDFLAGS/CPPFLAGS (patch from Shirley)
10139N/A* Tue May 11 2004 - brian.cameron@sun.com
10139N/A- add %{_datadir}/eog to files share so glade files
10139N/A get installed. This corrects core dumping problem
10139N/A when bringing up preferences dialog.
10139N/A* Tue May 04 2004 - laca@sun.com
10139N/A- add SUNWgnome-camera dependency
10139N/A* Fri Mar 26 2004 - laca@sun.com
10139N/A- add SUNWgnome-file-mgr dependency (for eel)
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Mon Mar 01 2004 - <laca@sun.com>
10139N/A- fix dependencies
10139N/A- define PERL5LIB
10139N/A- file %files share
10139N/A* Mon Feb 23 2004 - <niall.power@sun.com>
10139N/A- install gconf schemas at the end of the install stage
10139N/A
10139N/A