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