* SFEseahorse.spec : added
* base-specs/seahorse.spec : added
* patches/seahorse-01-cryptui.diff :added
* patches/seahorse-02-open.diff :added
* patches/seahorse-03-ldap.diff: added
* patches/seahorse-04-paths.diff: added
--- a/ChangeLog Tue Dec 18 10:26:43 2007 +0000
+++ b/ChangeLog Tue Dec 18 11:49:40 2007 +0000
@@ -1,3 +1,11 @@
+2007-12-18 jerry yu <[email protected]>
+ * SFEseahorse.spec : added
+ * base-specs/seahorse.spec : added
+ * patches/seahorse-01-cryptui.diff :added
+ * patches/seahorse-02-open.diff :added
+ * patches/seahorse-03-ldap.diff: added
+ * patches/seahorse-04-paths.diff: added
+
2007-12-18 simon.zheng <[email protected]>
* SFEgnome-device-manager.spec:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEseahorse.spec Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,104 @@
+#
+# spec file for package SFEseahorse
+#
+# includes module(s): seahorse
+#
+# owner: Jerry Yu
+#
+
+%include Solaris.inc
+%use seahorse = seahorse.spec
+
+Name: SFEseahorse
+Summary: %{seahorse.summary}
+Version: %{seahorse.version}
+SUNW_BaseDir: %{_basedir}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+Requires: SFEgnupg
+Requires: SFEgpgme
+Requires: SUNWdbus
+
+%package devel
+Summary: %{summary} - development files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+
+%if %build_l10n
+%package l10n
+Summary: %{summary} - l10n files
+SUNW_BaseDir: %{_basedir}
+%include default-depend.inc
+Requires: %{name}
+%endif
+
+%prep
+rm -rf %name-%version
+mkdir -p %name-%version
+%seahorse.prep -d %name-%version
+
+%build
+export CFLAGS="%optflags"
+export MSGFMT="/usr/bin/msgfmt"
+export LDFLAGS="%_ldflags"
+%seahorse.build -d %name-%version
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%seahorse.install -d %{name}-%{version}
+rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*a
+rm -rf $RPM_BUILD_ROOT%{_libdir}/gedit-2/plugins/lib*a
+rm -rf $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/lib*a
+
+%if %build_l10n
+%else
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (0755, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*so*
+%{_libdir}/bonobo
+%{_libdir}/gedit-2
+%{_libdir}/nautilus
+%{_libdir}/seahorse
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/applications
+%{_datadir}/dbus-1
+%{_datadir}/gnome-2.0
+%{_datadir}/gnome
+%{_datadir}/icons
+%{_datadir}/omf
+%{_datadir}/pixmaps
+%{_datadir}/seahorse
+%{_datadir}/mime
+%dir %attr (0755, root, sys) %{_mandir}
+%{_mandir}/*
+%dir %attr (0755, root, bin) /usr/etc
+/usr/etc/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+
+%if %build_l10n
+%files l10n
+%defattr (0755, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (0755, root, other) %{_datadir}/locale
+%endif
+
+%changelog
+* Tue Dec 18 2007- [email protected]
+- initial version created
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/base-specs/seahorse.spec Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,90 @@
+#
+# spec file for package seahorse
+#
+
+Name: seahorse
+Version: 2.21.4
+Release: 0
+Summary: GNOME2 interface for gnupg
+License: GPL
+Group: Applications/Cryptography
+URL: http://live.gnome.org/Seahorse
+Source: http://ftp.gnome.org/pub/GNOME/sources/seahorse/2.21/%{name}-%{version}.tar.gz
+Patch1: %{name}-01-cryptui.diff
+Patch2: %{name}-02-open.diff
+Patch3: %{name}-03-ldap.diff
+Patch4: %{name}-04-paths.diff
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Seahorse is a gnome2 interface for gnupg.
+It uses gpgme as the backend.
+
+%prep
+%setup -q
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
+
+%build
+./configure --prefix=%{_prefix} \
+ --libexecdir=%{_libexecdir} \
+ --mandir=%{_mandir} \
+ --disable-update-mime-database \
+ --disable-update-desktop
+
+make
+
+%install
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files -f %{name}.lang
+%defattr(-, root, root)
+%{_bindir}/*
+%{_libdir}/*
+%{_libdir}/bonobo/*.so
+%{_libdir}/bonobo/servers/*
+%{_libdir}/gedit-2/plugins/*.so
+%{_libdir}/gedit-2/plugins/*.gedit-plugin
+%{_datadir}/%{name}
+%{_datadir}/applications/*
+%{_datadir}/omf/%{name}
+%{_datadir}/pixmaps/*
+%{_datadir}/gnome/help/%{name}
+%{_datadir}/control-center-2.0/capplets/*
+%{_datadir}/mime/packages/*
+%{_datadir}/mime-info/*
+%{_sysconfdir}/gconf/schemas/*
+
+%doc AUTHORS COPYING NEWS README TODO
+
+%changelog
+* Tue Dec 18 2007 [email protected]
+- Bump to 2.21.4
+
+* Wed Oct 26 2004 Nate Nielsen <[email protected]>
+- Remove *.a and *.la from RPM_BUILD_ROOT
+- Remove updated mime database from RPM_BUILD_ROOT
+
+* Wed Oct 13 2004 Nate Nielsen <[email protected]>
+- Added new mime info
+
+* Tue Oct 12 2004 Nate Nielsen <[email protected]>
+- Added the gedit plugin to the default manifest
+
+* Fri May 02 2003 Yanko Kaneti <[email protected]>
+- Add some new files to the manifest
+
+* Wed Jan 15 2002 Jean Schurger <[email protected]>
+- Scrollkeeper stuff
+- locales install by %find_lang
+- secure use of rm -rf
+
+* Tue Jan 14 2002 Yanko Kaneti <[email protected]>
+- First spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/seahorse-01-cryptui.diff Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,20 @@
+--- libcryptui/cryptui-key-chooser.c.orig 2007-12-18 15:10:12.054963000 +0800
++++ libcryptui/cryptui-key-chooser.c 2007-12-18 13:44:10.043370000 +0800
+@@ -482,7 +482,7 @@
+ cryptui_key_chooser_set_recipients (CryptUIKeyChooser *chooser, GList *keys)
+ {
+ g_return_if_fail (chooser->priv->keylist != NULL);
+- return cryptui_key_list_set_selected_keys (chooser->priv->keylist, keys);
++ cryptui_key_list_set_selected_keys (chooser->priv->keylist, keys);
+ }
+
+ const gchar*
+@@ -496,7 +496,7 @@
+ cryptui_key_chooser_set_signer (CryptUIKeyChooser *chooser, const gchar *key)
+ {
+ g_return_if_fail (chooser->priv->keycombo != NULL);
+- return cryptui_key_combo_set_key (chooser->priv->keycombo, key);
++ cryptui_key_combo_set_key (chooser->priv->keycombo, key);
+ }
+
+ CryptUIKeyChooserMode
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/seahorse-02-open.diff Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,12 @@
+--- libseahorse/seahorse-gpg-options.c.orig 2007-12-18 13:48:30.017633000 +0800
++++ libseahorse/seahorse-gpg-options.c 2007-12-18 13:56:08.590314000 +0800
+@@ -22,6 +22,9 @@
+ #include <sys/param.h>
+ #include <sys/wait.h>
+ #include <sys/file.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <fcntl.h>
+ #include <gpgme.h>
+ #include <string.h>
+ #include <errno.h>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/seahorse-03-ldap.diff Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,10 @@
+--- libseahorse/seahorse-ldap-source.c.orig 2007-12-18 13:56:54.145361000 +0800
++++ libseahorse/seahorse-ldap-source.c 2007-12-18 14:37:01.174519000 +0800
+@@ -61,6 +61,7 @@
+ /* Amount of keys to load in a batch */
+ #define DEFAULT_LOAD_BATCH 30
+
++#define LDAP_URL_SUCCESS 0x00 /*Success*/
+ /* -----------------------------------------------------------------------------
+ * SERVER INFO
+ */
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/seahorse-04-paths.diff Tue Dec 18 11:49:40 2007 +0000
@@ -0,0 +1,10 @@
+--- agent/seahorse-agent-io.c.orig 2007-12-18 16:29:11.193251000 +0800
++++ agent/seahorse-agent-io.c 2007-12-18 16:29:28.087867000 +0800
+@@ -26,7 +26,6 @@
+ #include <sys/stat.h>
+ #include <sys/un.h>
+
+-#include <paths.h>
+ #include <stddef.h>
+ #include <stdlib.h>
+ #include <unistd.h>