]> git.pld-linux.org Git - SPECS.git/blob - gss.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gss.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        Implementation of General Security Service API
6 Summary(pl.UTF-8):      Implementacja GSS API (General Security Service API)
7 Name:           gss
8 Version:        1.0.3
9 Release:        1
10 License:        GPL v3+
11 Group:          Libraries
12 Source0:        http://ftp.gnu.org/gnu/gss/%{name}-%{version}.tar.gz
13 # Source0-md5:  441859b30bed73010d426c087c71aac5
14 Patch0:         %{name}-info.patch
15 URL:            http://josefsson.org/gss/
16 BuildRequires:  autoconf >= 2.61
17 BuildRequires:  automake >= 1:1.10
18 BuildRequires:  docbook-dtd412-xml
19 BuildRequires:  gettext-tools >= 0.19.2
20 BuildRequires:  gtk-doc >= 1.1
21 BuildRequires:  help2man
22 BuildRequires:  libtool >= 2:2
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.98
25 BuildRequires:  shishi-devel >= 0.0.18
26 BuildRequires:  texinfo
27 Requires:       shishi >= 0.0.18
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GSS is an implementation of the Generic Security Service Application
32 Program Interface (GSS-API). GSS-API is used by network servers to
33 provide security services, e.g., to authenticate SMTP/IMAP clients
34 against SMTP/IMAP servers.
35
36 %description -l pl.UTF-8
37 GSS to implementacja GSS-API (Generic Security Service Application
38 Program Interface - ogólnego API usług bezpieczeństwa). GSS-API jest
39 używane przez serwery sieciowe do udostępniania usług bezpieczeństwa,
40 na przykład uwierzytelniania klientów SMTP/IMAP dla serwerów
41 SMTP/IMAP.
42
43 %package devel
44 Summary:        Header files for GSS library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki GSS
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       gtk-doc-common
49 Requires:       shishi-devel >= 0.0.18
50 # man3/gss_acquire_cred.3 file conflict
51 Conflicts:      heimdal-devel
52
53 %description devel
54 Header files for GSS library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki GSS.
58
59 %package static
60 Summary:        Static GSS library
61 Summary(pl.UTF-8):      Statyczna biblioteka GSS
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static GSS library.
67
68 %description static -l pl.UTF-8
69 Statyczna biblioteka GSS.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74
75 %{__rm} m4/libtool.m4 po/stamp-po
76
77 %build
78 %{__gettextize}
79 %{__libtoolize}
80 %{__aclocal} -I m4 -I gl/m4 -I lib/gl/m4 -I src/gl/m4
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         --disable-silent-rules \
86         %{!?with_static_libs:--disable-static} \
87         --enable-gtk-doc \
88         --with-html-dir=%{_gtkdocdir}
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %find_lang %{name}
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post   -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
105
106 %post   devel -p /sbin/postshell
107 -/usr/sbin/fix-info-dir -c %{_infodir}
108
109 %postun devel -p /sbin/postshell
110 -/usr/sbin/fix-info-dir -c %{_infodir}
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog NEWS README* THANKS
115 %attr(755,root,root) %{_bindir}/gss
116 %attr(755,root,root) %{_libdir}/libgss.so.*.*.*
117 %attr(755,root,root) %ghost %{_libdir}/libgss.so.3
118 %{_mandir}/man1/gss.1*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libgss.so
123 %{_libdir}/libgss.la
124 %{_includedir}/gss.h
125 %{_includedir}/gss
126 %{_pkgconfigdir}/gss.pc
127 %{_infodir}/gss.info*
128 %{_mandir}/man3/gss*.3*
129 %{_gtkdocdir}/gss
130
131 %if %{with static_libs}
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libgss.a
135 %endif
This page took 0.47931 seconds and 3 git commands to generate.