16940
|
1 |
#
|
|
2 |
# spec file for package seahorse-plugins
|
|
3 |
#
|
|
4 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
%define owner jefftsai
|
|
9 |
#
|
|
10 |
|
17852
|
11 |
%define OSR LFI#105446 (gnome Exec. summary):n/a
|
16940
|
12 |
|
|
13 |
Name: seahorse-plugins
|
|
14 |
License: GPL v2, FDL v1.1
|
|
15 |
Group: System/GUI/GNOME
|
18032
|
16 |
Version: 2.30.1
|
16940
|
17 |
Release: 1
|
|
18 |
Distribution: Java Desktop System
|
17865
|
19 |
Vendor: Gnome Community
|
16940
|
20 |
Summary: Seahorse-Plugins
|
17785
|
21 |
Source: http://download.gnome.org/sources/%{name}/2.30/%{name}-%{version}.tar.bz2
|
16940
|
22 |
%if %build_l10n
|
|
23 |
Source1: l10n-configure.sh
|
|
24 |
%endif
|
|
25 |
|
|
26 |
URL: http://www.gnome.org
|
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
28 |
Autoreqprov: on
|
|
29 |
Prereq: /sbin/ldconfig
|
|
30 |
|
|
31 |
%define gtk2_version 2.4.0
|
|
32 |
%define pkgconfig_version 0.15.0
|
|
33 |
%define gtk_doc_version 1.1
|
|
34 |
|
|
35 |
Requires: gtk2 >= %{gtk2_version}
|
|
36 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
37 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
38 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
39 |
|
|
40 |
%description
|
|
41 |
Seahorse plugins integrates with nautilus, gedit and other places for
|
|
42 |
encryption/decryption operations.
|
|
43 |
|
|
44 |
%prep
|
|
45 |
|
|
46 |
%setup -q
|
|
47 |
|
|
48 |
%build
|
|
49 |
%ifos linux
|
|
50 |
if [ -x /usr/bin/getconf ]; then
|
|
51 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
52 |
fi
|
|
53 |
%else
|
|
54 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
55 |
%endif
|
|
56 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
57 |
CPUS=1
|
|
58 |
fi
|
|
59 |
|
|
60 |
libtoolize --force
|
|
61 |
intltoolize -f -c --automake
|
|
62 |
|
|
63 |
%if %build_l10n
|
|
64 |
bash -x %SOURCE1 --enable-copyright
|
|
65 |
%endif
|
|
66 |
|
|
67 |
gnome-doc-prepare --force
|
|
68 |
aclocal -I /usr/share/aclocal -I m4
|
|
69 |
autoconf
|
|
70 |
autoheader
|
|
71 |
automake
|
|
72 |
|
|
73 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
74 |
./configure --prefix=%{_prefix} \
|
|
75 |
--sysconfdir=%{_sysconfdir} \
|
|
76 |
--mandir=%{_mandir} \
|
|
77 |
--libexecdir=%{_libexecdir} \
|
|
78 |
--enable-pgp \
|
|
79 |
--disable-update-mime-database
|
|
80 |
make -j $CPUS
|
|
81 |
|
|
82 |
%install
|
|
83 |
make DESTDIR=$RPM_BUILD_ROOT install
|
|
84 |
|
|
85 |
%check
|
|
86 |
make check
|
|
87 |
|
|
88 |
%clean
|
|
89 |
rm -rf $RPM_BUILD_ROOT
|
|
90 |
|
|
91 |
%changelog
|
18032
|
92 |
* Wed May 26 2010 - [email protected]
|
|
93 |
- Bump to 2.30.1
|
17785
|
94 |
* Wed Mar 31 2010 - [email protected]
|
|
95 |
- Bump to 2.30.0
|
17574
|
96 |
* Tue Feb 23 2010 - [email protected]
|
|
97 |
- Bump to 2.29.91
|
17517
|
98 |
* Tue Feb 09 2010 - [email protected]
|
|
99 |
- Bump to 2.29.90
|
17131
|
100 |
* Mon Dec 07 2009 - [email protected]
|
|
101 |
- Bump to 2.29.3
|
|
102 |
- Upstream patch -01-check-gpg2
|
16940
|
103 |
* Fri Oct 16 2009 - [email protected]
|
|
104 |
- Initial Sun release
|