SUNWtgnome-tsoljdsselmgr.spec
author fujiwara
Tue, 25 Mar 2008 08:14:04 +0000
changeset 11906 26253a7626d8
parent 11864 d37da9c99946
child 12005 8a3d3cb5c2bd
permissions -rw-r--r--
2008-03-25 Takao Fujiwara <[email protected]> * SUNWtgnome-tsol-libs.spec: Updated to bump tarball with po files. * SUNWtgnome-tsoljdsdevmgr.spec: Updated to bump tarball with po files. * SUNWtgnome-tsoljdsselmgr.spec: Updated to bump tarball with po files. * SUNWtgnome-tsoljdsselmgr.spec: Updated to bump tarball with po files.

#
# spec file for package SUNWtgnome-tsoljdsselmgr
#
# 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 tsoljdsselmgr_version 0.6.1

%include Solaris.inc

Name:                    SUNWtgnome-tsoljdsselmgr
Summary:                 GNOME Trusted Extensions Selection Manager
Version:                 %{default_pkg_version}
Source:			 http://dlc.sun.com/osol/jds/downloads/extras/tjds/tsoljdsselmgr-%{tsoljdsselmgr_version}.tar.bz2
SUNW_BaseDir:            %{_basedir}
BuildRoot:               %{_tmppath}/%{name}-%{version}-build

%if %build_tjds

%include default-depend.inc
BuildRequires: SUNWxwts
BuildRequires: SUNWtsu
BuildRequires: SUNWtgnome-tsol-libs-devel
BuildRequires: SUNWgnome-component-devel
BuildRequires: SUNWgnome-config-devel
BuildRequires: SUNWgnome-libs-devel
BuildRequires: SUNWgnome-vfs-devel
Requires: SUNWxwts
Requires: SUNWtsu
Requires: SUNWtgnome-tsol-libs
Requires: SUNWgnome-component
Requires: SUNWgnome-config
Requires: SUNWgnome-libs
Requires: SUNWgnome-vfs

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

%prep
%setup -q -n tsoljdsselmgr-%{tsoljdsselmgr_version}

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

libtoolize -f
intltoolize --copy --force --automake
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

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%endif

%changelog
* Tue Mar 25 2008 - [email protected]
- Remove upstreamed scripts.

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

* Wed Oct 17 2007 - [email protected]
- remove damiens patch.  Fix is now in source

* Wed Jul 25 2007 - [email protected]
- Add patch, 01-gtk-tooltips, to build with latest gtk+.

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

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

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

* Tue Jan 31 2006 - <[email protected]>
- created