seahorse-plugins.spec revision 18536
10139N/A#
10139N/A# spec file for package seahorse-plugins
10139N/A#
18175N/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#
17185N/A%define owner jefftsai
10139N/A#
17180N/A
18603N/A%define OSR gnome.org:0
17180N/A
12285N/AName: seahorse-plugins
10139N/ALicense: GPL v2, FDL v1.1
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 2.30.0
18543N/ARelease: 1
13494N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Seahorse-Plugins
10139N/ASource: http://download.gnome.org/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
18543N/A%if %build_l10n
10139N/ASource1: l10n-configure.sh
12285N/A%endif
12773N/A
12773N/AURL: http://www.gnome.org
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13368N/AAutoreqprov: on
18266N/APrereq: /sbin/ldconfig
10139N/A
10737N/A%define gtk2_version 2.4.0
11419N/A%define pkgconfig_version 0.15.0
17733N/A%define gtk_doc_version 1.1
10139N/A
13494N/ARequires: gtk2 >= %{gtk2_version}
11419N/ABuildRequires: gtk2-devel >= %{gtk2_version}
11895N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
13494N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
10737N/A
13494N/A%description
11420N/ASeahorse plugins integrates with nautilus, gedit and other places for
11044N/Aencryption/decryption operations.
13494N/A
11420N/A%prep
13368N/A
16081N/A%setup -q
15306N/A
16081N/A%build
13494N/A%ifos linux
16081N/Aif [ -x /usr/bin/getconf ]; then
16445N/A CPUS=`getconf _NPROCESSORS_ONLN`
16081N/Afi
14281N/A%else
14127N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16081N/A%endif
14281N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16445N/A CPUS=1
16081N/Afi
15756N/A
16139N/Alibtoolize --force
16139N/Aintltoolize -f -c --automake
16139N/A
16445N/A%if %build_l10n
16139N/Abash -x %SOURCE1 --enable-copyright
16339N/A%endif
16339N/A
16448N/Agnome-doc-prepare --force
16448N/Aaclocal -I /usr/share/aclocal -I m4
16622N/Aautoconf
16620N/Aautoheader
16959N/Aautomake
16966N/A
17275N/ACFLAGS="$RPM_OPT_FLAGS" \
17275N/A./configure --prefix=%{_prefix} \
17345N/A --sysconfdir=%{_sysconfdir} \
17345N/A --mandir=%{_mandir} \
18486N/A --libexecdir=%{_libexecdir} \
18486N/A --enable-pgp \
10737N/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* Wed Mar 31 2010 - jeff.cai@sun.com
10139N/A- Bump to 2.30.0
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
12285N/A- Bump to 2.29.3
12285N/A- Upstream patch -01-check-gpg2
12285N/A* Fri Oct 16 2009 - jeff.cai@sun.com
12285N/A- Initial Sun release
15811N/A