1 # 2 # spec file for package gnome-keyring 3 # 4 # Copyright (c) 2005 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 # Owner: gheet 9 # 10 Name: gnome-keyring 11 License: GPL 12 Group: System/GUI/GNOME 13 Version: 0.6.0 14 Release: 4 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: GNOME Key Ring 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{version}.tar.bz2 19 Patch1: gnome-keyring-01-pkcs.diff 20 URL: http://www.gnome.org 21 BuildRoot: %{_tmppath}/%{name}-%{version}-build 22 Autoreqprov: on 23 Prereq: /sbin/ldconfig 24 25 %define gtk2_version 2.4.0 26 %define pkgconfig_version 0.15.0 27 %define gtk_doc_version 1.1 28 29 Requires: gtk2 >= %{gtk2_version} 30 BuildRequires: gtk2-devel >= %{gtk2_version} 31 BuildRequires: gtk-doc >= %{gtk_doc_version} 32 BuildRequires: pkgconfig >= %{pkgconfig_version} 33 34 %description 35 gnome-keyring is a program that keep password and other secrets for 36 users. It is run as a daemon in the session, similar to ssh-agent, and 37 other applications can locate it by an environment variable. 38 39 The program can manage several keyrings, each with its own master 40 password, and there is also a session keyring which is never stored to 41 disk, but forgotten when the session ends. 42 43 The library libgnome-keyring is used by applications to integrate with 44 the gnome keyring system. 45 46 %package devel 47 Summary: GNOME Key Ring Library 48 Group: Development/Libraries/GNOME 49 Requires: %{name} = %{version} 50 Requires: gtk2-devel >= %{gtk2_version} 51 52 %description devel 53 gnome-keyring is a program that keep password and other secrets for 54 users. It is run as a daemon in the session, similar to ssh-agent, and 55 other applications can locate it by an environment variable. 56 57 The program can manage several keyrings, each with its own master 58 password, and there is also a session keyring which is never stored to 59 disk, but forgotten when the session ends. 60 61 The library libgnome-keyring is used by applications to integrate with 62 the gnome keyring system. 63 64 %prep 65 %setup -q 66 %patch1 -p1 67 68 %build 69 %ifos linux 70 if [ -x /usr/bin/getconf ]; then 71 CPUS=`getconf _NPROCESSORS_ONLN` 72 fi 73 %else 74 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` 75 %endif 76 if test "x$CPUS" = "x" -o $CPUS = 0; then 77 CPUS=1 78 fi 79 80 libtoolize --force 81 glib-gettextize -f -c 82 aclocal $ACLOCAL_FLAGS -I . 83 autoconf 84 autoheader 85 automake -a -c -f 86 87 CFLAGS="$RPM_OPT_FLAGS" \ 88 ./configure --prefix=%{_prefix} \ 89 --sysconfdir=%{_sysconfdir} \ 90 --mandir=%{_mandir} \ 91 --libexecdir=%{_libexecdir} 92 93 # FIXME: hack: stop the build from looping 94 touch po/stamp-it 95 96 make -j $CPUS 97 98 %install 99 make DESTDIR=$RPM_BUILD_ROOT install 100 rm $RPM_BUILD_ROOT%{_libdir}/*.la 101 102 %clean 103 rm -rf $RPM_BUILD_ROOT 104 105 %post 106 /sbin/ldconfig 107 108 %postun 109 /sbin/ldconfig 110 111 %files 112 %{_datadir}/locale/*/LC_MESSAGES/* 113 %{_bindir}/* 114 %{_libdir}/lib*.so.* 115 %{_libexecdir}/gnome-keyring-ask 116 117 %files devel 118 %{_libdir}/pkgconfig/*.pc 119 %{_includedir}/gnome-keyring-1/* 120 %{_libdir}/lib*.so 121 122 %changelog 123 * Mon Sep 04 2006 - damien.carbery@sun.com 124 - Bump to 0.6.0. 125 126 * Fri Jul 20 2006 - padraig.obriain@sun.com 127 - Bump to 0.5.1. 128 129 * Tue May 02 2006 - damien.carbery@sun.com 130 - Remove unneeded intltoolize call. 131 132 * Mon Mar 13 2006 - damien.carbery@sun.com 133 - Bump to 0.4.9. 134 135 * Tue Feb 28 2006 - damien.carbery@sun.com 136 - Bump to 0.4.8. 137 138 * Mon Feb 13 2006 - damien.carbery@sun.com 139 - Bump to 0.4.7. 140 - Add hack to fix infinite loop problem in po/Makefile. 141 142 * Tue Nov 29 2005 - damien.carbery@sun.com 143 - Bump to 0.4.6. 144 145 * Thu Sep 15 2005 - brian.cameron@sun.com 146 - Bump to 0.4.5. 147 148 * Fri Sep 09 2005 - laca@sun.com 149 - call intltoolize so that the correct Makefile.in.in is copied to po 150 151 * Tue Sep 06 2005 - damien.carbery@sun.com 152 - Call glib-gettextize as po/Makefile.in.in not in tarball. Add patch to 153 skip the 'ar' locale as its files has problems #315335. 154 155 * Mon Sep 05 2005 - damien.carbery@sun.com 156 - Bump to 0.4.4. 157 158 * Mon Aug 15 2005 - damien.carbery@sun.com 159 - Bump to 0.4.3. 160 161 * Wed Jun 15 2005 - laca@sun.com 162 - Add more libs to LDADD so that it builds with the new pkgconfig 163 164 * Fri May 06 2005 - glynn.foster@sun.com 165 - Bump to 0.4.2 166 167 * Fri Aug 29 2004 - brian.cameron@sun.com 168 - Added patch 01 for pkcs support. 169 170 * Wed Aug 18 2004 - brian.cameron@sun.com 171 - removed --disable-gtk-doc since this isn't an option this module's 172 configure takes. 173 174 * Thu Jul 08 2004 - damien.donlon@sun.com 175 - Updated l10n content to gnome-keyring-l10n-po-1.2.tar.bz2 176 177 * Wed Jul 07 2004 - niall.power@sun.com 178 - ported to rpm4 179 180 * Wed Jul 07 2004 - dermot.mccluskey@sun.com 181 - added "-j $CPUS" to make to speed up builds 182 183 * Wed May 12 2004 - damien.donlon@sun.com 184 - Updated l10n content to gnome-keyring-l10n-po-1.1.tar.bz2 185 186 * Tue Apr 13 2004 - laszlo.kovacs@sun.com 187 - upgraded tarball 188 * Wed Mar 31 2004 - brian.cameron@sun.com 189 - replace tar jxf with the more solaris friendly 190 bzcat piped through tar 191 192 * Mon Mar 29 2004 - damien.donlon@sun.com 193 - Adding gnome-keyring-l10n-po-1.0.tar.bz2 l10n content 194 195 * Fri Mar 19 2004 - glynn.foster@sun.com 196 - Bump to 0.1.91 and remove the uninstalled pc patch 197 since it's upstream. 198 199 * Fri Mar 12 2004 - niall.power (at] sun.com 200 - define libexecdir in configure args 201 202 * Mon Feb 02 2004 - niall.power (at] sun.com 203 - bump to 0.1.2 204 - Add patch to generate an -uninstalled.pc file 205 - Add ACLOCAL_FLAGS env to aclocal invocation 206 207 * Mon Dec 15 2003 - glynn.foster (at] sun.com 208 - Initial Sun release 209