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