]> git.pld-linux.org Git - packages/gwenhywfar.git/blame - gwenhywfar.spec
- subpackages for gtk and qt GUIs
[packages/gwenhywfar.git] / gwenhywfar.spec
CommitLineData
af34125f 1#
2# TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file
ce6dc1cb 3# - fox UI
af34125f 4#
c9677431 5Summary: Gwenhywfar - a multi-platform helper library for networking and security
c0251854 6Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa
c9677431 7Name: gwenhywfar
30a610ec 8Version: 4.0.9
af34125f 9Release: 1
c9677431
JB
10License: LGPL v2.1+ with OpenSSL linking exception
11Group: Libraries
104ef448 12# http://www2.aquamaniac.de/sites/download/packages.php
6440f570 13Source0: %{name}-%{version}.tar.gz
30a610ec 14# Source0-md5: 03c22b95eb493c8c98284d3d2e4d9795
a3e2fd8e 15URL: http://www.aquamaniac.de/aqbanking/
9db45f92 16BuildRequires: QtGui-devel >= 4
45b54d76 17BuildRequires: autoconf >= 2.60
a24cb890
JB
18BuildRequires: automake
19BuildRequires: gettext-devel
45b54d76 20BuildRequires: gnutls-devel >= 1.6.1
9db45f92
JB
21BuildRequires: gtk+2-devel >= 2:2.17.5
22BuildRequires: libgcrypt-devel >= 1.2.0
a24cb890 23BuildRequires: libtool
c9677431 24BuildRequires: openssl-devel
9db45f92 25BuildRequires: pkgconfig
c3f30a6d 26BuildRequires: qt4-build
9db45f92
JB
27Requires: gtk+2 >= 2:2.17.5
28Requires: libgcrypt >= 1.2.0
c9677431
JB
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This is Gwenhywfar, a multi-platform helper library for networking and
33security applications and libraries. It is used by:
45b54d76 34 - Libchipcard (http://www.libchipcard.de/),
c9677431
JB
35 - OpenHBCI2 (http://www.openhbci.de/),
36 - Simthetic, the simulation tool (http://simthetic.sourceforge.net/)
37 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
38
4dabdb30 39%description -l pl.UTF-8
c9677431 40To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do
4dabdb30
JR
41aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest
42używana przez:
45b54d76 43 - Libchipcard (http://www.libchipcard.de/),
c9677431 44 - OpenHBCI2 (http://www.openhbci.de/),
4dabdb30 45 - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/)
c9677431
JB
46 - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/).
47
48%package devel
49Summary: Header files for Gwenhywfar library
c0251854 50Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar
c9677431
JB
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
9db45f92 53Requires: QtGui-devel >= 4
45b54d76 54Requires: gnutls-devel >= 1.6.1
9db45f92
JB
55Requires: gtk+2-devel >= 2:2.17.5
56Requires: libgcrypt-devel >= 1.2.0
c9677431
JB
57
58%description devel
59Header files for Gwenhywfar library.
60
4dabdb30
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe biblioteki Gwenhywfar.
c9677431
JB
63
64%package static
65Summary: Static Gwenhywfar library
c0251854 66Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar
c9677431
JB
67Group: Development/Libraries
68Requires: %{name}-devel = %{version}-%{release}
69
70%description static
71Static Gwenhywfar library.
72
4dabdb30 73%description static -l pl.UTF-8
c9677431
JB
74Statyczna biblioteka Gwenhywfar.
75
ce6dc1cb
JB
76%package gtk
77Summary: GTK+ 2 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
78Summary(pl.UTF-8): Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
79Group: X11/Libraries
80Requires: %{name} = %{version}-%{release}
81
82%description gtk
83GTK+ 2 Gwenhywfar GUI library, containing GTK+ 2 implementation of the
84GWEN_DIALOG framework.
85
86%description gtk
87Biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar, zawierająca
88implementację GTK+2 szkieletu GWEN_DIALOG.
89
90%package gtk-devel
91Summary: Header files for GTK+ 2 Gwenhywfar GUI library
92Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do Gwenhywfar
93Group: X11/Development/Libraries
94Requires: %{name}-devel = %{version}-%{release}
95Requires: %{name}-gtk = %{version}-%{release}
96
97%description gtk-devel
98Header files for GTK+ 2 Gwenhywfar GUI library
99
100%description gtk-devel -l pl.UTF-8
101Pliki nagłówkowe biblioteki graficznego interfejsu GTK+ 2 do
102Gwenhywfar.
103
104%package gtk-static
105Summary: Static GTK+ 2 Gwenhywfar GUI library
106Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar
107Group: X11/Development/Libraries
108Requires: %{name}-gtk-devel = %{version}-%{release}
109
110%description gtk-static
111Static GTK+ 2 Gwenhywfar GUI library.
112
113%description gtk-static -l pl.UTF-8
114Statyczna biblioteka graficznego interfejsu GTK+ 2 do Gwenhywfar.
115
116%package qt
117Summary: Qt 4 Gwenhywfar GUI library implementation of the GWEN_DIALOG framework
118Summary(pl.UTF-8): Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
119Group: X11/Libraries
120Requires: %{name} = %{version}-%{release}
121
122%description qt
123Qt 4 Gwenhywfar GUI library, containing Qt 4 implementation of the
124GWEN_DIALOG framework.
125
126%description qt
127Biblioteka graficznego interfejsu Qt 4 do Gwenhywfar, zawierająca
128implementację GTK+2 szkieletu GWEN_DIALOG.
129
130%package qt-devel
131Summary: Header files for Qt 4 Gwenhywfar GUI library
132Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar
133Group: X11/Development/Libraries
134Requires: %{name}-devel = %{version}-%{release}
135Requires: %{name}-qt = %{version}-%{release}
136
137%description qt-devel
138Header files for Qt 4 Gwenhywfar GUI library
139
140%description qt-devel -l pl.UTF-8
141Pliki nagłówkowe biblioteki graficznego interfejsu Qt 4 do Gwenhywfar.
142
143%package qt-static
144Summary: Static Qt 4 Gwenhywfar GUI library
145Summary(pl.UTF-8): Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar
146Group: X11/Development/Libraries
147Requires: %{name}-qt-devel = %{version}-%{release}
148
149%description qt-static
150Static Qt 4 Gwenhywfar GUI library.
151
152%description qt-static -l pl.UTF-8
153Statyczna biblioteka graficznego interfejsu Qt 4 do Gwenhywfar.
154
c9677431
JB
155%prep
156%setup -q
157
158%build
45b54d76
JB
159# gettextize not used (custom support instead of AM_GNU_GETTEXT)
160touch config.rpath
a24cb890
JB
161%{__libtoolize}
162%{__aclocal} -I m4
163%{__autoconf}
164%{__autoheader}
165%{__automake}
c9677431 166%configure \
f2cfcef2 167 --enable-static \
ce6dc1cb
JB
168 --with-guis="%{?with_fox:fox16 }gtk2 qt4" \
169 --with-openssl-libs=%{_libdir} \
170 --with-qt4-libs=%{_libdir}
c77e6c9f 171
c3f30a6d 172%{__make}
c9677431
JB
173
174%install
175rm -rf $RPM_BUILD_ROOT
176
177%{__make} install \
178 DESTDIR=$RPM_BUILD_ROOT
179
7a38ab96 180%{__rm} $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a}
119469bf 181%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
c9677431
JB
182
183%find_lang %{name}
184
185%clean
186rm -rf $RPM_BUILD_ROOT
187
188%post -p /sbin/ldconfig
189%postun -p /sbin/ldconfig
190
ce6dc1cb
JB
191%post gtk -p /sbin/ldconfig
192%postun gtk -p /sbin/ldconfig
193
194%post qt -p /sbin/ldconfig
195%postun qt -p /sbin/ldconfig
196
c9677431
JB
197%files -f %{name}.lang
198%defattr(644,root,root,755)
199%doc AUTHORS ChangeLog NEWS README TODO
c9677431
JB
200%attr(755,root,root) %{_bindir}/gct-tool
201%attr(755,root,root) %{_bindir}/mklistdoc
202%attr(755,root,root) %{_bindir}/typemaker
9599e188 203%attr(755,root,root) %{_bindir}/typemaker2
c9677431 204%attr(755,root,root) %{_bindir}/xmlmerge
2673ce26 205%attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.*
af34125f 206%attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60
c9677431
JB
207%dir %{_libdir}/gwenhywfar
208%dir %{_libdir}/gwenhywfar/plugins
209%dir %{_libdir}/gwenhywfar/plugins/*
45b54d76
JB
210%dir %{_libdir}/gwenhywfar/plugins/*/ct
211%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so*
212%{_libdir}/gwenhywfar/plugins/*/ct/*.xml
c9677431
JB
213%dir %{_libdir}/gwenhywfar/plugins/*/dbio
214%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so*
215%{_libdir}/gwenhywfar/plugins/*/dbio/*.xml
104ef448
AF
216%dir %{_libdir}/gwenhywfar/plugins/*/configmgr
217%attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so
218%{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml
45b54d76
JB
219# just ca-bundle.crt
220%{_datadir}/gwenhywfar
c9677431
JB
221
222%files devel
223%defattr(644,root,root,755)
224%attr(755,root,root) %{_bindir}/gwenhywfar-config
2673ce26 225%attr(755,root,root) %{_libdir}/libgwenhywfar.so
ce6dc1cb
JB
226%dir %{_includedir}/gwenhywfar4
227%{_includedir}/gwenhywfar4/gwen-gui-cpp
228%{_includedir}/gwenhywfar4/gwenhywfar
c9677431
JB
229%{_aclocaldir}/gwenhywfar.m4
230%{_pkgconfigdir}/gwenhywfar.pc
231
232%files static
233%defattr(644,root,root,755)
ce6dc1cb
JB
234%{_libdir}/libgwenhywfar.a
235
236%files gtk
237%defattr(644,root,root,755)
238%attr(755,root,root) %{_libdir}/libgwengui-gtk2.so.*.*.*
239%attr(755,root,root) %ghost %{_libdir}/libgwengui-gtk2.so.0
240
241%files gtk-devel
242%defattr(644,root,root,755)
243%attr(755,root,root) %{_libdir}/libgwengui-gtk2.so
244%{_includedir}/gwenhywfar4/gwen-gui-gtk2
245%{_pkgconfigdir}/gwengui-gtk2.pc
246
247%files gtk-static
248%defattr(644,root,root,755)
8fc6b9b9 249%{_libdir}/libgwengui-gtk2.a
ce6dc1cb
JB
250
251%files qt
252%defattr(644,root,root,755)
253%attr(755,root,root) %{_libdir}/libgwengui-qt4.so.*.*.*
254%attr(755,root,root) %ghost %{_libdir}/libgwengui-qt4.so.0
255
256%files qt-devel
257%defattr(644,root,root,755)
258%attr(755,root,root) %{_libdir}/libgwengui-qt4.so
259%{_includedir}/gwenhywfar4/gwen-gui-qt4
260%{_pkgconfigdir}/gwengui-qt4.pc
261
262%files qt-static
263%defattr(644,root,root,755)
8fc6b9b9 264%{_libdir}/libgwengui-qt4.a
This page took 0.159017 seconds and 4 git commands to generate.