]> git.pld-linux.org Git - packages/libgssglue.git/blob - libgssglue.spec
- new project home and maintainer, updated to 0.5
[packages/libgssglue.git] / libgssglue.spec
1 Summary:        GSSAPI interface using mechanisms from other GSSAPI implementations
2 Summary(pl.UTF-8):      Interfejs GSSAPI używający mechanizmów z innych implementacji GSSAPI
3 Name:           libgssglue
4 Version:        0.5
5 Release:        1
6 License:        BSD/MIT
7 Group:          Libraries
8 #Source0Download: https://gitlab.com/gsasl/libgssglue/-/releases
9 Source0:        https://gitlab.com/gsasl/libgssglue/uploads/eed1e65e06ed330214bd6f647af42b7f/%{name}-%{version}.tar.gz
10 # Source0-md5:  8ffe582d3678b4789d7f67666d71b1d2
11 Patch0:         %{name}-soname.patch
12 URL:            https://gitlab.com/gsasl/libgssglue
13 Obsoletes:      libgssapi < 0.12
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %undefine       __cxx
17
18 %description
19 This library exports a GSSAPI interface, but doesn't implement any
20 GSSAPI mechanisms itself; instead it calls GSSAPI routines in other
21 libraries, depending on the mechanism.
22
23 %description -l pl.UTF-8
24 Ta biblioteka eksportuje interfejs GSSAPI, ale sama nie implementuje
25 żadnego mechanizmu GSSAPI - zamiast tego wywołuje funkcje GSSAPI z
26 innych bibliotek, w zależności od mechanizmu.
27
28 %package devel
29 Summary:        Development files for libgssglue library
30 Summary(pl.UTF-8):      Pliki programistyczne biblioteki libgssglue
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Obsoletes:      libgssapi-devel < 0.12
34
35 %description devel
36 Development files for libgssglue library.
37
38 %description devel -l pl.UTF-8
39 Pliki programistyczne biblioteki libgssglue.
40
41 %package static
42 Summary:        Static libgssglue library
43 Summary(pl.UTF-8):      Statyczna biblioteka libgssglue
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46 Obsoletes:      libgssapi-static < 0.12
47
48 %description static
49 Static libgssglue library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka libgssglue.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib}}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 sed -e 's|/lib/|/%{_lib}/|g' doc/gssapi_mech.conf > $RPM_BUILD_ROOT%{_sysconfdir}/gssapi_mech.conf
70
71 %{__mv} $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.so
73 ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/lib*.so.*.*) \
74         $RPM_BUILD_ROOT%{_libdir}/libgssglue.so
75
76 # obsoleted by pkg-config
77 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgssglue.la
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS COPYING ChangeLog README
88 %attr(755,root,root) /%{_lib}/libgssglue.so.*.*.*
89 %attr(755,root,root) %ghost /%{_lib}/libgssglue.so.1
90 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gssapi_mech.conf
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libgssglue.so
95 %{_includedir}/gssglue
96 %{_pkgconfigdir}/libgssglue.pc
97
98 %files static
99 %defattr(644,root,root,755)
100 %{_libdir}/libgssglue.a
This page took 0.093019 seconds and 3 git commands to generate.