forked from pool/eid-mw
Accepting request 264144 from home:psmt:branches:home:pbleser:belgium-eid
Replacement for eID-belgium OBS-URL: https://build.opensuse.org/request/show/264144 OBS-URL: https://build.opensuse.org/package/show/security/eid-mw?expand=0&rev=1
This commit is contained in:
commit
3a17e8002d
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
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
eid-mw-libs
|
3
eid-mw-4.0.6-1620_tcm444-258906.tar.gz
Normal file
3
eid-mw-4.0.6-1620_tcm444-258906.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9951e13c1283139335765f72e464834b0415e62da346a73dd7c28b9fadf24775
|
||||
size 4335550
|
16
eid-mw-add_missing_includes.patch
Normal file
16
eid-mw-add_missing_includes.patch
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
dialogs/src/dialogsgtk/parent.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: dialogs/src/dialogsgtk/parent.c
|
||||
===================================================================
|
||||
--- dialogs/src/dialogsgtk/parent.c.orig 2014-12-04 08:47:56.664098930 +0100
|
||||
+++ dialogs/src/dialogsgtk/parent.c 2014-12-04 08:48:32.771245582 +0100
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <stdlib.h>
|
||||
#include "config.h"
|
||||
#include "parent.h"
|
||||
+#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
67
eid-mw.changes
Normal file
67
eid-mw.changes
Normal file
@ -0,0 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 4 08:48:54 CET 2014 - pth@suse.de
|
||||
|
||||
- Initial openSUSE package based on the spec from Google source
|
||||
and Pascal Bleser's work including eid-mw-add_missing_includes.patch..
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 14 00:00:00 CET 2014 - wouter.verhelst@fedict.be
|
||||
|
||||
- Split up somewhat further so that openSUSE-style multiarch works, too.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 31 00:00:00 CET 2014 - wouter.verhelst@fedict.be
|
||||
|
||||
- Split package up into several subpackages so as to make multiarch work
|
||||
without much issues.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 00:00:00 CET 2013 - frank@apsu.be
|
||||
|
||||
- Upgrade to 4.0.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 03 00:00:00 CET 2012 - frank@apsu.be
|
||||
|
||||
- Upgrade to 4.0.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 14 00:00:00 CET 2012 - frank@apsu.be
|
||||
|
||||
- Upgrade to 4.0.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 18 00:00:00 CET 2011 - frank@apsu.be
|
||||
|
||||
- Made Revision number variable to allow continuous builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Split eid-mw and eid-viewer packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Added post-install script and desktop file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 24 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Included pre-built JAR files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Added patched eid-applet core.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 13 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Included eid-viewer build using maven.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 07 00:00:00 CET 2011 - dag@wieers.com
|
||||
|
||||
- Initial package.
|
||||
|
147
eid-mw.spec
Normal file
147
eid-mw.spec
Normal file
@ -0,0 +1,147 @@
|
||||
# Copyright (c) 2014 Philipp Thomas <psmt@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
|
||||
%define real_version 4.0.6
|
||||
|
||||
Name: eid-mw
|
||||
Version: %{real_version}+1620
|
||||
Release: 1
|
||||
%define pkg_version %{real_version}-1620
|
||||
%define src_tag _tcm444-258906
|
||||
License: LGPL-3.0+
|
||||
Group: Productivity/Security
|
||||
URL: http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/
|
||||
Summary: Belgium electronic identity card PKCS#11 module and Firefox plugin
|
||||
Source: %{name}-%{pkg_version}%{src_tag}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
#Source2: eid-mw-rpmlintrc
|
||||
Patch1: eid-mw-add_missing_includes.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: pcsc-lite-devel
|
||||
Requires(pre): /sbin/chkconfig
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: subversion
|
||||
%if 0%{?suse_version}
|
||||
Requires: pcsc-ccid
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-c++ make glibc-devel pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: MozillaFirefox
|
||||
Recommends: pcsc-acr38
|
||||
BuildRequires: pcsc-acr38
|
||||
Recommends: pcsc-lite
|
||||
BuildRequires: pcsc-lite
|
||||
Recommends: zip
|
||||
BuildRequires: zip
|
||||
%else
|
||||
Requires: ccid
|
||||
%endif
|
||||
Conflicts: openct
|
||||
|
||||
%description
|
||||
The eID Middleware provides the libraries, a PKCS#11 module and a Firefox
|
||||
plugin to use Belgian eID (electronic identity) card in order to access
|
||||
websites and/or sign documents. This package contains a few helper
|
||||
programs needed by the eID Middleware and the infrastructure for eid-mw.
|
||||
|
||||
%package devel
|
||||
Summary: Belgium electronic identity card PKCS#11 module - development package
|
||||
Requires: eid-mw = %{version}
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description devel
|
||||
The eID Middleware provides the libraries, a PKCS#11 module and a Firefox
|
||||
plugin to use Belgian eID (electronic identity) card in order to access
|
||||
websites and/or sign documents. This package contains the files needed
|
||||
to develop against the eID Middleware.
|
||||
|
||||
%package libs
|
||||
Summary: Belgium electronic identity card PKCS#11 module - libraries
|
||||
|
||||
%description libs
|
||||
The eID Middleware provides the libraries, a PKCS#11 module and a Firefox
|
||||
plugin to use Belgian eID (electronic identity) card in order to access
|
||||
websites and/or sign documents. This package contains the actual libraries.
|
||||
|
||||
%package firefox
|
||||
Summary: Firefox Extension for Belgium eID Middleware
|
||||
Group: Productivity/Networking/Web/Browsers
|
||||
Recommends: MozillaFirefox
|
||||
|
||||
%description firefox
|
||||
Mozilla Firefox extension for using the Belgian eID (electronic identity card).
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{real_version}
|
||||
%patch1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--with-mozext="%{_datadir}/mozilla/extensions" \
|
||||
--enable-dialogs=yes \
|
||||
--disable-static
|
||||
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR="%{buildroot}" install
|
||||
|
||||
%post -n eid-mw-libs
|
||||
/sbin/ldconfig
|
||||
|
||||
%post -n eid-mw-firefox
|
||||
if /usr/bin/pgrep 'firefox' &>/dev/null; then
|
||||
echo "INFO: You may have to restart Firefox for the Belgium eID add-on to work." >&2
|
||||
elif /usr/bin/pgrep 'iceweasel' &>/dev/null; then
|
||||
echo "INFO: You may have to restart Iceweasel for the Belgium eID add-on to work." >&2
|
||||
fi
|
||||
|
||||
%postun -n eid-mw-libs
|
||||
/sbin/ldconfig
|
||||
### Make pcscd reread configuration and rescan USB bus.
|
||||
if /sbin/service pcscd status &>/dev/null; then
|
||||
%{_sbindir}/pcscd -H &>/dev/null || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-, root, root, 0755)
|
||||
%doc AUTHORS COPYING ChangeLog README
|
||||
%exclude %{_libdir}/*.la
|
||||
%{_libexecdir}/beid-askaccess
|
||||
%{_libexecdir}/beid-askpin
|
||||
%{_libexecdir}/beid-badpin
|
||||
%{_libexecdir}/beid-changepin
|
||||
%{_libexecdir}/beid-spr-askpin
|
||||
%{_libexecdir}/beid-spr-changepin
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbeidpkcs11.so.*
|
||||
%{_libdir}/libbeidcommon.so.*
|
||||
|
||||
%files firefox
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/mozilla/
|
||||
%{_datadir}/mozilla/extensions/belgiumeid@eid.belgium.be
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbeidpkcs11.so
|
||||
%{_libdir}/libbeiddialogs.so
|
||||
%{_libdir}/libbeidcardlayer.so
|
||||
%{_libdir}/libbeidcommon.so
|
||||
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user