SUNWtgnome-tsoljdslabel.spec
author chrisk
Mon, 31 Aug 2009 14:06:01 +0000
changeset 16431 d7743d81b302
parent 16275 38800042c604
child 16434 f21f22550fe9
permissions -rw-r--r--
2009-08-31 Christian Kelly <[email protected]> * SUNWpostrun.spec, SUNWtgnome-tsoljdsdevmgr.spec, SUNWperl-xml-parser.spec, SUNWtgnome-tsol-libs.spec, SUNWlibsexy.spec, SUNWtgnome-tsoljdslabel.spec, SUNWpython24-ctypes.spec, SUNWopensp.spec, base-specs/totem-pl-parser.spec, base-specs/ospm.spec, base-specs/libtheora.spec, base-specs/libpng12.spec, base-specs/ncurses.spec, base-specs/vinagre.spec, base-specs/pangomm.spec, base-specs/pango.spec, base-specs/libmusicbrainz.spec, base-specs/sigcpp.spec, base-specs/pilot-link.spec, base-specs/virt-manager.spec, base-specs/libvorbis.spec, base-specs/libunique.spec, base-specs/libogg.spec, base-specs/libvisual-plugins.spec, base-specs/libpng10.spec, base-specs/libsdl.spec, base-specs/pysqlite.spec, base-specs/libvisual.spec, base-specs/libsoup.spec, base-specs/seahorse.spec, base-specs/python-setuptools.spec, base-specs/nwam-manager.spec, base-specs/libtasn1.spec, SUNWtgnome-tstripe.spec, SUNWtgnome-tsoljdsselmgr.spec, SUNWspeex.spec, SUNWopenjade.spec, SUNWperl-authen-pam.spec: Add OSR info.

#
# spec file for package SUNWtgnome-tsoljdslabel
#
# includes module(s): tsoljdslabel
#
# Copyright (c) 2005 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: stephen

%define OSR 6160:0

# NOTE: If the version is bumped the new tarball must be uploaded to the
#       Sun Download Center. Contact GNOME RE for assistance.
%define tsoljdslabel_version 0.6.5

%include Solaris.inc

Name:                    SUNWtgnome-tsoljdslabel
Summary:                 GNOME Trusted Extensions Session Label Selector
Version:                 %{default_pkg_version}
Source:			 http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljdslabel-%{tsoljdslabel_version}.tar.bz2
%if %build_l10n
Source1:                 l10n-configure.sh
%endif
SUNW_BaseDir:            %{_basedir}
SUNW_Copyright:          %{name}.copyright
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%include default-depend.inc
BuildRequires: SUNWlibgnomecanvas-devel
BuildRequires: SUNWtgnome-tsol-libs-devel
BuildRequires: SUNWgnome-component-devel
BuildRequires: SUNWgnome-config-devel
BuildRequires: SUNWgnome-libs-devel
BuildRequires: SUNWgnome-vfs-devel
Requires: SUNWmfrun
Requires: SUNWlibgnomecanvas
Requires: SUNWtgnome-tsol-libs
Requires: SUNWgnome-component
Requires: SUNWgnome-config
Requires: SUNWgnome-libs
Requires: SUNWgnome-vfs
Requires: SUNWxorg-clientlibs

%if %build_l10n
%package l10n
Summary:                 %{summary} - l10n files
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
Requires:                %{name}
%endif

%prep
%setup -q -n tsoljdslabel-%{tsoljdslabel_version}

%build
export ACLOCAL_FLAGS="-I /usr/share/aclocal"

libtoolize -f
intltoolize --copy --force --automake

%if %build_l10n
bash -x %SOURCE1 --enable-copyright
%endif

aclocal $ACLOCAL_FLAGS
autoconf
autoheader
automake -acf

./configure --with-gnome-prefix=%{_prefix} \
            --prefix=%{_prefix} \
	    --sysconfdir=%{_sysconfdir} \
	    --mandir=%{_mandir}

%install
make install DESTDIR=$RPM_BUILD_ROOT
LANG_LIST='
ar ar_EG.UTF-8
cs_CZ.ISO8859-2
da_DK.ISO8859-15
de.UTF-8 de
el_GR.ISO8859-7
en_GB.ISO8859-15 en_IE.ISO8859-15 en_US.ISO8859-15 en_US.UTF-8
es.UTF-8 es
et_EE.ISO8859-15
fi_FI.ISO8859-15
fr.UTF-8 fr
he he_IL.UTF-8
hi_IN.UTF-8
hr_HR.ISO8859-2
hu hu_HU.ISO8859-2
it.UTF-8 it
ja ja_JP.PCK ja_JP.UTF-8 ja_JP.eucJP
ko.UTF-8 ko
nl_BE.ISO8859-15 nl_NL.ISO8859-15
pl_PL.ISO8859-2 pl_PL.UTF-8
pt_BR.UTF-8 pt_BR pt_PT.ISO8859-15
ru_RU.ISO8859-5 ru_RU.UTF-8
sv.UTF-8 sv 
th_TH.ISO8859-11 th_TH.TIS620 th_TH.UTF-8 th_TH
tr_TR.ISO8859-9
zh.GBK zh.UTF-8 zh zh_HK.BIG5HK zh_TW.BIG5 zh_TW.UTF-8 zh_TW
'

