]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls.spec
71050d71fb19c89d14b95a46ece88998c17e7f7d
[packages/gnutls.git] / gnutls.spec
1 Summary:        The GNU Transport Layer Security Library
2 Summary(pl):    Biblioteka GNU TLS (Transport Layer Security)
3 Name:           gnutls
4 Version:        1.0.22
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnutls.org/pub/gnutls/%{name}-%{version}.tar.gz
9 # Source0-md5:  3eb211696f64cf179b6f327d51faecb9
10 Patch0:         %{name}-fix.patch
11 URL:            http://www.gnu.org/software/gnutls/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake >= 1:1.8.3
14 BuildRequires:  libcfg+-devel
15 BuildRequires:  libgcrypt-devel >= 1.1.94
16 BuildRequires:  libtasn1-devel >= 0.2.10
17 BuildRequires:  libtool >= 1:1.4.2-9
18 BuildRequires:  lzo-devel
19 BuildRequires:  opencdk-devel >= 0.5.5
20 BuildRequires:  zlib-devel
21 Requires:       libgcrypt >= 1.1.94
22 Requires:       libtasn1 >= 0.2.10
23 Requires:       opencdk >= 0.5.5
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 GnuTLS is a project that aims to develop a library which provides a
28 secure layer, over a reliable transport layer (ie. TCP/IP). Currently
29 the gnuTLS library implements the proposed standards by the IETF's TLS
30 working group.
31
32 %description -l pl
33 GnuTLS to projekt maj±cy na celu stworzenie biblioteki udostêpniaj±cej
34 pow³okê bezpieczeñstwa ponad pow³ok± transportow± (np. TCP/IP).
35 Aktualnie biblioteka gnuTLS implementuje standardy proponowane przez
36 grupê robocz± IETF TLS.
37
38 %package devel
39 Summary:        Header files etc to develop gnutls applications
40 Summary(pl):    Pliki nag³ówkowe i inne do gnutls
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       libgcrypt-devel >= 1.1.94
44 Requires:       libtasn1-devel >= 0.2.10
45 Requires:       zlib-devel
46
47 %description devel
48 Header files etc to develop gnutls applications.
49
50 %description devel -l pl
51 Pliki nag³ówkowe i inne do gnutls.
52
53 %package static
54 Summary:        Static gnutls library
55 Summary(pl):    Biblioteka statyczna gnutls
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static gnutls library.
61
62 %description static -l pl
63 Biblioteka statyczna gnutls.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 rm -f acinclude.m4
70
71 %build
72 # supplied libtool is broken (relink)
73 %{__libtoolize}
74 %{__aclocal}
75 %{__autoconf}
76 %{__autoheader}
77 %{__automake}
78 %configure \
79         --disable-dependency-tracking
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT \
88         m4datadir=%{_aclocaldir}
89
90 echo '.so srptool.1' > $RPM_BUILD_ROOT%{_mandir}/man1/gnutls-srpcrypt.1
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog NEWS README THANKS
101 %attr(755,root,root) %{_bindir}/certtool
102 %attr(755,root,root) %{_bindir}/gnutls*
103 %attr(755,root,root) %{_bindir}/srptool
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %{_mandir}/man1/certtool.1*
106 %{_mandir}/man1/gnutls-*
107 %{_mandir}/man1/srptool.1*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_bindir}/libgnutls*-config
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_libdir}/lib*.la
114 %{_includedir}/gnutls
115 %{_aclocaldir}/*.m4
116 %{_pkgconfigdir}/*.pc
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/lib*.a
This page took 0.427083 seconds and 2 git commands to generate.