seahorse-plugins.spec revision 17882
17691N/A#
17691N/A# spec file for package seahorse-plugins
17691N/A#
17691N/A# Copyright 2009 Sun Microsystems, Inc.
17691N/A# This file and all modifications and additions to the pristine
17691N/A# package are under the same license as the package itself.
17691N/A#
17691N/A%define owner jefftsai
17691N/A#
17691N/A
17691N/A%define OSR gnome.org:0
17691N/A
17691N/AName: seahorse-plugins
17691N/ALicense: GPL v2, FDL v1.1
17691N/AGroup: System/GUI/GNOME
17882N/AVersion: 2.29.3
17691N/ARelease: 1
17691N/ADistribution: Java Desktop System
17691N/AVendor: Sun Microsystems, Inc.
17691N/ASummary: Seahorse-Plugins
17882N/ASource: http://download.gnome.org/sources/%{name}/2.29/%{name}-%{version}.tar.bz2
17691N/A%if %build_l10n
17691N/ASource1: l10n-configure.sh
17691N/A%endif
17691N/A
17691N/AURL: http://www.gnome.org
17691N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17691N/AAutoreqprov: on
17691N/APrereq: /sbin/ldconfig
17691N/A
17691N/A%define gtk2_version 2.4.0
17691N/A%define pkgconfig_version 0.15.0
17691N/A%define gtk_doc_version 1.1
17691N/A
17691N/ARequires: gtk2 >= %{gtk2_version}
17691N/ABuildRequires: gtk2-devel >= %{gtk2_version}
17691N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
17691N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
17691N/A
17691N/A%description
17691N/ASeahorse plugins integrates with nautilus, gedit and other places for
17691N/Aencryption/decryption operations.
17691N/A
17691N/A%prep
17691N/A
17691N/A%setup -q
17691N/A
17691N/A%build
17691N/A%ifos linux
17691N/Aif [ -x /usr/bin/getconf ]; then
17691N/A CPUS=`getconf _NPROCESSORS_ONLN`
17691N/Afi
17691N/A%else
17691N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
17691N/A%endif
17691N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
17691N/A CPUS=1
17691N/Afi
17691N/A
17691N/Alibtoolize --force
17691N/Aintltoolize -f -c --automake
17691N/A
17691N/A%if %build_l10n
17691N/Abash -x %SOURCE1 --enable-copyright
17691N/A%endif
17691N/A
17691N/Agnome-doc-prepare --force
17691N/Aaclocal -I /usr/share/aclocal -I m4
17691N/Aautoconf
17691N/Aautoheader
17691N/Aautomake
17691N/A
17691N/ACFLAGS="$RPM_OPT_FLAGS" \
17691N/A./configure --prefix=%{_prefix} \
17691N/A --sysconfdir=%{_sysconfdir} \
17691N/A --mandir=%{_mandir} \
17691N/A --libexecdir=%{_libexecdir} \
17691N/A --enable-pgp \
17691N/A --disable-update-mime-database
17691N/Amake -j $CPUS
17691N/A
17691N/A%install
17691N/Amake DESTDIR=$RPM_BUILD_ROOT install
17691N/A
17691N/A%check
17691N/Amake check
17691N/A
17691N/A%clean
17691N/Arm -rf $RPM_BUILD_ROOT
17691N/A
17691N/A%changelog
17882N/A* Mon Dec 07 2009 - jeff.cai@sun.com
17882N/A- Bump to 2.29.3
17882N/A- Upstream patch -01-check-gpg2
17691N/A* Fri Oct 16 2009 - jeff.cai@sun.com
17691N/A- Initial Sun release