avatar
Rosa has added f36fec955a
Automatic import for version 4.20.0-1
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "gwenhywfar-4.20.0.tar.gz": 79546503c1ab3eaa7b51bc8be5a4ffcd7b4cdea9
view file @ f36fec955a
... ... --- /dev/null
... ... +++ b/gwenhywfar.spec
... ... @@ -0,0 +1,174 @@
1
%define major      60
2
%define libname    %mklibname %{name} %{major}
3
%define qt4major   0
4
%define qt5major   0
5
%define gtkmajor   0
6
%define cppmajor   0
7
%define gtklibname %mklibname gwengui-gtk2_ %{gtkmajor}
8
%define qt4libname %mklibname gwengui-qt4_ %{qt4major}
9
%define qt5libname %mklibname gwengui-qt5_ %{qt5major}
10
%define cpplibname %mklibname gwengui-cpp %{cppmajor}
11
%define develname  %mklibname %{name} -d
12
13
Name:           gwenhywfar
14
Version:        4.20.0
15
Release:        1
16
Summary:        A multi-platform helper library for other libraries
17
Group:          System/Libraries
18
License:        LGPLv2+
19
URL:            http://www.aqbanking.de/
20
# https://www.aquamaniac.de/sites/download/download.php?package=01&release=207&file=01&dummy=%%{name}-%%{version}.tar.gz
21
Source:         %{name}-%{version}.tar.gz
22
BuildRequires:  automake
23
BuildRequires:  autoconf >= 2.58
24
BuildRequires:  gettext-devel
25
BuildRequires:  libgcrypt-devel
26
BuildRequires:  pkgconfig(openssl)
27
BuildRequires:  pkgconfig(ncurses)
28
BuildRequires:  pkgconfig(zlib)
29
BuildRequires:  pkgconfig(gnutls)
30
BuildRequires:  pkgconfig(QtCore)
31
BuildRequires:  pkgconfig(QtGui)
32
BuildRequires:  pkgconfig(gtk+-2.0)
33
BuildRequires:  pkgconfig(Qt5Concurrent)
34
BuildRequires:  pkgconfig(Qt5Core)
35
BuildRequires:  pkgconfig(Qt5DBus)
36
BuildRequires:  pkgconfig(Qt5Gui)
37
BuildRequires:  pkgconfig(Qt5Network)
38
BuildRequires:  pkgconfig(Qt5OpenGL)
39
BuildRequires:  pkgconfig(Qt5PrintSupport)
40
BuildRequires:  pkgconfig(Qt5Sql)
41
BuildRequires:  pkgconfig(Qt5Test)
42
BuildRequires:  pkgconfig(Qt5Widgets)
43
BuildRequires:  pkgconfig(Qt5Xml)
44
45
Suggests:     %{name}-gui = %{version}
46
47
%description
48
This is Gwenhywfar, a multi-platform helper library for networking and
49
security applications and libraries. It is heavily used by libchipcard
50
and OpenHBCI-TNG (The Next Generation).
51
52
%package -n %libname
53
Summary:        A multi-platform helper library for other libraries
54
Group:          System/Libraries
55
Requires:       %{name} >= %{version}
56
57
%description -n %libname
58
This is Gwenhywfar, a multi-platform helper library for networking and
59
security applications and libraries. It is heavily used by libchipcard
60
and OpenHBCI-TNG (The Next Generation).
61
62
%package -n %qt4libname
63
Summary:        A Qt4 multi-platform helper library for other libraries
64
Group:          System/Libraries
65
Provides:       %{name}-gui = %{version}
66
67
%description -n %qt4libname
68
This is Gwenhywfar, a Qt4 multi-platform helper library for networking and
69
security applications and libraries. It is heavily used by libchipcard
70
and OpenHBCI-TNG (The Next Generation).
71
72
%package -n %qt5libname
73
Summary:        A Qt5 multi-platform helper library for other libraries
74
Group:          System/Libraries
75
Provides:       %{name}-gui = %{version}
76
77
%description -n %qt5libname
78
This is Gwenhywfar, a Qt5 multi-platform helper library for networking and
79
security applications and libraries. It is heavily used by libchipcard
80
and OpenHBCI-TNG (The Next Generation).
81
82
%package -n %gtklibname
83
Summary:        A GTK multi-platform helper library for other libraries
84
Group:          System/Libraries
85
Provides:       %{name}-gui = %{version}
86
87
%description -n %gtklibname
88
This is Gwenhywfar, a GTK multi-platform helper library for networking and
89
security applications and libraries. It is heavily used by libchipcard
90
and OpenHBCI-TNG (The Next Generation).
91
92
%package -n %cpplibname
93
Summary:        A multi-platform helper library for other libraries
94
Group:          System/Libraries
95
Provides:       %{name}-gui = %{version}
96
97
%description -n %cpplibname
98
This is Gwenhywfar, a multi-platform helper library for networking and
99
security applications and libraries. It is heavily used by libchipcard
100
and OpenHBCI-TNG (The Next Generation).
101
102
%package -n %develname
103
Summary:        Gwenhywfar development kit
104
Group:          Development/C
105
Requires:       %{libname} = %{version}
106
Requires:       %{qt4libname} = %{version}
107
Requires:       %{qt5libname} = %{version}
108
Requires:       %{gtklibname} = %{version}
109
Requires:       %{cpplibname} = %{version}
110
Provides:       lib%{name}-devel = %{version}-%{release}
111
Provides:       %{name}-devel = %{version}-%{release}
112
113
%description -n %develname
114
This package contains gwenhywfar-config and header files for writing and
115
compiling programs using Gwenhywfar.
116
117
%prep
118
%setup -q
119
120
%build
121
export PATH=%{_qt5_bindir}:$PATH
122
%configure2_5x \
123
        --disable-static \
