forked from pool/seahorse
This commit is contained in:
commit
f328e6a4a8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
seahorse-0.8.tar.bz2
Normal file
3
seahorse-0.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:797a3f22ca135e5def00a872ef9aed07475f753fae76dbddb401011178cd4d17
|
||||
size 946453
|
12
seahorse-gpgme-version.patch
Normal file
12
seahorse-gpgme-version.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- configure.in
|
||||
+++ configure.in
|
||||
@@ -102,6 +102,9 @@
|
||||
ok="yes"
|
||||
fi
|
||||
fi
|
||||
+ if test "$minor" -gt "$req_minor"; then
|
||||
+ ok="yes"
|
||||
+ fi
|
||||
fi
|
||||
fi
|
||||
|
22
seahorse-uninited.patch
Normal file
22
seahorse-uninited.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- libseahorse/seahorse-op.c
|
||||
+++ libseahorse/seahorse-op.c
|
||||
@@ -537,7 +537,7 @@
|
||||
seahorse_op_verify_file (SeahorseKeySource *sksrc, const gchar *path, const gchar *original,
|
||||
gpgme_verify_result_t *status, gpgme_error_t *err)
|
||||
{
|
||||
- gpgme_data_t sig, plain;
|
||||
+ gpgme_data_t sig, plain = NULL;
|
||||
gpgme_error_t error;
|
||||
|
||||
if (err == NULL)
|
||||
--- src/seahorse-process-multiple.c
|
||||
+++ src/seahorse-process-multiple.c
|
||||
@@ -134,7 +134,7 @@
|
||||
GtkWidget *w;
|
||||
gchar *x;
|
||||
gboolean sep;
|
||||
- gint sel;
|
||||
+ gint sel = 0;
|
||||
|
||||
g_assert (sctx);
|
||||
g_assert (pkguri);
|
37
seahorse.changes
Normal file
37
seahorse.changes
Normal file
@ -0,0 +1,37 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 7 15:27:10 CET 2006 - sbrabec@suse.cz
|
||||
|
||||
- Fixed MIME database path in scriptlets (#225666).
|
||||
- Use correct PreReq.
|
||||
- Do not touch obsolete run-scrollkeeper-update.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 4 21:28:38 CET 2006 - jhargadon@suse.de
|
||||
|
||||
- removed ownership of /opt/gnome/share/mime (#225667)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 01:40:03 CEST 2006 - ro@suse.de
|
||||
|
||||
- fix build (find icon file)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 18 11:25:01 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
- fixed check for minimal gpgme version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:32:39 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 14 23:36:28 CET 2006 - kukuk@suse.de
|
||||
|
||||
- Add gpgme-devel to nfb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 23:59:51 CET 2006 - gekker@suse.de
|
||||
|
||||
- Initial import into autobuild, version 0.8 (#131375)
|
||||
|
129
seahorse.spec
Normal file
129
seahorse.spec
Normal file
@ -0,0 +1,129 @@
|
||||
#
|
||||
# spec file for package seahorse (Version 0.8)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: seahorse
|
||||
BuildRequires: gnome-themes gpgme-devel intltool libglade2-devel libgnomeprintui-devel libsoup-devel libwnck-devel mDNSResponder-devel nautilus-devel openldap2 openldap2-devel perl-XML-Parser update-desktop-files
|
||||
%define prefix /opt/gnome
|
||||
%define sysconfdir /etc%{prefix}
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/GUI/GNOME
|
||||
Autoreqprov: on
|
||||
PreReq: gconf2
|
||||
Version: 0.8
|
||||
Release: 50
|
||||
Summary: GNOME2 interface for gnupg
|
||||
Source: ftp://ftp.gnome.org/pub/gnome/sources/seahorse/%{name}-%{version}.tar.bz2
|
||||
Patch: %{name}-uninited.patch
|
||||
Patch2: %{name}-gpgme-version.patch
|
||||
URL: http://seahorse.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Seahorse is a gnome2 interface for gnupg. It uses gpgme as the backend.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jacob Perkins <jap1@users.sourceforge.net>
|
||||
Jose Carlos Garcia Sogo <jsogo@users.sourceforge.net>
|
||||
Jean Schurger <jk24@users.sourceforge.net>
|
||||
Nate Nielsen <nielsen@memberwebs.com>
|
||||
Adam Schreiber <sadam@clemson.edu>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch
|
||||
%patch2
|
||||
|
||||
%build
|
||||
rename no nb po/no.*
|
||||
sed "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure.in > configure.in.tmp && mv configure.in.tmp configure.in
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
autoreconf -f -i
|
||||
CFLAGS="$RPM_OPT_FLAGS -I/opt/gnome/include -fno-strict-aliasing -DLDAP_DEPRECATED" \
|
||||
./configure \
|
||||
--prefix=%prefix \
|
||||
--libdir=%prefix/%_lib \
|
||||
--sysconfdir=%sysconfdir \
|
||||
--libexecdir=%{prefix}/lib/seahorse \
|
||||
--mandir=%prefix/share/man \
|
||||
--localstatedir=/var/%_lib \
|
||||
--disable-gedit
|
||||
make
|
||||
|
||||
%install
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
make -i install DESTDIR=$RPM_BUILD_ROOT
|
||||
#remove the stuff we don't want
|
||||
rm -rf $RPM_BUILD_ROOT/var/%_lib/scrollkeeper
|
||||
rm -rf $RPM_BUILD_ROOT%{prefix}/%{_lib}/lib*.*a
|
||||
( cd ${RPM_BUILD_ROOT}/%{_datadir}/mime/ && rm -rf XMLnamespaces globs mime application magic )
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
%find_lang %{name}
|
||||
%suse_update_desktop_file %{name} Security
|
||||
%suse_update_desktop_file %{name}-pgp-preferences Security
|
||||
# Hack to work around check for installed icons in .desktop files
|
||||
mkdir -p $RPM_BUILD_ROOT%{prefix}/share/pixmaps
|
||||
cp %{prefix}/share/icons/HighContrastLargePrint/48x48/mimetypes/gnome-mime-application-pgp-keys.png \
|
||||
$RPM_BUILD_ROOT%{prefix}/share/pixmaps/gnome-mime-application-pgp-keys.png
|
||||
rm $RPM_BUILD_ROOT%{prefix}/%{_lib}/nautilus/extensions-1.0/libnautilus-seahorse.*a
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
|
||||
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/%{name}.schemas >/dev/null
|
||||
if test -x usr/bin/update-mime-database ; then
|
||||
usr/bin/update-mime-database %{prefix}/share/mime > /dev/null
|
||||
fi
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
if test -x usr/bin/update-mime-database ; then
|
||||
usr/bin/update-mime-database %{prefix}/share/mime > /dev/null
|
||||
fi
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||
%defattr (-, root, root)
|
||||
%{prefix}/bin/*
|
||||
%{prefix}/%{_lib}/*.so*
|
||||
%{prefix}/%{_lib}/nautilus/extensions-1.0/libnautilus-seahorse.so
|
||||
%{prefix}/share/applications/*.desktop
|
||||
%{prefix}/share/control-center-2.0
|
||||
%{prefix}/share/mime-info/*
|
||||
%{prefix}/share/pixmaps/*.png
|
||||
%{prefix}/share/seahorse
|
||||
%{sysconfdir}/gconf/schemas/%{name}.schemas
|
||||
%{prefix}/share/mime/packages/seahorse.xml
|
||||
|
||||
%changelog -n seahorse
|
||||
* Thu Dec 07 2006 - sbrabec@suse.cz
|
||||
- Fixed MIME database path in scriptlets (#225666).
|
||||
- Use correct PreReq.
|
||||
- Do not touch obsolete run-scrollkeeper-update.
|
||||
* Mon Dec 04 2006 - jhargadon@suse.de
|
||||
- removed ownership of /opt/gnome/share/mime (#225667)
|
||||
* Mon Sep 04 2006 - ro@suse.de
|
||||
- fix build (find icon file)
|
||||
* Tue Jul 18 2006 - nadvornik@suse.cz
|
||||
- fixed check for minimal gpgme version
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Sat Jan 14 2006 - kukuk@suse.de
|
||||
- Add gpgme-devel to nfb
|
||||
* Fri Jan 06 2006 - gekker@suse.de
|
||||
- Initial import into autobuild, version 0.8 (#131375)
|
Loading…
Reference in New Issue
Block a user