libgnome-keyring.spec revision 18685
17090N/A#
17090N/A# spec file for package gnome-keyring
17090N/A#
17090N/A# Copyright 2009 Sun Microsystems, Inc.
17090N/A# This file and all modifications and additions to the pristine
17090N/A# package are under the same license as the package itself.
17090N/A#
17090N/A%define owner jefftsai
17090N/A#
17090N/A
17090N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17090N/A
17090N/AName: libgnome-keyring
17090N/ALicense: LGPL v2
17090N/AGroup: System/GUI/GNOME
17090N/AVersion: 2.30.1
17090N/ARelease: 4
17090N/ADistribution: Java Desktop System
17090N/AVendor: Gnome Community
17090N/AURL: http://www.gnome.org
17090N/ASummary: GNOME Keyring
17090N/ASource: http://download.gnome.org/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
17090N/A%if %build_l10n
17090N/ASource1: l10n-configure.sh
17090N/A%endif
17090N/A# date:2010-01-26 owner:jefftsai type:branding
17090N/APatch1: libgnome-keyring-01-disable-eggdbus.diff
17090N/A
17090N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17090N/AAutoreqprov: on
17090N/APrereq: /sbin/ldconfig
17090N/A
17090N/A%define gtk2_version 2.4.0
17090N/A%define pkgconfig_version 0.15.0
17090N/A%define gtk_doc_version 1.1
17090N/A
17090N/ARequires: gtk2 >= %{gtk2_version}
17090N/ABuildRequires: gtk2-devel >= %{gtk2_version}
17090N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
17090N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
17090N/A
17090N/A%description
17090N/A
17090N/AThe library libgnome-keyring is used by applications to integrate with
17090N/Athe gnome keyring system.
17090N/A
17090N/A%package devel
17090N/ASummary: GNOME Keyring Library
17090N/AGroup: Development/Libraries/GNOME
17090N/ARequires: %{name} = %{version}
17090N/ARequires: gtk2-devel >= %{gtk2_version}
17090N/A
17090N/A%description devel
17090N/AThe library libgnome-keyring is used by applications to integrate with
17090N/Athe gnome keyring system.
17090N/A
17090N/A%prep
17090N/A%setup -q
17090N/A%patch1 -p1
17090N/A
17090N/A%build
17090N/A%ifos linux
17090N/Aif [ -x /usr/bin/getconf ]; then
17090N/A CPUS=`getconf _NPROCESSORS_ONLN`
17090N/Afi
17090N/A%else
17090N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17090N/A%endif
17090N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
17090N/A CPUS=1
17090N/Afi
17090N/A
17090N/Alibtoolize --force
17090N/Aintltoolize -f -c --automake
17090N/A
17090N/A%if %build_l10n
17090N/Abash -x %SOURCE1 --enable-copyright
17090N/A%endif
17090N/A
17090N/Aaclocal $ACLOCAL_FLAGS -I .
17090N/Aautoconf
17090N/Aautoheader
17090N/Aautomake -a -c -f
17090N/A
17090N/ACFLAGS="$RPM_OPT_FLAGS -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
17090N/A./configure --prefix=%{_prefix} \
17090N/A --sysconfdir=%{_sysconfdir} \
17090N/A --mandir=%{_mandir} \
17090N/A --disable-pam \
17090N/A --libexecdir=%{_libexecdir}
17090N/A
17090N/A# FIXME: hack: stop the build from looping
17090N/Atouch po/stamp-it
17090N/A
17090N/Amake -j $CPUS
17090N/A
17090N/A%install
17090N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
17090N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
17090N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
17090N/Afind $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
17090N/Afind $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
17090N/A
17090N/A#%check
17090N/Amake check
17090N/A
17090N/A%clean
17090N/Arm -rf $RPM_BUILD_ROOT
17090N/A
17090N/A%post
17090N/A/sbin/ldconfig
17090N/A
17090N/A%postun
17090N/A/sbin/ldconfig
17090N/A
17090N/A%files
17090N/A%{_datadir}/locale/*/LC_MESSAGES/*
17090N/A%{_bindir}/*
17090N/A%{_libdir}/lib*.so.*
17090N/A%{_libexecdir}/gnome-keyring-ask
17090N/A
17090N/A%files devel
17090N/A%{_libdir}/pkgconfig/*.pc
17090N/A%{_includedir}/gnome-keyring-1/*
17090N/A%{_libdir}/lib*.so
17090N/A
17090N/A%changelog
17090N/A* Mon Apr 26 2010 - christian.kelly@oracle.com
17090N/A- Bump to 2.30.1.
17090N/A* Jan 26 2010 - jeff.cai@sun.com
17090N/A- Split libgnome-keyring from SUNWgnome-keyring