124
        --disable-rpath \
125
        --with-guis="qt4 qt5 gtk2" \
126
        --with-qt4-libs=%{qt4lib} \
127
        --with-openssl-libs=%{_libdir}
128
%make
129
130
%install
131
%makeinstall_std
132
133
find %{buildroot} -name '*.la' -delete
134
135
%find_lang %{name}
136
137
ln -snf %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %{buildroot}%{_datadir}/%{name}/ca-bundle.crt
138
139
%files -f %{name}.lang
140
%doc AUTHORS README
141
%{_bindir}/gct-tool
142
%{_datadir}/%{name}/
143
144
%files -n %libname
145
%{_libdir}/libgwenhywfar.so.%{major}*
146
%{_libdir}/%{name}/
147
148
%files -n %qt4libname
149
%{_libdir}/libgwengui-qt4.so.%{qt4major}*
150
151
%files -n %qt5libname
152
%{_libdir}/libgwengui-qt5.so.%{qt5major}*
153
154
%files -n %gtklibname
155
%{_libdir}/libgwengui-gtk2.so.%{gtkmajor}*
156
157
%files -n %cpplibname
158
%{_libdir}/libgwengui-cpp.so.%{cppmajor}*
159
160
%files -n %develname
161
%{_bindir}/gwenhywfar-config
162
%{_bindir}/gsa
163
%{_bindir}/xmlmerge
164
%{_bindir}/mklistdoc
165
%{_bindir}/typemaker
166
%{_bindir}/typemaker2
167
%{_includedir}/gwenhywfar4/
168
%{_libdir}/*.so
169
%{_libdir}/cmake/gwengui-qt4-4.2?/
170
%{_libdir}/cmake/gwengui-qt5-4.2?/
171
%{_libdir}/cmake/%{name}-4.2?/
172
%{_libdir}/cmake/gwengui-cpp-4.2?/
173
%{_libdir}/pkgconfig/*.pc
174
%{_datadir}/aclocal/gwenhywfar.m4

Comments