SUNWgnome-img-organizer.spec revision 19570
10302N/A#
10302N/A# spec file for package SUNWgnome-img-organizer
10302N/A#
10302N/A# includes module(s): gthumb
10302N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
10302N/A# This file and all modifications and additions to the pristine
10302N/A# package are under the same license as the package itself.
10302N/A#
17185N/A%define owner wangke
10302N/A
10302N/A%include Solaris.inc
10302N/A
10302N/A%use gthumb = gthumb.spec
10302N/A
10302N/AName: SUNWgnome-img-organizer
18688N/ALicense: GPL v2
18688N/AIPS_package_name: image/viewer/gthumb
10302N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
10302N/ASummary: GNOME image organizer (gthumb)
12669N/AVersion: %{gthumb.version}
10302N/ASUNW_Copyright: %{name}.copyright
10302N/ASUNW_BaseDir: %{_basedir}
10302N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10302N/A
16401N/A%include default-depend.inc
10302N/A%include gnome-consolidation.inc
10302N/ARequires: SUNWlibgnomecanvas
10302N/ARequires: SUNWgnome-libs
10302N/ARequires: SUNWgnome-img-organizer-root
10302N/ARequires: SUNWgnome-file-mgr
10302N/ARequires: SUNWgnome-camera
10302N/ARequires: SUNWgnome-component
10302N/ARequires: SUNWgnome-config
10302N/ARequires: SUNWgnome-panel
10302N/ARequires: SUNWgnome-vfs
10302N/ARequires: SUNWjpg
10302N/ARequires: SUNWlibexif
16307N/ARequires: SUNWlibms
16401N/ARequires: SUNWlibpopt
10302N/ARequires: SUNWdesktop-cache
10302N/ARequires: SUNWdbus
10302N/ARequires: SUNWlibC
10302N/ARequires: SUNWlibgcrypt
10302N/ARequires: SUNWfontconfig
10302N/ABuildRequires: SUNWlibgnomecanvas-devel
10302N/ABuildRequires: SUNWgnome-component-devel
10302N/ABuildRequires: SUNWgnome-config-devel
10302N/ABuildRequires: SUNWgnome-panel-devel
10302N/ABuildRequires: SUNWgnome-vfs-devel
10302N/ABuildRequires: SUNWjpg-devel
10302N/ABuildRequires: SUNWlibexif-devel
10302N/ABuildRequires: SUNWlibpopt-devel
10302N/ABuildRequires: SUNWgnome-file-mgr-devel
10302N/ABuildRequires: SUNWgnome-camera-devel
10302N/ABuildRequires: SUNWgnome-libs-devel
10302N/ABuildRequires: SUNWgnome-doc-utils
10302N/ABuildRequires: SUNWlibgnome-keyring
10302N/A
10302N/A%if %build_l10n
10302N/A%package l10n
10302N/AIPS_package_name: image/viewer/gthumb/l10n
10302N/ASummary: %{summary} - l10n files
10302N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10302N/A%include default-depend.inc
10302N/A%include gnome-consolidation.inc
10302N/ARequires: %{name}
10302N/A%endif
10302N/A
10302N/A%package root
10304N/ASummary: %{summary} - / filesystem
10302N/ASUNW_BaseDir: /
10302N/A%include default-depend.inc
10302N/A%include gnome-consolidation.inc
10302N/A
10302N/A%prep
10302N/Arm -rf %name-%version
10302N/Amkdir %name-%version
10304N/A%gthumb.prep -d %name-%version
10302N/A
10302N/A%build
10302N/Aexport CFLAGS="%optflags"
10302N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10302N/Aexport CPPFLAGS="-I/usr/sfw/include"
10302N/Aexport LDFLAGS="%_ldflags -lm -L/usr/sfw/lib -R/usr/sfw/lib"
10302N/A
10302N/A%gthumb.build -d %name-%version
10302N/A
10302N/A%install
10302N/Arm -rf $RPM_BUILD_ROOT
10302N/A%gthumb.install -d %name-%version
10302N/A
10302N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/.help.copyright
10302N/Armdir $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-z][a-z]
10302N/Armdir $RPM_BUILD_ROOT%{_datadir}/gnome/help/zh_CN
16307N/A
10302N/A%if %build_l10n
10302N/A%else
16307N/A# REMOVE l10n FILES
10302N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
10302N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
14360N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z]*.omf
18215N/A%endif
14360N/A
10302N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}(gthumb):$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT/usr}
10302N/A
10302N/A%clean
10302N/Arm -rf $RPM_BUILD_ROOT
10302N/A
10302N/A%post
10302N/A%restart_fmri desktop-mime-cache gconf-cache
10302N/A
18601N/A%postun
18601N/A%restart_fmri desktop-mime-cache
18601N/A
18612N/A%files
18601N/A%doc -d gthumb-%{gthumb.version} README AUTHORS
18601N/A%doc(bzip2) -d gthumb-%{gthumb.version} ChangeLog NEWS help/ChangeLog po/ChangeLog
18601N/A%dir %attr (0755, root, other) %{_datadir}/doc
18601N/A%defattr (-, root, bin)
14403N/A%dir %attr (0755, root, bin) %{_bindir}
18332N/A%{_bindir}/*
18332N/A%dir %attr (0755, root, sys) %{_datadir}
18332N/A%dir %attr (0755, root, other) %{_datadir}/applications
18215N/A%{_datadir}/applications/*
18215N/A%dir %attr (0755, root, other) %{_datadir}/gnome
18215N/A%{_datadir}/gnome/help/*/C
10302N/A%{_datadir}/gthumb/ui/*.ui
10302N/A%{_includedir}/gthumb-2.12/*.h
10302N/A%{_includedir}/gthumb-2.12/gthumb/*.h
10302N/A%dir %attr(0755, root, other) %{_libdir}/pkgconfig
10302N/A%{_libdir}/pkgconfig/gthumb-2.12.pc
10302N/A%{_libdir}/gthumb/extensions/*.extension
10302N/A%{_libdir}/gthumb/extensions/*.so
10302N/A
18332N/A%dir %attr(0755, root, other) %{_datadir}/icons
18332N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor
18332N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*
10302N/A%dir %attr(0755, root, other) %{_datadir}/icons/hicolor/*/*
10302N/A%{_datadir}/icons/hicolor/*/*/*
10302N/A%{_datadir}/gthumb/icons
10522N/A%{_datadir}/gthumb/albumthemes
10302N/A%dir %attr (0755, root, other) %{_datadir}/aclocal
18215N/A%{_datadir}/aclocal/*
10302N/A
10302N/A%if %build_l10n
18612N/A%files l10n
18612N/A%defattr (-, root, bin)
18601N/A%dir %attr (0755, root, sys) %{_datadir}
18601N/A%attr (-, root, other) %{_datadir}/locale
17967N/A%dir %attr (0755, root, other) %{_datadir}/gnome
17967N/A%{_datadir}/gnome/help/gthumb/[a-z][a-z]
16307N/A%{_datadir}/gnome/help/gthumb/zh_CN
16307N/A%endif
13005N/A
13005N/A%files root
12112N/A%defattr (-, root, sys)
12112N/A%attr (0755, root, sys) %dir %{_sysconfdir}
11314N/A%{_sysconfdir}/gconf/schemas/gthumb*.schemas
11314N/A
11126N/A%changelog
11126N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
10522N/A- Updated BuildRequires to fit SourceJuicer.
10524N/A* Mon Apr 19 2010 - christian.kelly@oracle.com
10524N/A- Fix %files.
10524N/A* Fri Apr 16 2010 - christian.kelly@oracle.com
10522N/A- Fix %files.
10337N/A* Mon Dec 21 2009 - ghee.teo@sun.com
10337N/A- Remove SUNWgnome-print dependency.
10337N/A* Fri Apr 3 2009 - laca@sun.com
10304N/A- use desktop-cache instead of postrun
10304N/A* Wed May 07 2008 - damien.carbery@sun.com
10304N/A- Remove PERL5LIB setting as it is not necessary.
10302N/A* Thu Jan 3 2008 - laca@sun.com
10302N/A- use gconf-install.script instead of an inline script
10302N/A* Fri Sep 28 2007 - laca@sun.com
10302N/A- delete Nevada X dep
10302N/A* Tue Aug 28 2007 - damien.carbery@sun.com
10302N/A- Update %files with GNOME_GThumb.server as installed by the new tarball.
10302N/A* Tue Apr 24 2007 - laca@sun.com
10302N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10302N/A (CR 6537817)
10302N/A* Tue Apr 24 2007 - laca@sun.com
10302N/A- s/0755/-/ in defattr so that files are not made all executable
10302N/A* Tue Mar 20 2007 - damien.carbery@sun.com
10302N/A- Update %files for new tarball (remove the %{datadir}/application-registry
10302N/A dir).
10302N/A* Mon Mar 14 2007 - laca@sun.com
10302N/A- update postrun scripts to the latest and greatest
10302N/A- delete some unnecessary env variables
10302N/A* Mon Feb 19 2007 - damien.carbery@sun.com
10302N/A- Minor updates for new gthumb tarball.
10302N/A* Wed Oct 11 2006 - laca@sun.com
10302N/A- fix icondir permissions
10302N/A* Fri Jun 2 2006 - laca@sun.com
10302N/A- use post/postun scripts to install schemas into the merged gconf files
10302N/A* Thu May 11 2006 - laca@sun.com
10302N/A- kill -share pkg, remove eog.1 man page.
10302N/A* Mon May 01 2006 - damien.carbery@sun.com
10302N/A- Add %{_datadir}/icons to share package.
10302N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10302N/A- Complete update of Build/Requires after running check-deps.pl script.
10302N/A* Thu Feb 16 2006 - damien.carbery@sun.com
10302N/A- Update Build/Requires after running check-deps.pl script.
10302N/A* Wed Feb 15 2006 - damien.carbery@sun.com
10302N/A- Set PKG_CONFIG_PATH to find libgphoto; Set LDFLAGS to link with libpng.
10302N/A* Sat Jan 28 2006 - damien.carbery@sun.com
10302N/A- Add BuildRequires for '-devel' equivalents of the Requires packages.
10302N/A- Added BuildRequires SUNWgnome-camera-devel for gthumb.
10302N/A* Sat Dec 3 2005 - laca@sun.com
10302N/A- add %post script that runs update-desktop-database
10302N/A* Tue Nov 29 2005 - laca.com
10302N/A- remove javahelp stuff
10302N/A* Mon Oct 03 2005 - damien.carbery@sun.com
10302N/A- Remove unpackaged files.
10302N/A* Sat Dec 18 2004 - damien.carbery@sun.com
10302N/A- Move gthumb to /usr/sfw per ARC decision.
10302N/A* Sun Nov 14 2004 - laca@sun.com
10302N/A- move gthumb to /usr/demo/jds
10302N/A* Sat Oct 02 2004 - laca@sun.com
10302N/A- added %pkgbuild_postprocess
10302N/A* Mon Aug 23 2004 - laca@sun.com
10302N/A- s/SUNWpl5u/SUNWperl584usr/
10302N/A* Mon Jun 26 2004 shirley.woo@sun.com
10302N/A- change eog.1 permissions to 0755 for Solaris integration error
10302N/A* Sat Jun 26 2004 shirley.woo@sun.com
10302N/A- Changed install location to /usr/...
10302N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10302N/A- Added %{_datadir}/locale to install l10n messages
10302N/A* Tue May 18 2004 - laca@sun.com
16401N/A- add sfw to LDFLAGS/CPPFLAGS (patch from Shirley)
* Tue May 11 2004 - brian.cameron@sun.com
- add %{_datadir}/eog to files share so glade files
get installed. This corrects core dumping problem
when bringing up preferences dialog.
* Tue May 04 2004 - laca@sun.com
- add SUNWgnome-camera dependency
* Fri Mar 26 2004 - laca@sun.com
- add SUNWgnome-file-mgr dependency (for eel)
* Wed Mar 24 2004 - brian.cameron@sun.com
- Added SGML man page integration
* Mon Mar 01 2004 - <laca@sun.com>
- fix dependencies
- define PERL5LIB
- file %files share
* Mon Feb 23 2004 - <niall.power@sun.com>
- install gconf schemas at the end of the install stage