ecce1cc8e5cb338df34930e608fe54b6fb285c70
[packages/libsoup3.git] / libsoup.spec
1 Summary:        SOAP (Simple Object Access Protocol) implementation in C
2 Summary(pl.UTF-8):      Implementacja w C SOAP (Simple Object Access Protocol)
3 Name:           libsoup
4 Version:        2.68.3
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.68/%{name}-%{version}.tar.xz
9 # Source0-md5:  29ee2ee7017945b64ede063b1396011c
10 Patch0:         %{name}-path-override.patch
11 URL:            https://wiki.gnome.org/Projects/libsoup
12 BuildRequires:  docbook-dtd412-xml
13 BuildRequires:  gettext-tools
14 BuildRequires:  glib2-devel >= 1:2.38.0
15 BuildRequires:  gobject-introspection-devel >= 0.10.0
16 BuildRequires:  gtk-doc >= 1.20
17 BuildRequires:  heimdal-devel
18 BuildRequires:  libbrotli-devel
19 BuildRequires:  libpsl-devel >= 0.20.0
20 BuildRequires:  libxml2-devel >= 1:2.6.31
21 BuildRequires:  meson >= 0.50
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.736
25 BuildRequires:  sqlite3-devel
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  vala
28 BuildRequires:  xz
29 BuildRequires:  zlib-devel
30 Requires:       glib2 >= 1:2.38.0
31 Requires:       libpsl >= 0.20.0
32 # for TLS support
33 Suggests:       glib-networking
34 # ntlm_auth for NTLM support
35 Suggests:       samba-winbind
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 It provides an queued asynchronous callback-based mechanism for
40 sending and servicing SOAP requests, and a WSDL (Web Service
41 Definition Language) to C compiler which generates client stubs and
42 server skeletons for easily calling and implementing SOAP methods.
43
44 %description -l pl.UTF-8
45 Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu
46 do wysyłania i serwowania żądań SOAP oraz WSDL (Web Service Definition
47 Language) dla kompilatora C, który generuje klienckie stub i szkielety
48 serwerów dla łatwego wywoływania i implementowania metod SOAP.
49
50 %package devel
51 Summary:        Include files etc to develop SOAP applications
52 Summary(pl.UTF-8):      Pliki nagłówkowe, dokumentacja dla SOAP
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       glib2-devel >= 1:2.38.0
56 Requires:       libxml2-devel >= 1:2.6.31
57
58 %description devel
59 Header files, etc you can use to develop SOAP applications.
60
61 %description devel -l pl.UTF-8
62 Pliki nagłówkowe itp. Jednym słowem wszystko czego potrzebujesz aby
63 samemu tworzyć sobie aplikacje korzystające z SOAP.
64
65 %package static
66 Summary:        SOAP static libraries
67 Summary(pl.UTF-8):      Biblioteki statyczne SOAP
68 Group:          Development/Libraries
69 Requires:       %{name}-devel = %{version}-%{release}
70
71 %description static
72 SOAP static libraries.
73
74 %description static -l pl.UTF-8
75 Biblioteki statyczne SOAP.
76
77 %package gnome
78 Summary:        GNOME specific extensions to libsoup library
79 Summary(pl.UTF-8):      Rozszerzenia GNOME do biblioteki libsoup
80 Group:          Libraries
81 Requires:       %{name} = %{version}-%{release}
82
83 %description gnome
84 GNOME specific extensions to libsoup library.
85
86 %description gnome -l pl.UTF-8
87 Rozszerzenia GNOME do biblioteki libsoup.
88
89 %package gnome-devel
90 Summary:        Header files for libsoup-gnome library
91 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libsoup-gnome
92 Group:          Development/Libraries
93 Requires:       %{name}-devel = %{version}-%{release}
94 Requires:       %{name}-gnome = %{version}-%{release}
95
96 %description gnome-devel
97 Header files for libsoup-gnome library.
98
99 %description gnome-devel -l pl.UTF-8
100 Pliki nagłówkowe biblioteki libsoup-gnome.
101
102 %package gnome-static
103 Summary:        Static libsoup-gnome library
104 Summary(pl.UTF-8):      Statyczna biblioteka libsoup-gnome
105 Group:          Development/Libraries
106 Requires:       %{name}-gnome-devel = %{version}-%{release}
107
108 %description gnome-static
109 Static libsoup-gnome library.
110
111 %description gnome-static -l pl.UTF-8
112 Statyczna biblioteka libsoup-gnome.
113
114 %package apidocs
115 Summary:        libsoup API documentation
116 Summary(pl.UTF-8):      Dokumentacja API libsoup
117 Group:          Documentation
118 Requires:       gtk-doc-common
119 %if "%{_rpmversion}" >= "5"
120 BuildArch:      noarch
121 %endif
122
123 %description apidocs
124 libsoup API documentation.
125
126 %description apidocs -l pl.UTF-8
127 Dokumentacja API libsoup.
128
129 %package -n vala-libsoup
130 Summary:        libsoup API for Vala language
131 Summary(pl.UTF-8):      API libsoup dla języka Vala
132 Group:          Development/Libraries
133 Requires:       %{name}-devel = %{version}-%{release}
134 Requires:       vala
135 %if "%{_rpmversion}" >= "5"
136 BuildArch:      noarch
137 %endif
138
139 %description -n vala-libsoup
140 libsoup API for Vala language.
141
142 %description -n vala-libsoup -l pl.UTF-8
143 API libsoup dla języka Vala.
144
145 %prep
146 %setup -q
147 %patch0 -p1
148
149 %build
150 %meson build \
151         -Ddoc=true \
152         -Dgtk_doc=true \
153         -Dntlm=enabled \
154         -Dntlm_auth=/usr/bin/ntlm_auth \
155         -Dtests=false \
156         -Dtls_check=false
157
158 %ninja_build -C build
159
160 %install
161 rm -rf $RPM_BUILD_ROOT
162
163 %ninja_install -C build
164
165 %find_lang libsoup
166
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %post   -p /sbin/ldconfig
171 %postun -p /sbin/ldconfig
172
173 %post   gnome -p /sbin/ldconfig
174 %postun gnome -p /sbin/ldconfig
175
176 %files -f libsoup.lang
177 %defattr(644,root,root,755)
178 %doc AUTHORS MAINTAINERS NEWS README
179 %attr(755,root,root) %{_libdir}/libsoup-2.4.so.*.*.*
180 %attr(755,root,root) %ghost %{_libdir}/libsoup-2.4.so.1
181 %{_libdir}/girepository-1.0/Soup-2.4.typelib
182
183 %files devel
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/libsoup-2.4.so
186 %{_includedir}/libsoup-2.4
187 %{_pkgconfigdir}/libsoup-2.4.pc
188 %{_datadir}/gir-1.0/Soup-2.4.gir
189
190 %files static
191 %defattr(644,root,root,755)
192 %{_libdir}/libsoup-2.4.a
193
194 %files gnome
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so.*.*.*
197 %attr(755,root,root) %ghost %{_libdir}/libsoup-gnome-2.4.so.1
198 %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
199
200 %files gnome-devel
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so
203 %{_includedir}/libsoup-gnome-2.4
204 %{_pkgconfigdir}/libsoup-gnome-2.4.pc
205 %{_datadir}/gir-1.0/SoupGNOME-2.4.gir
206
207 %files gnome-static
208 %defattr(644,root,root,755)
209 %{_libdir}/libsoup-gnome-2.4.a
210
211 %files apidocs
212 %defattr(644,root,root,755)
213 %{_gtkdocdir}/libsoup-2.4
214
215 %files -n vala-libsoup
216 %defattr(644,root,root,755)
217 %{_datadir}/vala/vapi/libsoup-2.4.deps
218 %{_datadir}/vala/vapi/libsoup-2.4.vapi
This page took 0.133197 seconds and 2 git commands to generate.