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