SUNWgnome-character-map.spec revision 19140
10139N/A#
10139N/A# spec file for package SUNWgnome-character-map
10139N/A#
10139N/A# includes module(s): gucharmap
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
15894N/A# package are under the same license as the package itself.
17178N/A#
17178N/A%define owner niall
17178N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use gucharmap = gucharmap.spec
10317N/A
10139N/AName: SUNWgnome-character-map
10139N/AIPS_package_name: desktop/character-map/gucharmap
10139N/AMeta(info.classification): %{classification_prefix}:Applications/System Utilities
10139N/ASummary: GNOME character map utility
10139N/AVersion: %{gucharmap.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
12773N/ASUNW_BaseDir: %{_basedir}
12773N/ASUNW_Copyright: %{name}.copyright
12773N/ALicense: %{gucharmap.license}
16428N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16428N/A%include default-depend.inc
16428N/ARequires: SUNWgtk2
16428N/ARequires: SUNWgnome-libs
16428N/ABuildRequires: SUNWgtk2-devel
16291N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-doc-utils
10139N/ARequires: SUNWdesktop-cache
10139N/ARequires: %{name}-root
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/A
10139N/A%package devel
10139N/ASummary: %{summary} - development files
10139N/ASUNW_BaseDir: %{_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: SUNWgnome-character-map
10139N/ARequires: SUNWperl584usr
10139N/ARequires: SUNWlibms
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: desktop/character-map/gucharmap/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/ARequires: %{name}
10139N/A%endif
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gucharmap.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags -I%{_includedir}"
12773N/Aexport RPM_OPT_FLAGS="$CFLAGS"
12773N/Aexport LDFLAGS="%_ldflags"
12773N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
12773N/A%gucharmap.build -d %name-%version
12773N/A
10139N/A%install
10139N/A%gucharmap.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A# Remove scrollkeeper files.
10139N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
10139N/A
10139N/A%if %build_l10n
10139N/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][a-z].omf
10139N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
10139N/A%endif
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
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%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*char*map*
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%{_libdir}/libgucharmap*.so*
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/gucharmap.desktop
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/gucharmap/C
10139N/A%{_datadir}/omf/gucharmap/gucharmap-C.omf
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*char*map*
10139N/A%doc -d gucharmap-%{gucharmap.version} AUTHORS COPYING.UNICODE NEWS README
10139N/A%doc -d gucharmap-%{gucharmap.version} ChangeLog.README
10139N/A%doc(bzip2) -d gucharmap-%{gucharmap.version} COPYING ChangeLog
10139N/A%doc(bzip2) -d gucharmap-%{gucharmap.version} ChangeLog.pre-2-23
10139N/A%dir %attr(0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/gucharmap.schemas
10139N/A
10139N/A%files devel
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_libdir}
10139N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10139N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
16291N/A%defattr (-, root, bin)
16291N/A%dir %attr (0755, root, sys) %{_datadir}
15940N/A%dir %attr (0755, root, other) %{_datadir}/gnome
15940N/A%attr (-, root, other) %{_datadir}/locale
15940N/A%{_datadir}/gnome/help/*/[a-z]*
10139N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
10139N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
10139N/A%endif
10139N/A
%changelog
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Fri Sep 12 2008 - matt.keenn@sun.com
- Update copyright
* Tue Jun 17 2008 - damien.carbery@sun.com
- Update %files as the %{_datadir}/icons dir is no longer delivered - a stock
icon is used.
* Thu Jun 12 2008 - darren.kenny@sun.com
- Add missing root package dependency
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Wed Nov 05 2007 - damien.carbery@sun.com
- Add root package and post/preun scripts for gucharmap.schemas.
* Wed Oct 10 2007 - damien.carbery@sun.com
- Remove 'Requires: SUNWgnome-doc-utils' as it is only used during building;
change SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils to match change in
SUNWgnome-doc-utils.spec.
* Fri Sep 01 2006 - Matt.Keenan@sun.com
- New Manpage tarball
* Fri Aug 25 2006 - brian.cameron@sun.com
- Add new charmap.1 manpage.
* Sat Aug 12 2006 - laca@sun.com
- delete some unnecessary env variables
* Sat Aug 12 2006 - laca@sun.com
- change datadir/icons permissions back to root:other since it's a stable
interface and wasn't supposed to be changed
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Fri Jun 02 2006 - damien.carbery@sun.com
- Add Build/Requires SUNWgnome-doc-utils/-devel otherwise build fails.
* Wed May 10 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Mon Feb 20 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Tue Feb 14 2006 - damien.carbery@sun.com
- Change %files share for new tarball (gucharmap.png now under icons).
* Mon Jan 30 2006 - damien.carbery@sun.com
- Delete scrollkeeper files before packaging.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Tue Nov 29 2005 - laca@sun.com
- remove javahelp stuff
* Tue May 17 2005 - brian.cameron@sun.com
- Split out from SUNWgnome-utils.spec, since it is now a dependancy
on gnome-applets (in SUNWgnome-panel) and SUNWgnome-utils depends
on SUNWgnome-panel.