2007-01-16 00:16:18 +01:00
|
|
|
#
|
2009-07-04 10:41:36 +02:00
|
|
|
# spec file for package gwenhywfar (Version 3.8.3)
|
2007-01-16 00:16:18 +01:00
|
|
|
#
|
2009-06-19 00:26:23 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:16:18 +01:00
|
|
|
#
|
2009-06-19 00:26:23 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:16:18 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-15 01:23:00 +01:00
|
|
|
|
2007-01-16 00:16:18 +01:00
|
|
|
Name: gwenhywfar
|
2009-07-04 10:41:36 +02:00
|
|
|
BuildRequires: doxygen graphviz graphviz-gd libgcrypt-devel libopenssl-devel libxml2-devel pkg-config xorg-x11-fonts
|
|
|
|
BuildRequires: fdupes gnutls-devel
|
|
|
|
Version: 3.8.3
|
2009-12-08 11:40:12 +01:00
|
|
|
Release: 4
|
2007-11-09 22:26:11 +01:00
|
|
|
Url: http://gwenhywfar.sourceforge.net/
|
2007-01-16 00:16:18 +01:00
|
|
|
Group: System/Libraries
|
2009-12-08 11:40:12 +01:00
|
|
|
License: LGPLv2.1+
|
2009-08-17 15:04:28 +02:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries
|
2007-01-16 00:16:18 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2009-08-17 15:04:28 +02:00
|
|
|
Requires: libgwenhywfar47 = %{version} gwenhywfar47 = %{version}
|
2007-01-16 00:16:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gwenhywfar is a base library used to provide OS abstraction functions
|
2007-11-09 22:26:11 +01:00
|
|
|
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,
|
2007-01-16 00:16:18 +01:00
|
|
|
AqBanking, and QBankManager.
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-17 15:04:28 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Preuss <martin@libchipcard.de>
|
|
|
|
Christian Stimming
|
|
|
|
|
|
|
|
%package -n gwenhywfar47
|
2009-12-08 11:40:12 +01:00
|
|
|
License: LGPLv2.1+
|
2009-08-17 15:04:28 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Multiplatform Helper Library for Other Libraries
|
2009-12-08 11:40:12 +01:00
|
|
|
Requires: %{name} = %{version}
|
2009-08-17 15:04:28 +02:00
|
|
|
|
|
|
|
%description -n gwenhywfar47
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-07-27 15:09:00 +02:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Preuss <martin@libchipcard.de>
|
|
|
|
Christian Stimming
|
|
|
|
|
2009-07-04 10:41:36 +02:00
|
|
|
%package -n libgwenhywfar47
|
2009-12-08 11:40:12 +01:00
|
|
|
License: LGPLv2.1+
|
2007-07-27 15:09:00 +02:00
|
|
|
Group: System/Libraries
|
2009-08-17 15:04:28 +02:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries
|
2009-12-08 11:40:12 +01:00
|
|
|
Requires: gwenhywfar47 = %{version}
|
2007-07-27 15:09:00 +02:00
|
|
|
|
2009-07-04 10:41:36 +02:00
|
|
|
%description -n libgwenhywfar47
|
2007-07-27 15:09:00 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:16:18 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Martin Preuss <martin@libchipcard.de>
|
|
|
|
Christian Stimming
|
|
|
|
|
|
|
|
%package devel
|
2009-12-08 11:40:12 +01:00
|
|
|
License: LGPLv2.1+
|
2007-01-16 00:16:18 +01:00
|
|
|
Group: System/Libraries
|
2009-08-17 15:04:28 +02:00
|
|
|
Summary: Multi-Platform Helper Library for Other Libraries
|
2007-11-09 22:26:11 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel
|
2007-01-16 00:16:18 +01:00
|
|
|
|
|
|
|
%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
|
2007-07-27 15:09:00 +02:00
|
|
|
%setup -q
|
2007-01-16 00:16:18 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -f -i
|
2007-07-27 15:09:00 +02:00
|
|
|
%configure\
|
|
|
|
--enable-release\
|
|
|
|
--enable-full-doc\
|
|
|
|
--with-docpath=%{_docdir}/%{name}/apidoc\
|
2007-11-09 22:26:11 +01:00
|
|
|
--with-openssl-libs=%{_libdir} \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic
|
2007-01-16 00:16:18 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-07-27 15:09:00 +02:00
|
|
|
make srcdoc %{?jobs:-j%jobs}
|
2007-01-16 00:16:18 +01:00
|
|
|
|
|
|
|
%install
|
2007-07-27 15:09:00 +02:00
|
|
|
%makeinstall
|
|
|
|
%makeinstall install-srcdoc
|
2009-07-04 10:41:36 +02:00
|
|
|
# we don't want another 'gwenhywfar' dir below docpath
|
|
|
|
pushd $RPM_BUILD_ROOT%{_docdir}/%{name}/apidoc
|
|
|
|
%__mv %{name}/* ./
|
|
|
|
rm -rf %{name}
|
|
|
|
popd
|
2007-01-16 00:16:18 +01:00
|
|
|
%find_lang %{name}
|
2009-07-04 10:41:36 +02:00
|
|
|
%__rm $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*.*a
|
2007-07-27 15:09:00 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
2009-07-04 10:41:36 +02:00
|
|
|
%__cp -a AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
|
|
|
|
pushd $RPM_BUILD_ROOT%{_docdir}/%{name}/apidoc
|
|
|
|
`find -maxdepth 1 -type f -empty -print0 | xargs -0 echo %__rm -f`
|
|
|
|
popd
|
|
|
|
%fdupes $RPM_BUILD_ROOT%{_docdir}/%{name}/apidoc
|
2007-01-16 00:16:18 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-07-04 10:41:36 +02:00
|
|
|
%post -n libgwenhywfar47 -p /sbin/ldconfig
|
2007-07-27 15:09:00 +02:00
|
|
|
|
2009-07-04 10:41:36 +02:00
|
|
|
%postun -n libgwenhywfar47 -p /sbin/ldconfig
|
2007-07-27 15:09:00 +02:00
|
|
|
|
2007-01-16 00:16:18 +01:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr (-, root, root)
|
2007-07-27 15:09:00 +02:00
|
|
|
%{_bindir}/gct-tool
|
|
|
|
%doc %{_docdir}/%{name}
|
2009-07-04 10:41:36 +02:00
|
|
|
%{_datadir}/gwenhywfar
|
2007-11-09 22:26:11 +01:00
|
|
|
%exclude %{_docdir}/%{name}/apidoc
|
2007-07-27 15:09:00 +02:00
|
|
|
|
2009-08-17 15:04:28 +02:00
|
|
|
%files -n gwenhywfar47
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%dir %{_libdir}/gwenhywfar
|
|
|
|
%dir %{_libdir}/gwenhywfar/plugins
|
|
|
|
%{_libdir}/gwenhywfar/plugins/47
|
|
|
|
|
2009-07-04 10:41:36 +02:00
|
|
|
%files -n libgwenhywfar47
|
2007-07-27 15:09:00 +02:00
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/*.so.*
|
2007-01-16 00:16:18 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2007-07-27 15:09:00 +02:00
|
|
|
%{_bindir}/*-config
|
|
|
|
%{_bindir}/mklistdoc
|
|
|
|
%{_bindir}/typemaker
|
|
|
|
%{_bindir}/xmlmerge
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%doc %{_docdir}/%{name}/apidoc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/gwenhywfar.pc
|
2008-01-24 18:26:48 +01:00
|
|
|
|
2007-07-27 15:09:00 +02:00
|
|
|
%changelog
|