SUNWgnome-character-map.spec revision 19540
10139N/A#
10139N/A# spec file for package SUNWgnome-character-map
10139N/A#
12151N/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
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner niall
10139N/A#
15322N/A%include Solaris.inc
10139N/A
14030N/A%use gucharmap = gucharmap.spec
14030N/A
15503N/AName: SUNWgnome-character-map
12578N/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}
11256N/ASource: %{name}-manpages-0.1.tar.gz
10142N/ASUNW_BaseDir: %{_basedir}
12773N/ASUNW_Copyright: %{name}.copyright
12773N/ALicense: %{gucharmap.license}
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
11358N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
11358N/ARequires: SUNWgtk2
11358N/ARequires: SUNWgnome-libs
11358N/ABuildRequires: SUNWgtk2-devel
11358N/ABuildRequires: SUNWgnome-libs-devel
11358N/ABuildRequires: SUNWgnome-doc-utils
11358N/ARequires: SUNWdesktop-cache
14126N/ARequires: %{name}-root
11002N/A
15503N/A%package root
13025N/ASummary: %{summary} - / filesystem
13907N/ASUNW_BaseDir: /
13907N/A%include default-depend.inc
15460N/A%include gnome-consolidation.inc
15460N/A
15503N/A%package devel
15543N/ASummary: %{summary} - development files
15543N/ASUNW_BaseDir: %{_basedir}
15592N/A%include default-depend.inc
15591N/A%include gnome-consolidation.inc
15592N/ARequires: SUNWgnome-character-map
15591N/ARequires: SUNWperl584usr
15792N/ARequires: SUNWlibms
15792N/A
15968N/A%if %build_l10n
15968N/A%package l10n
15968N/AIPS_package_name: desktop/character-map/gucharmap/l10n
15968N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.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}"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
10139N/A%gucharmap.build -d %name-%version
10139N/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}
12274N/A%{_libdir}/libgucharmap*.so*
12274N/A%dir %attr (0755, root, sys) %{_datadir}
12274N/A%dir %attr (0755, root, other) %{_datadir}/applications
12274N/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}
10142N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*char*map*
10139N/A%doc -d gucharmap-%{gucharmap.version} AUTHORS COPYING.UNICODE NEWS README
11358N/A%doc -d gucharmap-%{gucharmap.version} ChangeLog.README
10139N/A%doc(bzip2) -d gucharmap-%{gucharmap.version} COPYING ChangeLog
11358N/A%doc(bzip2) -d gucharmap-%{gucharmap.version} ChangeLog.pre-2-23
11358N/A%dir %attr(0755, root, other) %{_datadir}/doc
11358N/A
11358N/A%files root
11002N/A%defattr (-, root, sys)
13025N/A%attr (0755, root, sys) %dir %{_sysconfdir}
12830N/A%{_sysconfdir}/gconf/schemas/gucharmap.schemas
13664N/A
15543N/A%files devel
15591N/A%defattr (-, root, bin)
15591N/A%dir %attr (0755, root, bin) %{_libdir}
15792N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
15968N/A%{_libdir}/pkgconfig/*
15968N/A%dir %attr (0755, root, bin) %{_includedir}
10139N/A%{_includedir}/*
10139N/A
10139N/A%if %build_l10n
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/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
10139N/A%changelog
10139N/A* Fri Apr 3 2009 - laca@sun.com
10139N/A- use desktop-cache instead of postrun
10139N/A* Fri Sep 12 2008 - matt.keenn@sun.com
10139N/A- Update copyright
10139N/A* Tue Jun 17 2008 - damien.carbery@sun.com
10139N/A- Update %files as the %{_datadir}/icons dir is no longer delivered - a stock
10139N/A icon is used.
10139N/A* Thu Jun 12 2008 - darren.kenny@sun.com
10139N/A- Add missing root package dependency
10617N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
10139N/A* Wed Nov 05 2007 - damien.carbery@sun.com
10617N/A- Add root package and post/preun scripts for gucharmap.schemas.
10139N/A* Wed Oct 10 2007 - damien.carbery@sun.com
10139N/A- Remove 'Requires: SUNWgnome-doc-utils' as it is only used during building;
10139N/A change SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils to match change in
10139N/A SUNWgnome-doc-utils.spec.
10139N/A* Fri Sep 01 2006 - Matt.Keenan@sun.com
12773N/A- New Manpage tarball
12773N/A* Fri Aug 25 2006 - brian.cameron@sun.com
12773N/A- Add new charmap.1 manpage.
12773N/A* Sat Aug 12 2006 - laca@sun.com
12773N/A- delete some unnecessary env variables
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- change datadir/icons permissions back to root:other since it's a stable
10139N/A interface and wasn't supposed to be changed
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Fri Jun 02 2006 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-doc-utils/-devel otherwise build fails.
11189N/A* Wed May 10 2006 - laca@sun.com
11155N/A- merge -share pkg(s) into the base pkg(s)
12830N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10617N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Tue Feb 14 2006 - damien.carbery@sun.com
10139N/A- Change %files share for new tarball (gucharmap.png now under icons).
10139N/A* Mon Jan 30 2006 - damien.carbery@sun.com
10139N/A- Delete scrollkeeper files before packaging.
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@sun.com
10139N/A- remove javahelp stuff
10139N/A* Tue May 17 2005 - brian.cameron@sun.com
10139N/A- Split out from SUNWgnome-utils.spec, since it is now a dependancy
12893N/A on gnome-applets (in SUNWgnome-panel) and SUNWgnome-utils depends
10139N/A on SUNWgnome-panel.
10139N/A
11358N/A
15389N/A
15389N/A