]>
Commit | Line | Data |
---|---|---|
d06bd553 | 1 | Summary: SOAP (Simple Object Access Protocol) implementation in C |
194b570f | 2 | Summary(pl.UTF-8): Implementacja w C SOAP (Simple Object Access Protocol) |
d06bd553 | 3 | Name: libsoup |
4b2343e8 | 4 | Version: 2.68.4 |
727ea648 | 5 | Release: 1 |
a3f5bf1b MB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
4d3f1f19 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.68/%{name}-%{version}.tar.xz |
4b2343e8 | 9 | # Source0-md5: 603f3a945cd6ecc1fda644d7853b3b81 |
4d3f1f19 | 10 | Patch0: %{name}-path-override.patch |
86d19c61 | 11 | URL: https://wiki.gnome.org/Projects/libsoup |
9e2fd6da | 12 | BuildRequires: docbook-dtd412-xml |
28361b79 | 13 | BuildRequires: gettext-tools |
4b2343e8 | 14 | BuildRequires: glib2-devel >= 1:2.58 |
9e60aec2 | 15 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
0bbb9de2 | 16 | BuildRequires: gtk-doc >= 1.20 |
475c1a80 | 17 | BuildRequires: heimdal-devel |
4d3f1f19 | 18 | BuildRequires: libbrotli-devel |
86d19c61 | 19 | BuildRequires: libpsl-devel >= 0.20.0 |
a3f5bf1b | 20 | BuildRequires: libxml2-devel >= 1:2.6.31 |
4d3f1f19 | 21 | BuildRequires: meson >= 0.50 |
cd391c0d | 22 | BuildRequires: ninja >= 1.5 |
55eed577 | 23 | BuildRequires: pkgconfig |
cd391c0d | 24 | BuildRequires: rpmbuild(macros) >= 1.736 |
e83255a4 | 25 | BuildRequires: sqlite3-devel |
41e0c157 | 26 | BuildRequires: tar >= 1:1.22 |
cd391c0d | 27 | BuildRequires: vala |
41e0c157 | 28 | BuildRequires: xz |
4d3f1f19 | 29 | BuildRequires: zlib-devel |
4b2343e8 | 30 | Requires: glib2 >= 1:2.58 |
86d19c61 | 31 | Requires: libpsl >= 0.20.0 |
cd391c0d | 32 | # for TLS support |
369ae86b | 33 | Suggests: glib-networking |
cd391c0d JB |
34 | # ntlm_auth for NTLM support |
35 | Suggests: samba-winbind | |
d06bd553 | 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 | ||
bf7695c3 | 44 | %description -l pl.UTF-8 |
d06bd553 | 45 | Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu |
bf7695c3 JR |
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. | |
d06bd553 | 49 | |
50 | %package devel | |
51 | Summary: Include files etc to develop SOAP applications | |
194b570f | 52 | Summary(pl.UTF-8): Pliki nagłówkowe, dokumentacja dla SOAP |
a3f5bf1b | 53 | Group: Development/Libraries |
10f59832 | 54 | Requires: %{name} = %{version}-%{release} |
4b2343e8 | 55 | Requires: glib2-devel >= 1:2.58 |
a3f5bf1b | 56 | Requires: libxml2-devel >= 1:2.6.31 |
d06bd553 | 57 | |
58 | %description devel | |
59 | Header files, etc you can use to develop SOAP applications. | |
60 | ||
bf7695c3 JR |
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. | |
d06bd553 | 64 | |
65 | %package static | |
66 | Summary: SOAP static libraries | |
194b570f | 67 | Summary(pl.UTF-8): Biblioteki statyczne SOAP |
a3f5bf1b | 68 | Group: Development/Libraries |
10f59832 | 69 | Requires: %{name}-devel = %{version}-%{release} |
d06bd553 | 70 | |
71 | %description static | |
72 | SOAP static libraries. | |
73 | ||
bf7695c3 | 74 | %description static -l pl.UTF-8 |
d06bd553 | 75 | Biblioteki statyczne SOAP. |
76 | ||
e83255a4 MB |
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 | ||
87a350cd JB |
114 | %package apidocs |
115 | Summary: libsoup API documentation | |
116 | Summary(pl.UTF-8): Dokumentacja API libsoup | |
117 | Group: Documentation | |
118 | Requires: gtk-doc-common | |
8df3eb7d ER |
119 | %if "%{_rpmversion}" >= "5" |
120 | BuildArch: noarch | |
121 | %endif | |
87a350cd JB |
122 | |
123 | %description apidocs | |
124 | libsoup API documentation. | |
125 | ||
126 | %description apidocs -l pl.UTF-8 | |
127 | Dokumentacja API libsoup. | |
128 | ||
086a6223 MB |
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 | |
9e591aa0 ER |
135 | %if "%{_rpmversion}" >= "5" |
136 | BuildArch: noarch | |
137 | %endif | |
086a6223 MB |
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 | ||
d06bd553 | 145 | %prep |
ab054c29 | 146 | %setup -q |
4d3f1f19 | 147 | %patch0 -p1 |
d06bd553 | 148 | |
149 | %build | |
cd391c0d JB |
150 | %meson build \ |
151 | -Ddoc=true \ | |
4d3f1f19 JB |
152 | -Dgtk_doc=true \ |
153 | -Dntlm=enabled \ | |
cd391c0d JB |
154 | -Dntlm_auth=/usr/bin/ntlm_auth \ |
155 | -Dtests=false \ | |
156 | -Dtls_check=false | |
157 | ||
158 | %ninja_build -C build | |
d06bd553 | 159 | |
160 | %install | |
161 | rm -rf $RPM_BUILD_ROOT | |
162 | ||
cd391c0d | 163 | %ninja_install -C build |
9e60aec2 | 164 | |
c9a244c2 ŁK |
165 | %find_lang libsoup |
166 | ||
d06bd553 | 167 | %clean |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
170 | %post -p /sbin/ldconfig | |
171 | %postun -p /sbin/ldconfig | |
172 | ||
e83255a4 MB |
173 | %post gnome -p /sbin/ldconfig |
174 | %postun gnome -p /sbin/ldconfig | |
175 | ||
c9a244c2 | 176 | %files -f libsoup.lang |
d06bd553 | 177 | %defattr(644,root,root,755) |
cd391c0d | 178 | %doc AUTHORS MAINTAINERS NEWS README |
a3f5bf1b MB |
179 | %attr(755,root,root) %{_libdir}/libsoup-2.4.so.*.*.* |
180 | %attr(755,root,root) %ghost %{_libdir}/libsoup-2.4.so.1 | |
09867d81 | 181 | %{_libdir}/girepository-1.0/Soup-2.4.typelib |
ed63a57a | 182 | |
d06bd553 | 183 | %files devel |
184 | %defattr(644,root,root,755) | |
a3f5bf1b | 185 | %attr(755,root,root) %{_libdir}/libsoup-2.4.so |
a3f5bf1b MB |
186 | %{_includedir}/libsoup-2.4 |
187 | %{_pkgconfigdir}/libsoup-2.4.pc | |
09867d81 | 188 | %{_datadir}/gir-1.0/Soup-2.4.gir |
d06bd553 | 189 | |
190 | %files static | |
191 | %defattr(644,root,root,755) | |
a3f5bf1b | 192 | %{_libdir}/libsoup-2.4.a |
87a350cd | 193 | |
e83255a4 MB |
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 | |
09867d81 | 198 | %{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib |
e83255a4 MB |
199 | |
200 | %files gnome-devel | |
201 | %defattr(644,root,root,755) | |
202 | %attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so | |
e83255a4 MB |
203 | %{_includedir}/libsoup-gnome-2.4 |
204 | %{_pkgconfigdir}/libsoup-gnome-2.4.pc | |
09867d81 | 205 | %{_datadir}/gir-1.0/SoupGNOME-2.4.gir |
e83255a4 MB |
206 | |
207 | %files gnome-static | |
208 | %defattr(644,root,root,755) | |
209 | %{_libdir}/libsoup-gnome-2.4.a | |
210 | ||
87a350cd JB |
211 | %files apidocs |
212 | %defattr(644,root,root,755) | |
a3f5bf1b | 213 | %{_gtkdocdir}/libsoup-2.4 |
086a6223 MB |
214 | |
215 | %files -n vala-libsoup | |
216 | %defattr(644,root,root,755) | |
fb91c5fb | 217 | %{_datadir}/vala/vapi/libsoup-2.4.deps |
086a6223 | 218 | %{_datadir}/vala/vapi/libsoup-2.4.vapi |