2007-01-15 23:16:18 +00:00
|
|
|
#
|
2011-01-14 15:46:36 +00:00
|
|
|
# spec file for package gwenhywfar
|
2007-01-15 23:16:18 +00:00
|
|
|
#
|
2014-01-14 20:46:06 +00:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:16:18 +00:00
|
|
|
#
|
2009-06-18 22:26:23 +00: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-15 23:16:18 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%define libversion 60
|
2007-01-15 23:16:18 +00:00
|
|
|
Name: gwenhywfar
|
2014-02-18 13:44:31 +00:00
|
|
|
Version: 4.10.0beta
|
2012-05-21 05:25:13 +00:00
|
|
|
Release: 0
|
2014-02-18 13:44:31 +00:00
|
|
|
Summary: Multiplatform helper library for other libraries
|
2013-03-08 08:13:08 +00:00
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
2011-08-12 14:44:42 +00:00
|
|
|
Group: System/Libraries
|
2012-05-21 05:25:13 +00:00
|
|
|
Url: http://www.aqbanking.de/
|
2011-08-12 14:44:42 +00:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2009-12-26 11:14:05 +00:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
2014-02-18 13:44:31 +00:00
|
|
|
BuildRequires: gnutls-devel >= 3.0
|
|
|
|
BuildRequires: gtk2-devel >= 1.4
|
|
|
|
BuildRequires: libgcrypt-devel >= 1.2.0
|
2009-12-26 11:14:05 +00:00
|
|
|
BuildRequires: libopenssl-devel
|
2010-12-10 16:09:50 +00:00
|
|
|
BuildRequires: libqt4-devel
|
2014-02-18 13:44:31 +00:00
|
|
|
%if 0%{?fedora} == 15
|
|
|
|
BuildRequires: fox-devel >= 1.6
|
|
|
|
%else
|
|
|
|
BuildRequires: fox16-devel
|
|
|
|
%endif
|
2009-12-26 11:14:05 +00:00
|
|
|
# For doc graphs
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: graphviz-gd
|
|
|
|
BuildRequires: xorg-x11-fonts
|
2014-02-18 13:44:31 +00:00
|
|
|
Recommends: lib%{name}%{libversion}
|
2007-01-15 23:16:18 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gwenhywfar is a base library used to provide OS abstraction functions
|
2007-11-09 21:26:11 +00: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
|
2009-12-26 11:14:05 +00:00
|
|
|
communication).
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2009-12-26 11:14:05 +00:00
|
|
|
%package tools
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries - Tools
|
2013-03-08 08:13:08 +00:00
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
2009-12-26 11:14:05 +00:00
|
|
|
Group: System/Libraries
|
2010-12-10 16:09:50 +00:00
|
|
|
Requires: libgwenhywfar60 = %{version}
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2009-12-26 11:14:05 +00:00
|
|
|
%description tools
|
|
|
|
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).
|
2009-08-17 13:04:28 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%package -n lib%{name}%{libversion}-plugins
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries - Plugins
|
2011-08-12 14:44:42 +00:00
|
|
|
License: LGPL-2.1+
|
2009-08-17 13:04:28 +00:00
|
|
|
Group: System/Libraries
|
2009-12-08 10:40:12 +00:00
|
|
|
Requires: %{name} = %{version}
|
2009-08-17 13:04:28 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%description -n lib%{name}%{libversion}-plugins
|
2009-08-17 13:04:28 +00:00
|
|
|
Gwenhywfar is a base library used to provide OS abstraction functions
|
2009-12-26 11:14:05 +00:00
|
|
|
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
|
2009-08-17 13:04:28 +00:00
|
|
|
some often needed functions (for example, for handling and parsing of
|
|
|
|
configuration files, reading and writing of XML files, and interprocess
|
2009-12-26 11:14:05 +00:00
|
|
|
communication).
|
2007-07-27 13:09:00 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%package -n lib%{name}%{libversion}
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries
|
2011-08-12 14:44:42 +00:00
|
|
|
License: LGPL-2.1+
|
2007-07-27 13:09:00 +00:00
|
|
|
Group: System/Libraries
|
2012-07-16 07:21:02 +00:00
|
|
|
Recommends: %{name}-lang
|
2014-02-18 13:44:31 +00:00
|
|
|
Recommends: lib%{name}%{libversion}-plugins = %{version}
|
2007-07-27 13:09:00 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%description -n lib%{name}%{libversion}
|
2007-07-27 13:09:00 +00:00
|
|
|
Gwenhywfar is a base library used to provide OS abstraction functions
|
2009-12-26 11:14:05 +00:00
|
|
|
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
|
2007-07-27 13:09:00 +00:00
|
|
|
some often needed functions (for example, for handling and parsing of
|
|
|
|
configuration files, reading and writing of XML files, and interprocess
|
2009-12-26 11:14:05 +00:00
|
|
|
communication).
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%package -n libgwengui-cpp0
|
|
|
|
Summary: C++ interface for Gwenhywfar
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgwengui-cpp0
|
|
|
|
This package contains the C++ GUI interface for Gwenhywfar.
|
|
|
|
|
2010-12-10 16:09:50 +00:00
|
|
|
%package -n libgwengui-gtk2-0
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries -- GTK+ UI Backend
|
2011-08-12 14:44:42 +00:00
|
|
|
License: LGPL-2.1+
|
2010-12-10 16:09:50 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgwengui-gtk2-0
|
|
|
|
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).
|
|
|
|
|
|
|
|
This package provides the GTK+ implementation of the generic UI toolkit.
|
|
|
|
|
|
|
|
%package -n libgwengui-qt4-0
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multiplatform Helper Library for Other Libraries -- Qt UI Backend
|
2011-08-12 14:44:42 +00:00
|
|
|
License: LGPL-2.1+
|
2010-12-10 16:09:50 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgwengui-qt4-0
|
|
|
|
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).
|
|
|
|
|
|
|
|
This package provides the Qt implementation of the generic UI toolkit.
|
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%package -n libgwengui-fox16-0
|
|
|
|
Summary: FOX interface for Gwenhywfar
|
|
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgwengui-fox16-0
|
|
|
|
This package contains the interface to the FOX toolkit
|
|
|
|
for Gwenhywfar.
|
|
|
|
|
2007-01-15 23:16:18 +00:00
|
|
|
%package devel
|
2012-05-21 05:25:13 +00:00
|
|
|
Summary: Multi-Platform Helper Library for Other Libraries
|
2011-08-12 14:44:42 +00:00
|
|
|
License: LGPL-2.1+
|
2009-12-26 11:14:05 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-05-21 05:25:13 +00:00
|
|
|
Requires: glibc-devel
|
2014-02-18 13:44:31 +00:00
|
|
|
Requires: lib%{name}%{libversion} = %{version}
|
|
|
|
Requires: libgwengui-fox16-0 = %{version}
|
2010-12-10 16:09:50 +00:00
|
|
|
Requires: libgwengui-gtk2-0 = %{version}
|
|
|
|
Requires: libgwengui-qt4-0 = %{version}
|
2007-01-15 23:16:18 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gwenhywfar is a base library used to provide OS abstraction functions
|
2009-12-26 11:14:05 +00:00
|
|
|
for Linux, FreeBSD, OpenBSD, NetBSD, and Windows. It also includes
|
2007-01-15 23:16:18 +00:00
|
|
|
some often needed functions (e.g. for handling and parsing of
|
|
|
|
configuration files, reading/writing of XML files, interprocess
|
2009-12-26 11:14:05 +00:00
|
|
|
communication etc).
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2009-12-26 11:14:05 +00:00
|
|
|
%lang_package
|
2007-01-15 23:16:18 +00:00
|
|
|
%prep
|
2007-07-27 13:09:00 +00:00
|
|
|
%setup -q
|
2007-01-15 23:16:18 +00:00
|
|
|
|
|
|
|
%build
|
2007-07-27 13:09:00 +00:00
|
|
|
%configure\
|
|
|
|
--enable-release\
|
|
|
|
--enable-full-doc\
|
2014-02-18 13:44:31 +00:00
|
|
|
--with-docpath=%{_docdir}/%{name}/api \
|
2007-11-09 21:26:11 +00:00
|
|
|
--disable-static \
|
2014-02-18 13:44:31 +00:00
|
|
|
--with-qt4-libs=%{_libdir} \
|
|
|
|
--with-guis="fox16 qt4 gtk2" \
|
|
|
|
--with-plugins-cfgmgr=all \
|
2007-11-09 21:26:11 +00:00
|
|
|
--with-pic
|
2010-12-10 16:09:50 +00:00
|
|
|
%__make %{?smp_mflags}
|
|
|
|
%__make srcdoc %{?smp_mflags}
|
2007-01-15 23:16:18 +00:00
|
|
|
|
|
|
|
%install
|
2007-07-27 13:09:00 +00:00
|
|
|
%makeinstall
|
|
|
|
%makeinstall install-srcdoc
|
2014-02-18 13:44:31 +00:00
|
|
|
pushd %{buildroot}%{_docdir}/%{name}/api
|
2009-12-26 11:14:05 +00:00
|
|
|
# we don't want another 'gwenhywfar' dir below docpath
|
2009-07-04 08:41:36 +00:00
|
|
|
%__mv %{name}/* ./
|
|
|
|
rm -rf %{name}
|
2009-12-26 11:14:05 +00:00
|
|
|
# remove empty files
|
2009-07-04 08:41:36 +00:00
|
|
|
`find -maxdepth 1 -type f -empty -print0 | xargs -0 echo %__rm -f`
|
|
|
|
popd
|
2009-12-26 11:14:05 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%find_lang %{name}
|
2011-08-12 14:44:42 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/%{name}/apidoc
|
2007-01-15 23:16:18 +00:00
|
|
|
|
|
|
|
%clean
|
2010-12-10 16:09:50 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%post -n lib%{name}%{libversion} -p /sbin/ldconfig
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%postun -n lib%{name}%{libversion} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libgwengui-cpp0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgwengui-cpp0 -p /sbin/ldconfig
|
2007-07-27 13:09:00 +00:00
|
|
|
|
2010-12-10 16:09:50 +00:00
|
|
|
%post -n libgwengui-gtk2-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgwengui-gtk2-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libgwengui-qt4-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgwengui-qt4-0 -p /sbin/ldconfig
|
2007-07-27 13:09:00 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%post -n libgwengui-fox16-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libgwengui-fox16-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
|
%dir %{_datadir}/%{name}/
|
|
|
|
%{_datadir}/%{name}/ca-bundle.crt
|
|
|
|
%{_datadir}/%{name}/dialogs/
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
%dir %{_libdir}/%{name}/plugins
|
|
|
|
%dir %{_libdir}/%{name}/plugins/%{libversion}
|
|
|
|
%exclude %{_docdir}/%{name}/api
|
|
|
|
|
2009-12-26 11:14:05 +00:00
|
|
|
%files tools
|
2007-01-15 23:16:18 +00:00
|
|
|
%defattr (-, root, root)
|
2007-07-27 13:09:00 +00:00
|
|
|
%{_bindir}/gct-tool
|
2011-08-12 14:44:42 +00:00
|
|
|
%{_bindir}/gsa
|
2009-12-26 11:14:05 +00:00
|
|
|
%{_bindir}/mklistdoc
|
|
|
|
%{_bindir}/typemaker
|
|
|
|
%{_bindir}/typemaker2
|
|
|
|
%{_bindir}/xmlmerge
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_datadir}/%{name}/typemaker2/
|
2007-07-27 13:09:00 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%files -n lib%{name}%{libversion}-plugins
|
2009-08-17 13:04:28 +00:00
|
|
|
%defattr (-, root, root)
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_libdir}/%{name}/plugins/%{libversion}/*
|
2009-08-17 13:04:28 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%files -n lib%{name}%{libversion}
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%{_libdir}/lib%{name}.so.*
|
|
|
|
|
|
|
|
%files -n libgwengui-cpp0
|
|
|
|
%defattr (-,root,root)
|
2013-09-02 14:49:24 +00:00
|
|
|
%{_libdir}/libgwengui-cpp.so.*
|
2010-12-10 16:09:50 +00:00
|
|
|
|
|
|
|
%files -n libgwengui-gtk2-0
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/libgwengui-gtk2.so.*
|
|
|
|
|
|
|
|
%files -n libgwengui-qt4-0
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/libgwengui-qt4.so.*
|
2007-01-15 23:16:18 +00:00
|
|
|
|
2014-02-18 13:44:31 +00:00
|
|
|
%files -n libgwengui-fox16-0
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%{_libdir}/libgwengui-fox16.so.*
|
|
|
|
|
2007-01-15 23:16:18 +00:00
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_bindir}/%{name}-config
|
2012-01-11 14:36:36 +00:00
|
|
|
%dir %{_datadir}/aclocal
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
|
|
|
%doc %{_docdir}/%{name}/api/
|
|
|
|
%{_includedir}/%{name}4/
|
2007-07-27 13:09:00 +00:00
|
|
|
%{_libdir}/*.so
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2010-12-10 16:09:50 +00:00
|
|
|
%{_libdir}/pkgconfig/gwengui-gtk2.pc
|
|
|
|
%{_libdir}/pkgconfig/gwengui-qt4.pc
|
2014-02-18 13:44:31 +00:00
|
|
|
%{_libdir}/pkgconfig/gwengui-fox16.pc
|
2008-01-24 17:26:48 +00:00
|
|
|
|
2009-12-26 11:14:05 +00:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-07-27 13:09:00 +00:00
|
|
|
%changelog
|