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