13587N/A#
13587N/A#
13587N/A# spec file for package SUNWgqview
13587N/A#
13587N/A# includes module(s): gqview
13587N/A#
13587N/A# Copyright 2008 Sun Microsystems, Inc.
13587N/A# This file and all modifications and additions to the pristine
13587N/A# package are under the same license as the package itself.
13587N/A#
17185N/A%define owner jouby
13587N/A
13587N/A%include Solaris.inc
13587N/A%use gqview = gqview.spec
13587N/AName: SUNWgqview
18688N/AIPS_package_name: image/viewer/gqview
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
13587N/ASummary: GQview - Image browser
13587N/AURL: http://gqview.sourceforge.net/
13587N/AVersion: %{gqview.version}
13587N/ASource: http://prdownloads.sourceforge.net/gqview/gqview-%{version}.tar.gz
13587N/ASUNW_BaseDir: %{_basedir}
13593N/ASUNW_Copyright: SUNWgqview.copyright
19092N/ALicense: GPL v2, Public Domain
13587N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13587N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16584N/ARequires: SUNWuiu8
16401N/ARequires: SUNWgtk2
17498N/ARequires: SUNWlcms
16401N/ABuildRequires: SUNWgtk2-devel
13632N/ABuildRequires: SUNWgnome-common-devel
13587N/A
13587N/A%package l10n
13587N/ASummary: %{summary} - l10n files
13587N/ARequires: %{name}
13587N/A
13587N/A%prep
13587N/Arm -rf %name-%version
13587N/Amkdir %name-%version
13587N/A%gqview.prep -d %name-%version
13587N/A
13587N/A%build
13587N/Aexport CFLAGS="%optflags -DEDITOR_GIMP"
13587N/Aexport LDFLAGS="-lX11 -lsocket"
13587N/A%gqview.build -d %name-%version
13587N/A
13587N/A%install
13587N/A%gqview.install -d %name-%version
13651N/Aif [ -d $RPM_BUILD_ROOT/%{_libdir}/locale ]; then
13651N/A mv $RPM_BUILD_ROOT/%{_libdir}/locale $RPM_BUILD_ROOT/%{_datadir}/
13651N/A rm -r $RPM_BUILD_ROOT/%{_libdir}
13651N/Afi
13956N/Amv $RPM_BUILD_ROOT%{_datadir}/locale/zh_CN.GB2312 $RPM_BUILD_ROOT%{_datadir}/locale/zh_CN
13587N/A
13587N/A%clean
13587N/Arm -rf $RPM_BUILD_ROOT
13587N/A
13587N/A%files
14361N/A%doc -d gqview-%{gqview.version} README AUTHORS
14361N/A%doc(bzip2) -d gqview-%{gqview.version} COPYING ChangeLog NEWS
14361N/A%dir %attr (0755, root, other) %{_datadir}/doc
13587N/A%defattr(-, root, bin)
13587N/A%dir %attr (0755, root, bin) %{_bindir}
13587N/A%{_bindir}/*
13587N/A%dir %attr (0755, root, sys) %{_datadir}
13587N/A%dir %attr (0755, root, other) %{_datadir}/applications
13587N/A%{_datadir}/applications/*
14361N/A%{_datadir}/doc/gqview-%{gqview.version}
13587N/A%dir %attr(0755, root, bin) %{_mandir}
13587N/A%dir %attr(0755, root, bin) %{_mandir}/man1
13587N/A%{_mandir}/man*/*
13587N/A%dir %attr (0755, root, other) %{_datadir}/pixmaps
13587N/A%{_datadir}/pixmaps/*
13587N/A
13587N/A%files l10n
13587N/A%defattr (-, root, bin)
13587N/A%dir %attr (0755, root, sys) %{_datadir}
13587N/A%attr (-, root, other) %{_datadir}/locale
13587N/A
13587N/A%changelog
17498N/A* Wen Oct 14 2009 - yuntong.jin@sun.com
17498N/A- add dependence SUNWlcms to fix CR 6886498
16718N/A* Fri Jun 26 2009 - chris.wang@sun.com
16718N/A- Change owner jouby
16584N/A* Tue Jun 02 2009 - dave.lin@sun.com
16584N/A- fixed dependency issue(CR6843581).
16584N/A- removed the obsoleted option %option_with_gnu_iconv.
14361N/A* Mon Sep 16 2008 - chris.wang@sun.com
14361N/A- Revised copyright file
13956N/A* Wed Aug 21 2008 - chris.wang@sun.com
13956N/A- Move #6734879's fix to Solaris spec from base spec
13632N/A* Wed Jul 23 2008 - damien.carbery@sun.com
13651N/A- Check that installed dirs exist before removing or moving them.
13651N/A
13651N/A* Wed Jul 23 2008 - damien.carbery@sun.com
13632N/A- Add Build/Requires SUNWgnome-base-libs/-devel because gtk+ is required. Also
13632N/A add BuildRequires SUNWgnome-common-devel because pkg-config is used by
13632N/A configure.
13632N/A
13632N/A* Tue Jul 7 2008 - chris.wang@sun.com
13587N/A- Initial build.
13587N/A
19300N/A
19617N/A