File eIDconfig-belgium.spec of Package eIDconfig-belgium
#
# spec file for package eIDconfig-belgium (Version 1.1.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: eIDconfig-belgium
BuildRequires: glade-sharp2 glib-sharp2 gnome-doc-utils-devel gtk-sharp2 mono-devel ndesk-dbus-devel ndesk-dbus-glib-devel perl-XML-Parser pkgconfig scrollkeeper
Requires: mono >= 1.1.16, mono(gtk-sharp) >= 2.8.0.0, mono(glade-sharp) >= 2.8.0.0, ndesk-dbus >= 0.6.0, ndesk-dbus-glib >= 0.3, hal >= 0.5.6, pcsc-lite >= 1.2.9, mozilla-nss-tools >= 3.11, expect >= 5.43, eID-belgium >= 2.5.9, eID-belgium-patchcollection-1
Provides: locale(MozillaFirefox:de_BE;en_BE;fr_BE;nl_BE;wa_BE)
License: GPL v2 or later
Group: System/Libraries
Version: 1.1.3
Release: 1
Summary: Configuration toolkit for the Belgian eID middleware
Url: http://developer.novell.com/wiki/index.php/eID-belgium
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: eidconfig-belgium-1.1.3.tar.bz2
%description
eIDconfig-belgium aims at easing the configuration of both the Belgian
eID middleware and applications that can use this middleware to
interact with the Belgian eID card.
%prep
%setup -n eidconfig-belgium-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
./configure --prefix=/usr --libdir=%{_libdir} --disable-scrollkeeper
make
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/eidconfig-belgium
%dir %{_libdir}/eidconfig-belgium
%{_libdir}/eidconfig-belgium/eIDconfig-belgium.exe
%{_libdir}/eidconfig-belgium/CheckDbus.exe
%{_libdir}/eidconfig-belgium/eIDconfig-belgium.sh
%{_libdir}/eidconfig-belgium/changepin.exp
%{_libdir}/eidconfig-belgium/Hal.dll
%{_datadir}/locale/de/LC_MESSAGES/eidconfig-belgium.mo
%{_datadir}/locale/fr/LC_MESSAGES/eidconfig-belgium.mo
%{_datadir}/locale/nl/LC_MESSAGES/eidconfig-belgium.mo
%{_datadir}/applications/eIDconfig-belgium.desktop
%{_datadir}/pixmaps/eIDconfig-belgium.png
%dir %{_datadir}/gnome/help/eIDconfig-belgium
%{_datadir}/gnome/help/eIDconfig-belgium/*
%dir %{_datadir}/omf/eIDconfig-belgium
%{_datadir}/omf/eIDconfig-belgium/*
%doc AUTHORS
%doc ChangeLog
%doc COPYING
%doc NEWS
%doc README
%post
EIDCONFFILE="/etc/eID-belgium/beidgui.conf"
EIDCONFFILETMP="/etc/eID-belgium/beidgui.conf.tmp"
if [ -f "$EIDCONFFILE" ] ; then
if ((grep '[Application_Filtering]' "$EIDCONFFILE" 2>/dev/null 1>&2)
&& (! grep 'eidconfig-belgium=*' "$EIDCONFFILE" 2>/dev/null 1>&2)); then
if sed -e "s/\[Application_Filtering\]/\[Application_Filtering\]\neidconfig-belgium=\*/" < "$EIDCONFFILE" > "$EIDCONFFILETMP" ; then
mv "$EIDCONFFILETMP" "$EIDCONFFILE"
fi
fi
fi
%postun
EIDCONFFILE="/etc/eID-belgium/beidgui.conf"
EIDCONFFILETMP="/etc/eID-belgium/beidgui.conf.tmp"
if [ $1 = 0 ] ; then
if [ -f "$EIDCONFFILE" ] ; then
if ((grep '[Application_Filtering]' "$EIDCONFFILE" 2>/dev/null 1>&2)
&& (grep 'eidconfig-belgium=*' "$EIDCONFFILE" 2>/dev/null 1>&2)); then
if sed -e "/eidconfig-belgium=\*/d" < "$EIDCONFFILE" > "$EIDCONFFILETMP" ; then
mv "$EIDCONFFILETMP" "$EIDCONFFILE"
fi
fi
fi
fi
%changelog
* Mon Sep 29 2008 hvogel@suse.de
- merge with latest package from build service:
- update version 1.1.3
* Added Gendarme rules file and made various changes as per
Gendarme recommendations
* EidConfigWindow.cs: Made the call to eidCard.Initialize()
asynchronous.
* Added support for OpenOffice.org version 3.x
* Using yelp file:/// syntax for now.
- Removed Belgium_Root_CA_Self-signed.cer
- Removed INSTALL doc
* Thu May 08 2008 skh@suse.de
- src/Debug.cs: Fixed a crash / failing assertion in XCB.
Patch: eIDconfig-belgium-Debug.diff (sbrys@novell.com)
- src/PCSCLite/CardReader.cs: When no card readers are found,
pcsc-lite 1.4 returns SCARD_E_NO_READERS_AVAILABLE instead of
SCARD_S_SUCCESS. DetectReaders() now no longer throws an exception
when this happens.
Patch: eIDconfig-belgium-CardReader.diff (sbrys@novell.com)
- src/CheckDbus.cs, src/eidconfig-belgium.in, src/Makefile.am: The
eidconfig-belgium wrapper script now checks for the presence of a
DBus session bus through CheckDbus.exe. If a session bus is not
present, eidconfig-belgium is launched via dbus-launch. This is
necessary because initializing ndesk-dbus crashes when no session bus
is present. This case can occur when running via e.g. su/sux.
Patch: eIDconfig-belgium-CheckDbus.diff (sbrys@novell.com)
* Wed Apr 16 2008 skh@suse.de
- update to upstream version 1.1.1:
- configure.ac, Makefile.am, dbus-sharp/, hal-sharp/Makefile.am
src/Makefile.am, eIDconfig-belgium.spec.in: Removed dbus-sharp
and added dependency on ndesk-dbus and ndesk-dbus-glib.
- src/EidViewerWindow.cs: Added ParseSubjectName() which changes the
abbreviations for SERIALNUMBER and SURNAME.
* Wed Apr 09 2008 skh@suse.de
- merge with latest version from build service (all changes
sbrys@novell.com):
- Replaced /tmp/beidgui.conf.tmp with
/etc/eID-belgium/beidgui.conf.tmp in post-(un)installation script
[bnc# 350991]
- update to version 1.1.0:
- Added Firefox/Thunderbird profiles.ini parsing, including support
for multiple profiles, profiles with spaces and absolute paths
http://devzilla.novell.com/eID-belgium/show_bug.cgi?id=5
http://devzilla.novell.com/eID-belgium/show_bug.cgi?id=8
- Fixed crash when application-certificate is not available in
current icon theme
http://devzilla.novell.com/eID-belgium/show_bug.cgi?id=7
* Wed Sep 12 2007 skh@suse.de
- update to version 1.0.2
- changes 1.0.1 -> 1.0.2 (sbrys@novell.com):
* src/EidConfigWindow.cs: A deadlock can occur when yelp writes
to stdout/stderr, resulting in yelp only being started after
eidconfig-belgium is shut down. Fixed by asynchronously reading
stdout/stderr (and discarding the result). [bnc #309223]
* Tue Aug 14 2007 skh@suse.de
- update to version 1.0.1 (sbrys@novell.com)
- src/EidConfigWindow.cs: Fixed bad status when non-eID card is
detected at startup [devzilla.novell.com #6].
- help/*, configure.ac, Makefile.am, eIDconfig-belgium.spec.in,
gnome-doc-utils.make: Added scrollkeeper file to work around
bnc #299648.
- add gnome-doc-utils-devel to BuildRequires
* Mon Jul 30 2007 skh@suse.de
- merged with latest version from build service (project
eIDconfig-belgium, all changes sbrys@novell.com):
- update to version 1.0.0 (see ChangeLog for details)
- Added requirement for mono >= 1.1.16
(for reading certificate information)
- Added requirement for eID-belgium-patchcollection-1, provided
by patched eID-belgium-2.5.9 (for reading address and certificate
information)
* Wed Mar 07 2007 skh@suse.de
- fix loop during make install in po subdirectory
* Thu Feb 15 2007 skh@suse.de
- Update to version 0.0.2 (sbrys@novell.com)
- Check for instances left after uninstall in postun script
(sbrys@novell.com)
- Removed dependencies for pcsc-lite-devel and dbus-1-mono
(sbrys@novell.com)
- Added %%dir directives for proper directory cleanup (sbrys@novell.com)
- Remove extraneous help subdirectory (sbrys@novell.com)
- Move documentation from /opt/gnome/share/gnome/help to
/usr/share/gnome/help
* Mon Nov 20 2006 skh@suse.de
- fix desktop file to pass SUSE autobuild tests
* Mon Nov 06 2006 skh@suse.de
- Initial package with version 0.0.1 (sbrys@novell.com)