gwenhywfar/gwenhywfar.spec

133 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gwenhywfar (Version 2.4.1)
#
# 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: gwenhywfar
BuildRequires: openssl-devel
Version: 2.4.1
Release: 1
URL: http://gwenhywfar.sourceforge.net/
Group: System/Libraries
License: Other License(s), see package, LGPL
Summary: A Multiplatform Helper Library for Other Libraries
Source: %{name}-%{version}.tar.bz2
Autoreqprov: on
Prereq: /sbin/ldconfig
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, 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 openssl-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
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
autoreconf -f -i
./configure\
--prefix=/usr\
--libdir=/usr/%{_lib}\
--sysconfdir=/etc\
--with-openssl-libs=/usr/%{_lib}\
--enable-full-doc
make %{?jobs:-j%jobs}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
rm $RPM_BUILD_ROOT/usr/%{_lib}/gwenhywfar/plugins/*/*/*.*a
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files -f %{name}.lang
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
/etc/*.crt
/usr/bin/gct-tool
/usr/%{_lib}/*.so.*
/usr/%{_lib}/gwenhywfar
/usr/%{_lib}/pkgconfig/gwenhywfar.pc
%files devel
%defattr (-, root, root)
/usr/%{_lib}/*.so
/usr/%{_lib}/*.*a
/usr/bin/*-config
/usr/bin/mklistdoc
/usr/bin/typemaker
/usr/bin/xmlmerge
/usr/include/*
/usr/share/aclocal/*.m4
%changelog -n gwenhywfar
* Mon Oct 02 2006 - sbrabec@suse.cz
- Updated to version 2.4.1:
* bug fixes
* removed debugging messages
* clean up the API
* Fri Sep 15 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>.