gwenhywfar/gwenhywfar.spec

191 lines
5.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gwenhywfar (Version 3.1.1)
#
# Copyright (c) 2008 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: gwenhywfar
BuildRequires: doxygen fdupes graphviz graphviz-gd libgnutls-devel libopenssl-devel libxml2-devel pkg-config xorg-x11-fonts
Version: 3.1.1
Release: 1
Url: http://gwenhywfar.sourceforge.net/
Group: System/Libraries
License: LGPL v2.1 or later
Summary: A Multiplatform Helper Library for Other Libraries
Source: %{name}-%{version}.tar.bz2
Requires: libgwenhywfar47 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gwenhywfar is a base library used to provide OS abstraction functions
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes some
often needed functions (for example, handling and parsing of
configuration files, reading and writingof XML files, and interprocess
communication). It is used by OpenHBCI2,Libchipcard2, Simthetic,
AqBanking, and QBankManager.
Authors:
--------
Martin Preuss <martin@libchipcard.de>
Christian Stimming
%package -n libgwenhywfar47
Group: System/Libraries
Summary: A Multiplatform Helper Library for Other Libraries
Requires: %{name} >= %{version}
%description -n libgwenhywfar47
Gwenhywfar is a base library used to provide OS abstraction functions
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
some often needed functions (for example, for handling and parsing of
configuration files, reading and writing of XML files, and interprocess
communication). It is used by OpenHBCI2, Libchipcard2, Simthetic,
AqBanking, and QBankManager.
Authors:
--------
Martin Preuss <martin@libchipcard.de>
Christian Stimming
%package devel
Group: System/Libraries
Summary: A Multi-Platform Helper Library for Other Libraries
Requires: %{name} = %{version} glibc-devel
%description devel
Gwenhywfar is a base library used to provide OS abstraction functions
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
some often needed functions (e.g. for handling and parsing of
configuration files, reading/writing of XML files, interprocess
communication etc). It is used by: OpenHBCI2, Libchipcard2, Simthetic,
AqBanking, QBankManager.
Authors:
--------
Martin Preuss <martin@libchipcard.de>
Christian Stimming
%prep
%setup -q
%build
test -f config.rpath || cp -v /usr/share/gettext/config.rpath .
autoreconf -f -i
%configure\
--enable-release\
--enable-full-doc\
--with-docpath=%{_docdir}/%{name}/apidoc\
--with-openssl-libs=%{_libdir} \
--disable-static \
--with-pic
make %{?jobs:-j%jobs}
make srcdoc %{?jobs:-j%jobs}
%install
%makeinstall
%makeinstall install-srcdoc
%find_lang %{name}
rm $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*.*a
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
%fdupes $RPM_BUILD_ROOT%{_docdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n libgwenhywfar47 -p /sbin/ldconfig
%postun -n libgwenhywfar47 -p /sbin/ldconfig
%files -f %{name}.lang
%defattr (-, root, root)
%{_bindir}/gct-tool
%doc %{_docdir}/%{name}
%dir %{_libdir}/gwenhywfar
%{_libdir}/gwenhywfar/*
%exclude %{_docdir}/%{name}/apidoc
%{_datadir}/gwenhywfar
%files -n libgwenhywfar47
%defattr (-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_bindir}/*-config
%{_bindir}/mklistdoc
%{_bindir}/typemaker
%{_bindir}/xmlmerge
%{_datadir}/aclocal/*.m4
%doc %{_docdir}/%{name}/apidoc
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/gwenhywfar.pc
%changelog
* Tue Feb 12 2008 ro@suse.de
- update to 3.1.1
- fixed a bug in ctfile.c (now ignores modulus and exponent in
GWEN_Crypt_TokenFile__SetKeyInfo())
Now gct-tool setsignseq works again with OpenHBCI keyfiles.
- fixed a bug in src/parser/text.c whiche prevented the CSV plugin from
reading lines with empty fields when using TAB as a delimiter
- update to 3.0.0
- next generation with many bugfixes
* Thu Jan 24 2008 coolo@suse.de
- fixing open call
* Fri Nov 09 2007 crrodriguez@suse.de
- update to version 2.6.2
* Release is only interesting for windows or NetBSD users
- disable static libraries
- remove "la" files
- remove unnedded dependency on libopenssl-devel in the -devel package
* Fri Jul 27 2007 sbrabec@suse.cz
- Updated to version 2.6.1:
* Minor bugs have been fixed.
* Cross-compiling is now supported.
* Some missing list functions have been added.
* Decreases the verbosity.
* Makes gwenhywfar completely relocatable using binreloc.
- Split package according to shared library packaging policy.
- Build with libxml2.
- Build and create api docs.
* Mon Oct 02 2006 sbrabec@suse.cz
- Updated to version 2.4.1:
* bug fixes
* removed debugging messages
* clean up the API
* Sat Sep 16 2006 jhargadon@suse.de
- update to version 2.4.0
- This release adds GWEN_DBIO plugin which writes GWEN_DB's as XML files
* Tue Jun 20 2006 stbinner@suse.de
- Update to version 2.3.0:
* Adds a new module for fast lookup of objects via integer IDs.
* Adds a storage module to be used by further projects.
* Thu May 11 2006 sbrabec@suse.cz
- Updated to version 2.2.0.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 sbrabec@suse.cz
- Updated to version 1.19.2.
* Wed Oct 19 2005 sbrabec@suse.cz
- New SuSE package, version 1.18.0.
Based on spec file from Rajesh Singh <rajeshsingh.geo@yahoo.com>.