SUNWgnome-character-map.spec revision 20857
10139N/A#
10139N/A# spec file for package SUNWgnome-character-map
10139N/A#
18540N/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
17185N/A# package are under the same license as the package itself.
10139N/A#
16880N/A%define owner niall
18603N/A#
17178N/A%include Solaris.inc
10139N/A
16880N/A%use gucharmap = gucharmap.spec
10139N/A
18964N/AName: SUNWgnome-character-map
12578N/AIPS_package_name: desktop/character-map/gucharmap
10139N/AMeta(info.classification): %{classification_prefix}:Applications/System Utilities
18615N/ASummary: GNOME character map utility
10139N/AVersion: %{gucharmap.version}
18525N/ASource: %{name}-manpages-0.1.tar.gz
18151N/ASUNW_BaseDir: %{_basedir}
18151N/ASUNW_Copyright: %{name}.copyright
18977N/ALicense: %{gucharmap.license}
18970N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17797N/A%include default-depend.inc
17797N/A%include desktop-incorporation.inc
17797N/ARequires: SUNWgtk2
16880N/ARequires: SUNWgnome-libs
17733N/ABuildRequires: SUNWgtk2-devel
17797N/ABuildRequires: SUNWgnome-libs-devel
17753N/ABuildRequires: SUNWgnome-doc-utils
16880N/ARequires: SUNWdesktop-cache
17089N/ARequires: %{name}-root
17797N/A
18159N/A%package root
18159N/ASummary: %{summary} - / filesystem
16880N/ASUNW_BaseDir: /
16880N/A%include default-depend.inc
16880N/A%include desktop-incorporation.inc
17733N/A
16880N/A%package devel
17089N/ASummary: %{summary} - development files
17073N/ASUNW_BaseDir: %{_basedir}
17089N/A%include default-depend.inc
17733N/A%include desktop-incorporation.inc
17074N/ARequires: SUNWgnome-character-map
17089N/ABuildRequires: runtime/perl-512
18239N/ARequires: SUNWlibms
18683N/A
18507N/A%package l10n
18683N/ASummary: %{summary} - l10n files
17535N/ARequires: %{name}
18683N/A
17733N/A%prep
17733N/Arm -rf %name-%version
18559N/Amkdir %name-%version
18940N/A%gucharmap.prep -d %name-%version
17733N/Acd %{_builddir}/%name-%version
17672N/Agzcat %SOURCE0 | tar xf -
18940N/A
17858N/A%build
18940N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
17884N/Aexport CFLAGS="%optflags -I%{_includedir}"
17884N/Aexport RPM_OPT_FLAGS="$CFLAGS"
18940N/Aexport LDFLAGS="%_ldflags"
18212N/Aexport ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
18940N/A%gucharmap.build -d %name-%version
18287N/A
18940N/A%install
18640N/A%gucharmap.install -d %name-%version
18940N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
18692N/Acd %{_builddir}/%name-%version/sun-manpages
18940N/Amake install DESTDIR=$RPM_BUILD_ROOT
18738N/A
18738N/A# Remove scrollkeeper files.
18738N/Arm -rf $RPM_BUILD_ROOT%{_localstatedir}
18940N/A
18763N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
18940N/A
18752N/A%clean
18940N/Arm -rf $RPM_BUILD_ROOT
18940N/A
18940N/A%post
18944N/A%restart_fmri desktop-mime-cache gconf-cache
18944N/A
18945N/A%postun
18945N/A%restart_fmri desktop-mime-cache
18992N/A
18992N/A%files
19019N/A%defattr (-, root, bin)
19019N/A%dir %attr (0755, root, bin) %{_bindir}
19019N/A%{_bindir}/*char*map*
19019N/A%dir %attr (0755, root, bin) %{_libdir}
19019N/A%{_libdir}/libgucharmap*.so*
19019N/A%dir %attr (0755, root, sys) %{_datadir}
19019N/A%dir %attr (0755, root, other) %{_datadir}/applications
19019N/A%{_datadir}/applications/gucharmap.desktop
19834N/A%dir %attr (0755, root, other) %{_datadir}/gnome
19834N/A%{_datadir}/gnome/help/gucharmap/C
19838N/A%{_datadir}/omf/gucharmap/gucharmap-C.omf
19834N/A%dir %attr(0755, root, bin) %{_mandir}
20152N/A%dir %attr(0755, root, bin) %{_mandir}/*
20152N/A%{_mandir}/*/*char*map*
16880N/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
12274N/A
12274N/A%files root
12274N/A%defattr (-, root, sys)
12274N/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)
11002N/A%dir %attr (0755, root, bin) %{_libdir}
13025N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
17693N/A%{_libdir}/pkgconfig/*
17693N/A%dir %attr (0755, root, bin) %{_includedir}
17693N/A%{_includedir}/*
17693N/A
17693N/A%files l10n
17693N/A%defattr (-, root, bin)
17693N/A%dir %attr (0755, root, sys) %{_datadir}
17725N/A%dir %attr (0755, root, other) %{_datadir}/gnome
17693N/A%attr (-, root, other) %{_datadir}/locale
17693N/A%{_datadir}/gnome/help/*/[a-z]*
17693N/A%{_datadir}/omf/*/*-[a-z][a-z].omf
17858N/A%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf
17858N/A
18940N/A%changelog
18940N/A* Fri Apr 3 2009 - laca@sun.com
18044N/A- use desktop-cache instead of postrun
18044N/A* Fri Sep 12 2008 - matt.keenn@sun.com
18044N/A- Update copyright
18738N/A* Tue Jun 17 2008 - damien.carbery@sun.com
18944N/A- Update %files as the %{_datadir}/icons dir is no longer delivered - a stock
18945N/A icon is used.
18992N/A* Thu Jun 12 2008 - darren.kenny@sun.com
19019N/A- Add missing root package dependency
19019N/A* Thu Jan 3 2008 - laca@sun.com
19019N/A- use gconf-install.script instead of an inline script
19019N/A* Wed Nov 05 2007 - damien.carbery@sun.com
19834N/A- Add root package and post/preun scripts for gucharmap.schemas.
19834N/A* Wed Oct 10 2007 - damien.carbery@sun.com
20152N/A- Remove 'Requires: SUNWgnome-doc-utils' as it is only used during building;
18151N/A change SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils to match change in
18151N/A SUNWgnome-doc-utils.spec.
18151N/A* Fri Sep 01 2006 - Matt.Keenan@sun.com
18151N/A- New Manpage tarball
18970N/A* Fri Aug 25 2006 - brian.cameron@sun.com
10139N/A- Add new charmap.1 manpage.
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/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
16880N/A* Fri Jun 02 2006 - damien.carbery@sun.com
16880N/A- Add Build/Requires SUNWgnome-doc-utils/-devel otherwise build fails.
16880N/A* Wed May 10 2006 - laca@sun.com
16880N/A- merge -share pkg(s) into the base pkg(s)
18964N/A* Mon Feb 20 2006 - damien.carbery@sun.com
16880N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Tue Feb 14 2006 - damien.carbery@sun.com
16880N/A- Change %files share for new tarball (gucharmap.png now under icons).
16880N/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
16880N/A* Tue Nov 29 2005 - laca@sun.com
16880N/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
16880N/A on gnome-applets (in SUNWgnome-panel) and SUNWgnome-utils depends
11155N/A on SUNWgnome-panel.
16880N/A
17249N/A
18102N/A
18752N/A