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