SUNWtgnome-tsoljdsdevmgr.spec
author dkenny
Mon, 14 Jul 2008 14:46:05 +0000
branchgnome-2-22
changeset 12467 6830bb7a5bbd
parent 12316 898e6ae21686
child 12795 827898d598ee
permissions -rw-r--r--
2008-07-14 Darren Kenny <[email protected]> * base-specs/evince.spec, patches/evince-03-static-enum.diff: Add patch to fix crash when using presentation mode (bug#6724495), and logged upstream bugzilla bug#542924.

#
# spec file for package SUNWtgnomedevmgr
#
# Copyright (c) 2006 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner:johnf

%include Solaris.inc

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

Name:                    SUNWtgnome-tsoljdsdevmgr
Summary:                 GNOME Trusted Device Manager
Version:                 %{default_pkg_version}
Source:			 http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljdsdevmgr-%{devmgr_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
Requires: SUNWtsu
Requires: SUNWgnome-base-libs
Requires: SUNWgnome-panel
Requires: SUNWtgnome-tsol-libs
BuildRequires: SUNWtsu
BuildRequires: SUNWgnome-base-libs-devel
BuildRequires: SUNWgnome-panel-devel
BuildRequires: SUNWtgnome-tsol-libs-devel

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

%prep
%setup -q -n tsoljdsdevmgr-%{devmgr_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

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

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr(0755, root, other) %{_datadir}/locale
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/tsoljdsdevmgr

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

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

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

* Tue Mar 25 2008 - [email protected]
- Remove upstreamed scripts.
- Remove upstreamed tsoljdsdevmgr-01-pwd-fns.diff

* Fri Mar 14 2008 - [email protected]
- update version. point source at dlc.sun.com

* Wed Sep 19 2007 - [email protected]
- Remove getpwuid_r patch, tsoljdsdevmgr-01-pwd-fns.diff, as they it is not
  needed from snv_73 on.

* Wed Aug 19 2007 - [email protected]
- Only apply the patch to sparc as x86 builds use the 4 param versions.

* Tue Aug 18 2007 - [email protected]
- Add patch tsoljdsdevmgr-01-pwd-fns.diff to use 5 param versions of some 
  password functions.

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

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

* 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.

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

* Wed Mar 29 2006 - [email protected]
- Add Build/Requires SUNWtgnome-tsol-libs/-devel.
- Add Build/Requires SUNWtsu.

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

* Tue Mar  7 2006 - [email protected]
- Add Build/Requires SUNWgnome-panel/-devel, for libwnck.

* Sat Feb 25 2006 - <[email protected]>
- created