]>
Commit | Line | Data |
---|---|---|
af34125f | 1 | # |
2 | # TODO: - define _one_, system-wide place for ca-bundle.crt and use one, up-to-date file | |
3 | # - unpackaged files | |
4 | # | |
c9677431 | 5 | Summary: Gwenhywfar - a multi-platform helper library for networking and security |
c0251854 | 6 | Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa |
c9677431 | 7 | Name: gwenhywfar |
6a626f7c | 8 | Version: 4.0.2 |
af34125f | 9 | Release: 1 |
c9677431 JB |
10 | License: LGPL v2.1+ with OpenSSL linking exception |
11 | Group: Libraries | |
104ef448 | 12 | # http://www2.aquamaniac.de/sites/download/packages.php |
6440f570 | 13 | Source0: %{name}-%{version}.tar.gz |
6a626f7c | 14 | # Source0-md5: d9f95ad9d0bee821ad373af5a57114e7 |
a3e2fd8e | 15 | URL: http://www.aquamaniac.de/aqbanking/ |
f0815efc | 16 | BuildRequires: QtGui-devel |
45b54d76 | 17 | BuildRequires: autoconf >= 2.60 |
a24cb890 JB |
18 | BuildRequires: automake |
19 | BuildRequires: gettext-devel | |
45b54d76 | 20 | BuildRequires: gnutls-devel >= 1.6.1 |
a24cb890 | 21 | BuildRequires: libtool |
c9677431 | 22 | BuildRequires: openssl-devel |
c3f30a6d | 23 | BuildRequires: qt4-build |
c9677431 JB |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
27 | This is Gwenhywfar, a multi-platform helper library for networking and | |
28 | security applications and libraries. It is used by: | |
45b54d76 | 29 | - Libchipcard (http://www.libchipcard.de/), |
c9677431 JB |
30 | - OpenHBCI2 (http://www.openhbci.de/), |
31 | - Simthetic, the simulation tool (http://simthetic.sourceforge.net/) | |
32 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). | |
33 | ||
4dabdb30 | 34 | %description -l pl.UTF-8 |
c9677431 | 35 | To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do |
4dabdb30 JR |
36 | aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest |
37 | używana przez: | |
45b54d76 | 38 | - Libchipcard (http://www.libchipcard.de/), |
c9677431 | 39 | - OpenHBCI2 (http://www.openhbci.de/), |
4dabdb30 | 40 | - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/) |
c9677431 JB |
41 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). |
42 | ||
43 | %package devel | |
44 | Summary: Header files for Gwenhywfar library | |
c0251854 | 45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar |
c9677431 JB |
46 | Group: Development/Libraries |
47 | Requires: %{name} = %{version}-%{release} | |
45b54d76 | 48 | Requires: gnutls-devel >= 1.6.1 |
c9677431 JB |
49 | |
50 | %description devel | |
51 | Header files for Gwenhywfar library. | |
52 | ||
4dabdb30 JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe biblioteki Gwenhywfar. | |
c9677431 JB |
55 | |
56 | %package static | |
57 | Summary: Static Gwenhywfar library | |
c0251854 | 58 | Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar |
c9677431 JB |
59 | Group: Development/Libraries |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
63 | Static Gwenhywfar library. | |
64 | ||
4dabdb30 | 65 | %description static -l pl.UTF-8 |
c9677431 JB |
66 | Statyczna biblioteka Gwenhywfar. |
67 | ||
68 | %prep | |
69 | %setup -q | |
70 | ||
71 | %build | |
45b54d76 JB |
72 | # gettextize not used (custom support instead of AM_GNU_GETTEXT) |
73 | touch config.rpath | |
a24cb890 JB |
74 | %{__libtoolize} |
75 | %{__aclocal} -I m4 | |
76 | %{__autoconf} | |
77 | %{__autoheader} | |
78 | %{__automake} | |
c9677431 | 79 | %configure \ |
f2cfcef2 | 80 | --enable-static \ |
b315c75e | 81 | --with-qt4-libs=%{_libdir} \ |
079bd569 | 82 | --with-openssl-libs=%{_libdir} |
c77e6c9f | 83 | |
c3f30a6d | 84 | %{__make} |
c9677431 JB |
85 | |
86 | %install | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %{__make} install \ | |
90 | DESTDIR=$RPM_BUILD_ROOT | |
91 | ||
7a38ab96 | 92 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} |
c9677431 JB |
93 | |
94 | %find_lang %{name} | |
95 | ||
96 | %clean | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %post -p /sbin/ldconfig | |
100 | %postun -p /sbin/ldconfig | |
101 | ||
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
104 | %doc AUTHORS ChangeLog NEWS README TODO | |
c9677431 JB |
105 | %attr(755,root,root) %{_bindir}/gct-tool |
106 | %attr(755,root,root) %{_bindir}/mklistdoc | |
107 | %attr(755,root,root) %{_bindir}/typemaker | |
9599e188 | 108 | %attr(755,root,root) %{_bindir}/typemaker2 |
c9677431 | 109 | %attr(755,root,root) %{_bindir}/xmlmerge |
2673ce26 | 110 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.* |
af34125f | 111 | %attr(755,root,root) %ghost %{_libdir}/libgwenhywfar.so.60 |
c9677431 JB |
112 | %dir %{_libdir}/gwenhywfar |
113 | %dir %{_libdir}/gwenhywfar/plugins | |
114 | %dir %{_libdir}/gwenhywfar/plugins/* | |
45b54d76 JB |
115 | %dir %{_libdir}/gwenhywfar/plugins/*/ct |
116 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/ct/*.so* | |
117 | %{_libdir}/gwenhywfar/plugins/*/ct/*.xml | |
c9677431 JB |
118 | %dir %{_libdir}/gwenhywfar/plugins/*/dbio |
119 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* | |
120 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
104ef448 AF |
121 | %dir %{_libdir}/gwenhywfar/plugins/*/configmgr |
122 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/configmgr/*.so | |
123 | %{_libdir}/gwenhywfar/plugins/*/configmgr/*.xml | |
45b54d76 JB |
124 | # just ca-bundle.crt |
125 | %{_datadir}/gwenhywfar | |
c9677431 JB |
126 | |
127 | %files devel | |
128 | %defattr(644,root,root,755) | |
129 | %attr(755,root,root) %{_bindir}/gwenhywfar-config | |
2673ce26 JB |
130 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so |
131 | %{_libdir}/libgwenhywfar.la | |
af34125f | 132 | %{_includedir}/gwenhywfar4 |
c9677431 JB |
133 | %{_aclocaldir}/gwenhywfar.m4 |
134 | %{_pkgconfigdir}/gwenhywfar.pc | |
135 | ||
136 | %files static | |
137 | %defattr(644,root,root,755) | |
2673ce26 | 138 | %{_libdir}/libgwenhywfar.a |