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