1 |
%define major 26 |
%define major 28 |
2 |
%define sslmajor 27 |
%define sslmajor 27 |
3 |
%define libname %mklibname %{name} %{major} |
%define libname %mklibname %{name} %{major} |
4 |
%define libssl %mklibname %{name}-ssl %{sslmajor} |
%define libssl %mklibname %{name}-ssl %{sslmajor} |
67 |
|
|
68 |
%build |
%build |
69 |
%configure2_5x \ |
%configure2_5x \ |
70 |
|
--disable-static \ |
71 |
--with-included-libtasn1=no \ |
--with-included-libtasn1=no \ |
72 |
--with-included-libcfg=yes \ |
--with-included-libcfg=yes \ |
73 |
--with-libz-prefix=%{_prefix} \ |
--with-libz-prefix=%{_prefix} \ |
89 |
|
|
90 |
%{find_lang} %{name} %{name} libgnutls |
%{find_lang} %{name} %{name} libgnutls |
91 |
|
|
92 |
|
rm -f %{buildroot}%{_libdir}/*.la |
93 |
|
|
94 |
%clean |
%clean |
95 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
96 |
|
|
120 |
%files -n %{develname} |
%files -n %{develname} |
121 |
%defattr(-,root,root) |
%defattr(-,root,root) |
122 |
%{_libdir}/*.so |
%{_libdir}/*.so |
|
%{_libdir}/*.a |
|
|
%{_libdir}/*.la |
|
123 |
%{_libdir}/pkgconfig/*.pc |
%{_libdir}/pkgconfig/*.pc |
124 |
%{_includedir}/gnutls |
%{_includedir}/gnutls |