2009-04-03 Laszlo (Laca) Peter <
[email protected]>
* SUNWcheese.spec, SUNWdesktop-search.spec, SUNWdrivel.spec,
SUNWevolution-exchange.spec, SUNWevolution-webcal.spec,
SUNWevolution.spec, SUNWfirefox.spec, SUNWglibmm.spec,
SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec,
SUNWgnome-a11y-libs.spec, SUNWgnome-a11y-mousetweaks.spec,
SUNWgnome-a11y-poke.spec, SUNWgnome-applets.spec,
SUNWgnome-archive-mgr.spec, SUNWgnome-base-libs.spec,
SUNWgnome-calculator.spec, SUNWgnome-camera.spec,
SUNWgnome-cd-burner.spec, SUNWgnome-cd.spec,
SUNWgnome-character-map.spec, SUNWgnome-commander.spec,
SUNWgnome-config-editor.spec, SUNWgnome-crash-report.spec,
SUNWgnome-desklets-extra.spec, SUNWgnome-desklets.spec,
SUNWgnome-desktop-prefs.spec, SUNWgnome-devel-docs.spec,
SUNWgnome-devhelp.spec, SUNWgnome-dialog.spec,
SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec,
SUNWgnome-file-mgr.spec, SUNWgnome-games.spec,
SUNWgnome-gui-test.spec, SUNWgnome-help-viewer.spec,
SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec,
SUNWgnome-img-editor.spec, SUNWgnome-img-organizer.spec,
SUNWgnome-img-viewer.spec, SUNWgnome-libs.spec,
SUNWgnome-media-apps.spec, SUNWgnome-media-player.spec,
SUNWgnome-media.spec, SUNWgnome-meeting.spec,
SUNWgnome-menu-editor.spec, SUNWgnome-nettool.spec,
SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec,
SUNWgnome-pilot.spec, SUNWgnome-power-manager.spec,
SUNWgnome-print.spec, SUNWgnome-remote-desktop.spec,
SUNWgnome-session.spec, SUNWgnome-system-monitor.spec,
SUNWgnome-system-tools.spec, SUNWgnome-terminal.spec,
SUNWgnome-text-editor.spec, SUNWgnome-themes.spec,
SUNWgnome-ui-designer.spec, SUNWgnome-user-docs.spec,
SUNWgnome-utils.spec, SUNWgnome-vfs.spec, SUNWgnome-wm.spec,
SUNWhamster.spec, SUNWlibcanberra.spec, SUNWlibgsf.spec,
SUNWlibrsvg.spec, SUNWnwam-manager.spec, SUNWprint-monitor.spec,
SUNWseahorse.spec, SUNWthunderbird.spec, SUNWvinagre.spec,
SUNWvirt-manager.spec: use desktop-cache instead of postrun;
replace %post and %postun scripts with calls to restart_fmri,
as script that pings an smf service.
* include/prod.inc: define %restart_fmri
#
# spec file for package SUNWgnome-ui-designer
#
# includes module(s): glade
#
# Copyright 2009 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: hawklu
#
%include Solaris.inc
%use glade = glade.spec
Name: SUNWgnome-ui-designer
Summary: GNOME UI designer
Version: %{default_pkg_version}
Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_Copyright:%{name}.copyright
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWgnome-libs
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-component
Requires: SUNWlibms
Requires: SUNWlibpopt
Requires: SUNWlxml
Requires: SUNWdesktop-cache
BuildRequires: SUNWgnome-component-devel
BuildRequires: SUNWlibpopt-devel
BuildRequires: SUNWgnome-libs-devel
BuildRequires: SUNWgnome-base-libs-devel
%if %build_l10n
%package l10n
Summary: %{summary} - l10n files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %{name}
%endif
%package devel
Summary: %{summary} - development files
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
Requires: %{name}
%prep
rm -rf %name-%version
mkdir %name-%version
%glade.prep -d %name-%version
cd %{_builddir}/%name-%version
gzcat %SOURCE0 | tar xf -
%build
export PKG_CONFIG_PATH=%{_pkg_config_path}
export CFLAGS="%optflags -I%{_includedir}"
export RPM_OPT_FLAGS="$CFLAGS"
export LDFLAGS="%_ldflags"
%glade.build -d %name-%version
%install
%glade.install -d %name-%version
rm -rf $RPM_BUILD_ROOT%{_mandir}
cd %{_builddir}/%name-%version/sun-manpages
make install DESTDIR=$RPM_BUILD_ROOT
%if %build_l10n
%else
# REMOVE l10n FILES
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
# Put these back in when localized help is delivered from l10n
# rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/glade-2/[a-z]
# rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/gaim/glade-2-[a-z]*.omf
%endif
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):unsupported" $RPM_BUILD_ROOT}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%restart_fmri desktop-mime-cache
%postun
%restart_fmri desktop-mime-cache
%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_libdir}
%{_libdir}/*.so*
%{_libdir}/glade*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/applications
%{_datadir}/applications/*
%{_datadir}/glade*
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/*
%{_datadir}/omf
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/*
%dir %attr(0755, root, bin) %{_mandir}
%dir %attr(0755, root, bin) %{_mandir}/*
%{_mandir}/*/*
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%endif
%files devel
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_includedir}
%{_includedir}/*
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/gtk-doc
%changelog
* Fri Apr 3 2009 - [email protected]
- use desktop-cache instead of postrun
* Tue Jan 29 2008 - [email protected]
- Remove without_gtk_doc validation. gtk-doc
should always be packaged.
* Fri Oct 5 2007 - [email protected]
- delete unneeded env vars
* Thu May 03 2007 - [email protected]
- Add %if code so that %{_datadir}/gtk-doc is only packaged when requested.
* Thu Mar 22 2007 - [email protected]
- Move %{_datadir}/gtk-doc to -devel package.
* Tue Mar 13 2007 - [email protected]
- Add %{_datadir}/gtk-doc to %files for new tarball.
* Wed Feb 28 2007 - [email protected]
- Add package -devel and change files section since upgrade to glade3.
* Mon Sep 04 2006 - [email protected]
- New Manpage tarball
* Fri Jul 14 2006 - [email protected]
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - [email protected]
- update postrun scripts
* Sun Jun 11 2006 - [email protected]
- change group from other to bin/sys
* Wed May 10 2006 - [email protected]
- merge -share pkg(s) into the base pkg(s)
* Mon Feb 20 2006 - [email protected]
- Update Build/Requires after running check-deps.pl script.
* Sat Dec 3 2005 - [email protected]
- add %post script that runs update-desktop-database
* Tue Nov 29 2005 - [email protected]
- remove javahelp stuff
* Mon Dec 13 2004 - [email protected]
- Move to /usr/bin to implement ARC decision.
* Fri Nov 12 2004 - [email protected]
- move to /usr/demo/jds
* Wed Oct 06 2004 - [email protected]
- Add localized help files to l10n section
* Sat Oct 02 2004 - [email protected]
- added %pkgbuild_postprocess
* Mon Aug 23 2004 - [email protected]
- s/SUNWpl5u/SUNWperl584usr/
* Wed Aug 18 2004 - [email protected]
- Change manpage perms for Solaris integration.
* Sat Jun 26 2004 [email protected]
- Changed install location to /usr/...
* Wed Jun 2 2004 - [email protected]
- Added %{_datadir}/locale to install l10n messages
* Fri Mar 26 2004 - [email protected]
- Created,