seahorse.spec revision 14185
16880N/A#
16880N/A# spec file for package seahorse
16880N/A#
18540N/A# Copyright (c) 2008 Sun Microsystems, Inc.
16880N/A# This file and all modifications and additions to the pristine
16880N/A# package are under the same license as the package itself.
16880N/A#
17185N/A# Owner: jefftsai
17993N/A#
16880N/AName: seahorse
18105N/ALicense: GPL
16880N/AGroup: System/GUI/GNOME
16880N/AVersion: 2.23.92
16880N/ARelease: 1
16880N/ADistribution: Java Desktop System
17398N/AVendor: Sun Microsystems, Inc.
16880N/ASummary: Seahorse
16880N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.23/%{name}-%{version}.tar.bz2
18602N/A%if %build_l10n
16880N/ASource1: l10n-configure.sh
16880N/A%endif
16880N/AURL: http://www.gnome.org
17384N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17237N/AAutoreqprov: on
17237N/APrereq: /sbin/ldconfig
17237N/A
16880N/A%define gtk2_version 2.4.0
17237N/A%define pkgconfig_version 0.15.0
18565N/A%define gtk_doc_version 1.1
17402N/A
18565N/ARequires: gtk2 >= %{gtk2_version}
17521N/ABuildRequires: gtk2-devel >= %{gtk2_version}
17662N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
17662N/ABuildRequires: pkgconfig >= %{pkgconfig_version}
18565N/A
17662N/A%description
17686N/ASeahorse is a GNOME application for managing encryption keys. It also
17686N/Aintegrates with nautilus, gedit and other places for encryption, decrption
17688N/Aand other operations.
17688N/A
17863N/A%prep
18507N/A%setup -q
18105N/A
18507N/A
18894N/A%build
18894N/A%ifos linux
16880N/Aif [ -x /usr/bin/getconf ]; then
16880N/A CPUS=`getconf _NPROCESSORS_ONLN`
16880N/Afi
16880N/A%else
16880N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
16880N/A%endif
16880N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
16880N/A CPUS=1
16880N/Afi
16880N/A
16880N/Alibtoolize --force
16880N/Aintltoolize -f -c --automake
16880N/A
16880N/A%if %build_l10n
16880N/Abash -x %SOURCE1 --enable-copyright
16880N/A%endif
16880N/A
16880N/Agnome-doc-prepare --force
16880N/Aaclocal $ACLOCAL_FLAGS -I m4
16880N/Aautoconf
16880N/Aautoheader
16880N/Aautomake
16880N/A
16880N/ACFLAGS="$RPM_OPT_FLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \
16880N/A./configure --prefix=%{_prefix} \
16880N/A --sysconfdir=%{_sysconfdir} \
16880N/A --mandir=%{_mandir} \
16880N/A --libexecdir=%{_libexecdir}
16880N/Amake -j $CPUS
16880N/A
16880N/A%install
16880N/Amake DESTDIR=$RPM_BUILD_ROOT install
16880N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
16880N/A
16880N/A%check
16880N/Amake check
16880N/A
16880N/A%clean
16880N/Arm -rf $RPM_BUILD_ROOT
16880N/A
16880N/A%changelog
16880N/A* Thu Sep 08 2008 - jeff.cai@sun.com
16880N/A- Bump to 2.23.92.
16880N/A* Thu Sep 02 2008 - christian.kelly@sun.com
16880N/A- Bump to 2.23.91.
16880N/A* Tue Aug 19 2008 - dave.lin@sun.com
16880N/A- Bump to 2.23.90
16880N/A* Tue Aug 05 2008 - damien.carbery@sun.com
16880N/A- Bump to 2.23.6. Remove all patches as they are upstream.
16880N/A
16880N/A* Wed Jul 23 2008 - jeff.cai@sun.com
16880N/A- Add bug no.
16880N/A
16880N/A* Mon Jul 21 2008 - jeff.cai@sun.com
16880N/A- Initial Sun release
16880N/A