]>
Commit | Line | Data |
---|---|---|
c9677431 | 1 | Summary: Gwenhywfar - a multi-platform helper library for networking and security |
c0251854 | 2 | Summary(pl.UTF-8): Gwenhywfar - wieloplatformowa biblioteka pomocnicza do sieci i bezpieczeństwa |
c9677431 | 3 | Name: gwenhywfar |
ec44e9e0 | 4 | Version: 2.6.1 |
23ce3e2f | 5 | Release: 1 |
c9677431 JB |
6 | License: LGPL v2.1+ with OpenSSL linking exception |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/gwenhywfar/%{name}-%{version}.tar.gz | |
ec44e9e0 | 9 | # Source0-md5: 2cf970cd9d966e95c4254fc89530eca7 |
a24cb890 | 10 | Patch0: %{name}-visibility.patch |
c9677431 | 11 | URL: http://gwenhywfar.sourceforge.net/ |
a24cb890 JB |
12 | BuildRequires: autoconf >= 2.56 |
13 | BuildRequires: automake | |
14 | BuildRequires: gettext-devel | |
15 | BuildRequires: libtool | |
c9677431 JB |
16 | BuildRequires: openssl-devel |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | This is Gwenhywfar, a multi-platform helper library for networking and | |
21 | security applications and libraries. It is used by: | |
22 | - Libchipcard2 (http://www.libchipcard.de/), | |
23 | - OpenHBCI2 (http://www.openhbci.de/), | |
24 | - Simthetic, the simulation tool (http://simthetic.sourceforge.net/) | |
25 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). | |
26 | ||
4dabdb30 | 27 | %description -l pl.UTF-8 |
c9677431 | 28 | To jest Gwenhywfar - wieloplatformowa biblioteka pomocnicza do |
4dabdb30 JR |
29 | aplikacji i bibliotek związanych z siecią i bezpieczeństwem. Jest |
30 | używana przez: | |
c9677431 JB |
31 | - Libchipcard2 (http://www.libchipcard.de/), |
32 | - OpenHBCI2 (http://www.openhbci.de/), | |
4dabdb30 | 33 | - narzędzie do symulacji Simthetic (http://simthetic.sourceforge.net/) |
c9677431 JB |
34 | - AqBanking/AqHBCI (http://www.aquamaniac.de/aqbanking/). |
35 | ||
36 | %package devel | |
37 | Summary: Header files for Gwenhywfar library | |
c0251854 | 38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Gwenhywfar |
c9677431 JB |
39 | Group: Development/Libraries |
40 | Requires: %{name} = %{version}-%{release} | |
41 | Requires: openssl-devel | |
c9677431 JB |
42 | |
43 | %description devel | |
44 | Header files for Gwenhywfar library. | |
45 | ||
4dabdb30 JR |
46 | %description devel -l pl.UTF-8 |
47 | Pliki nagłówkowe biblioteki Gwenhywfar. | |
c9677431 JB |
48 | |
49 | %package static | |
50 | Summary: Static Gwenhywfar library | |
c0251854 | 51 | Summary(pl.UTF-8): Statyczna biblioteka Gwenhywfar |
c9677431 JB |
52 | Group: Development/Libraries |
53 | Requires: %{name}-devel = %{version}-%{release} | |
54 | ||
55 | %description static | |
56 | Static Gwenhywfar library. | |
57 | ||
4dabdb30 | 58 | %description static -l pl.UTF-8 |
c9677431 JB |
59 | Statyczna biblioteka Gwenhywfar. |
60 | ||
61 | %prep | |
62 | %setup -q | |
a24cb890 | 63 | %patch0 -p1 |
c9677431 JB |
64 | |
65 | %build | |
a24cb890 JB |
66 | %{__libtoolize} |
67 | %{__aclocal} -I m4 | |
68 | %{__autoconf} | |
69 | %{__autoheader} | |
70 | %{__automake} | |
c9677431 | 71 | %configure \ |
f2cfcef2 JB |
72 | --enable-static \ |
73 | --with-openssl-libs=%{_libdir} | |
c9677431 JB |
74 | %{__make} |
75 | ||
76 | %install | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
82 | rm -f $RPM_BUILD_ROOT%{_libdir}/gwenhywfar/plugins/*/*/*.{la,a} | |
83 | ||
84 | %find_lang %{name} | |
85 | ||
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
89 | %post -p /sbin/ldconfig | |
90 | %postun -p /sbin/ldconfig | |
91 | ||
92 | %files -f %{name}.lang | |
93 | %defattr(644,root,root,755) | |
94 | %doc AUTHORS ChangeLog NEWS README TODO | |
c9677431 JB |
95 | %attr(755,root,root) %{_bindir}/gct-tool |
96 | %attr(755,root,root) %{_bindir}/mklistdoc | |
97 | %attr(755,root,root) %{_bindir}/typemaker | |
98 | %attr(755,root,root) %{_bindir}/xmlmerge | |
2673ce26 | 99 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so.*.*.* |
c9677431 JB |
100 | %dir %{_libdir}/gwenhywfar |
101 | %dir %{_libdir}/gwenhywfar/plugins | |
102 | %dir %{_libdir}/gwenhywfar/plugins/* | |
103 | %dir %{_libdir}/gwenhywfar/plugins/*/crypttoken | |
104 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/crypttoken/*.so* | |
105 | %{_libdir}/gwenhywfar/plugins/*/crypttoken/*.xml | |
106 | %dir %{_libdir}/gwenhywfar/plugins/*/dbio | |
107 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/dbio/*.so* | |
108 | %{_libdir}/gwenhywfar/plugins/*/dbio/*.xml | |
7cbbc0c6 JB |
109 | %dir %{_libdir}/gwenhywfar/plugins/*/storage |
110 | %attr(755,root,root) %{_libdir}/gwenhywfar/plugins/*/storage/*.so* | |
111 | %{_libdir}/gwenhywfar/plugins/*/storage/*.xml | |
c9677431 JB |
112 | %{_sysconfdir}/gwen-public-ca.crt |
113 | ||
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
116 | %attr(755,root,root) %{_bindir}/gwenhywfar-config | |
2673ce26 JB |
117 | %attr(755,root,root) %{_libdir}/libgwenhywfar.so |
118 | %{_libdir}/libgwenhywfar.la | |
c9677431 | 119 | %{_includedir}/gwenhywfar |
c9677431 JB |
120 | %{_aclocaldir}/gwenhywfar.m4 |
121 | %{_pkgconfigdir}/gwenhywfar.pc | |
122 | ||
123 | %files static | |
124 | %defattr(644,root,root,755) | |
2673ce26 | 125 | %{_libdir}/libgwenhywfar.a |