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