%if %build_l10n
%else
# REMOVE l10n FILES
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, other)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/tsoljdslabel
%{_bindir}/tsoljdslabel-ui
%dir %attr(0755, root, sys) %{_datadir}
%dir %attr(0755, root, bin) %{_datadir}/xsessions
%dir %attr(0755, root, bin) %{_datadir}/xsessions/multilabel
%{_datadir}/xsessions/multilabel/tgnome.desktop
%dir %attr (0755, root, bin) %{_prefix}/dt
%dir %attr (0755, root, bin) %{_prefix}/dt/config
%{_prefix}/dt/config/Xsession.tjds
%{_prefix}/dt/config/Xsession2.tjds
%{_prefix}/dt/config/Xinitrc.tjds

%if %build_l10n
%files l10n
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%{_datadir}/locale
%endif

%changelog
* Fri Feb 13 2009 - [email protected]
- Add patch xinitrc-migration.diff. Now gnome-session is invoked directly and
  enviroment values are loaded in /etc/X11/xinit/xinitrc.d instead of /usr/dt.
- Remove --with-dtstart option.
* Fri Sep 19 2008 - [email protected]
- Updated 01-dbus-launch.diff to make it more robust fix bugster:6750408.
* Fri Aug 29 2008 - [email protected]
- Remove l10n files if --with-l10n isn't specified.
- Don't define %{_datadir}/locale if --with-l10n isn't specified.
* Fri Aug 22 2008 - [email protected]
- Uprev version, remove upstream patches, add --with-dtstart for opensolairs

* Mon Jul 21 2008 - [email protected]
- Not start ssh-agent since gnome-keyring provides this feature.

* Thu Jul 10 2008 - [email protected]
- Add 01-gtk-disable-deprecated to get module to build with new gtk+ tarball.

* Fri May 16 2008 - [email protected]
- Uprev version, remove upstream patch, remove conditional build, remove tcde

* Thu May 08 2008 - [email protected]
- Add SUNWtgnome-tsoljdslabel-01-po.diff for cs.po
  Contributed l10n from Hana Zalska <[email protected]>

* Tue Mar 25 2008 - [email protected]
- remove upstreamed scripts.

* Fri Mar 14 2008 - [email protected]
- add new GDM files update version and point a tarball on dlc.sun.com

* Thu Sep 19 2007 - [email protected]
- dont install dtlogin and gdm configuration

* Mon Nov 06 2006 - [email protected]
- removed tsoljdslabel-helper binary

* Fri Sep 15 2006 - [email protected]
- Add *-10n package.

* Sun Jul 30 2006 - [email protected]
- Always use nightly tarballs as source.

* Wed Jul 19 2006 - [email protected]
- Update Build/BuildRequires after check-deps.pl run.

* Thu Jul 13 2006 - [email protected]
- Add %{_datadir}/locale to %files, a byproduct of intltool up-rev.

* Tue Jul 11 2006 - [email protected]
- Add autogen.sh commands to %prep to permit building from 'cvs co' tarballs.

* Fri Jun 30 2006 - [email protected]
- Changed version to default for vermillion port

* Mon Jun 26 2006 - [email protected]
- Added locale dirs for /usr/dt/config/*/Xresources.d/Xtsolresources.jds
  Fixes 6439171

* Wed May 24 2006 - [email protected]
- remove man page from files and shorten summary

* Wed Mar 22 2006 - [email protected]
- Fix dir permissions after last commit.

* Sat Mar 18 2006 - [email protected]
- Fix dir permissions after last commit.

* Thu Mar 16 2006 - [email protected]
- Changed installation location for startup up config scripts from /etc to /usr
  as requested by ARC as a TCR.

* Wed Mar  8 2006 - [email protected]
- Add %dir %attr for %{_datadir} as %defattr is wrong for this dir.

* Tue Nov 22 2005 - <[email protected]>
- added root package and moved dtlogin integration to /etc/dt

* Tue Oct 04 2005 - <[email protected]>
- added dtlogin session configuration

* Thu Aug 25 2005 - <[email protected]>
- created