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