SUNWgnome-img-organizer.spec revision 19013
10139N/A#
10139N/A# spec file for package SUNWgnome-img-organizer
10139N/A#
10139N/A# includes module(s): gthumb
16307N/A#
10139N/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.
17185N/A#
10139N/A%define owner jerrytan
10139N/A
10139N/A%include Solaris.inc
10139N/A
10139N/A%use gthumb = gthumb.spec
10139N/A
10139N/AName: SUNWgnome-img-organizer
10139N/AIPS_package_name: image/viewer/gthumb
10139N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
19093N/ASummary: GNOME image organizer (gthumb)
18688N/AVersion: %{gthumb.version}
18688N/ASUNW_Copyright: %{name}.copyright
10139N/ASUNW_BaseDir: %{_basedir}
19013N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
12745N/ARequires: SUNWlibgnomecanvas
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-img-organizer-root
10139N/ARequires: SUNWgnome-file-mgr
10139N/ARequires: SUNWgnome-camera
16401N/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/ARequires: SUNWdesktop-cache
10139N/ABuildRequires: SUNWlibgnomecanvas-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWjpg-devel
10139N/ABuildRequires: SUNWlibexif-devel
10139N/ABuildRequires: SUNWlibpopt-devel
18187N/ABuildRequires: SUNWgnome-file-mgr-devel
10139N/ABuildRequires: SUNWgnome-camera-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWlibgnome-keyring
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
16307N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir: %{_basedir}
11375N/A%include default-depend.inc
18799N/ARequires: %{name}
10139N/A%endif
10139N/A
16401N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gthumb.prep -d %name-%version
10139N/A
10139N/A%build
10139N/Aexport CFLAGS="%optflags"
11375N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18187N/Aexport CPPFLAGS="-I/usr/sfw/include"
18799N/Aexport LDFLAGS="%_ldflags -lm -L/usr/sfw/lib -R/usr/sfw/lib"
18634N/A
18850N/A%gthumb.build -d %name-%version
18850N/A
18850N/A%install
18850N/Arm -rf $RPM_BUILD_ROOT
18850N/A%gthumb.install -d %name-%version
18850N/A
18993N/A%if %build_l10n
18850N/A%else
10139N/A# REMOVE l10n FILES
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf
10139N/A%endif
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(gthumb):$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT/usr}
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%doc -d gthumb-%{gthumb.version} README AUTHORS
10139N/A%doc(bzip2) -d gthumb-%{gthumb.version} ChangeLog NEWS help/ChangeLog po/ChangeLog
10139N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/*/C
10139N/A%{_datadir}/gthumb/ui/*.ui
10139N/A%{_includedir}/gthumb-2.12/*.h
10139N/A%{_includedir}/gthumb-2.12/gthumb/*.h
10139N/A%dir %attr(0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/gthumb-2.12.pc
10139N/A%{_libdir}/gthumb/extensions/*.extension
10139N/A%{_libdir}/gthumb/extensions/*.so
10139N/A
10139N/A%dir %attr(0755, root, other) %{_datadir}/icons
17985N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor
11837N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*
11837N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*/*
11837N/A%{_datadir}/icons/hicolor/*/*/*
11837N/A%{_datadir}/gthumb/icons
10139N/A
10535N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/gthumb/[a-z][a-z]
10139N/A%{_datadir}/gnome/help/gthumb/zh_CN/figures/*
10139N/A%{_datadir}/gnome/help/gthumb/zh_CN/gthumb.help.copyright
10139N/A%{_datadir}/gnome/help/gthumb/zh_CN/gthumb.xml
10139N/A%endif
10139N/A
14067N/A%files root
14067N/A%defattr (-, root, sys)
14067N/A%attr (0755, root, sys) %dir %{_sysconfdir}
14067N/A%{_sysconfdir}/gconf/schemas/gthumb*.schemas
10139N/A
10139N/A%changelog
10139N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10139N/A- Updated BuildRequires to fit SourceJuicer.
10139N/A* Mon Apr 19 2010 - christian.kelly@oracle.com
10139N/A- Fix %files.
10139N/A* Fri Apr 16 2010 - christian.kelly@oracle.com
10316N/A- Fix %files.
10295N/A* Mon Dec 21 2009 - ghee.teo@sun.com
10316N/A- Remove SUNWgnome-print dependency.
10316N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Wed May 07 2008 - damien.carbery@sun.com
10139N/A- Remove PERL5LIB setting as it is not necessary.
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
13890N/A- Update %files with GNOME_GThumb.server as installed by the new tarball.
10139N/A* Tue Apr 24 2007 - laca@sun.com
16307N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10139N/A (CR 6537817)
10139N/A* Tue Apr 24 2007 - laca@sun.com
16307N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Tue Mar 20 2007 - damien.carbery@sun.com
10139N/A- Update %files for new tarball (remove the %{datadir}/application-registry
14341N/A dir).
14341N/A* Mon Mar 14 2007 - laca@sun.com
14341N/A- update postrun scripts to the latest and greatest
15221N/A- delete some unnecessary env variables
14341N/A* Mon Feb 19 2007 - damien.carbery@sun.com
14341N/A- Minor updates for new gthumb tarball.
14341N/A* Wed Oct 11 2006 - laca@sun.com
10139N/A- fix icondir permissions
10139N/A* Fri Jun 2 2006 - laca@sun.com
10139N/A- use post/postun scripts to install schemas into the merged gconf files
10139N/A* Thu May 11 2006 - laca@sun.com
10139N/A- kill -share pkg, remove eog.1 man page.
17866N/A* Mon May 01 2006 - damien.carbery@sun.com
10139N/A- Add %{_datadir}/icons to share package.
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Complete update of Build/Requires after running check-deps.pl script.
10139N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
18725N/A* Wed Feb 15 2006 - damien.carbery@sun.com
12229N/A- Set PKG_CONFIG_PATH to find libgphoto; Set LDFLAGS to link with libpng.
10139N/A* Sat Jan 28 2006 - damien.carbery@sun.com
10139N/A- Add BuildRequires for '-devel' equivalents of the Requires packages.
10139N/A- Added BuildRequires SUNWgnome-camera-devel for gthumb.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Tue Nov 29 2005 - laca.com
10139N/A- remove javahelp stuff
10139N/A* Mon Oct 03 2005 - damien.carbery@sun.com
10139N/A- Remove unpackaged files.
10139N/A* Sat Dec 18 2004 - damien.carbery@sun.com
10139N/A- Move gthumb to /usr/sfw per ARC decision.
10139N/A* Sun Nov 14 2004 - laca@sun.com
13890N/A- move gthumb to /usr/demo/jds
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
13890N/A* Mon Aug 23 2004 - laca@sun.com
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Mon Jun 26 2004 shirley.woo@sun.com
13890N/A- change eog.1 permissions to 0755 for Solaris integration error
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
13890N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10648N/A- Added %{_datadir}/locale to install l10n messages
10648N/A* Tue May 18 2004 - laca@sun.com
10648N/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>
17866N/A- fix dependencies
17866N/A- define PERL5LIB
17866N/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