]>
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 |
ac6b3fa3 | 4 | Version: 2.2.104 |
92033ed4 | 5 | Release: 4 |
55eed577 | 6 | License: LGPL v2 |
d06bd553 | 7 | Group: X11/Libraries |
ac6b3fa3 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.2/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: ab3b10b1c97de5abe38a748a3656da4c | |
87a350cd | 10 | Patch0: %{name}-static.patch |
ab054c29 | 11 | URL: http://www.gnome.org/ |
12 | BuildRequires: autoconf >= 2.53 | |
d06bd553 | 13 | BuildRequires: automake |
07b4a3fc | 14 | BuildRequires: glib2-devel >= 1:2.14.1 |
3ddfc11f | 15 | BuildRequires: gnutls-devel >= 1.2.5 |
94058d22 | 16 | BuildRequires: gtk-doc >= 1.6 |
ab054c29 | 17 | BuildRequires: libgpg-error-devel >= 0.4 |
d06bd553 | 18 | BuildRequires: libtool |
ed63a57a | 19 | BuildRequires: libxml2-devel >= 1:2.6.27 |
55eed577 | 20 | BuildRequires: pkgconfig |
d06bd553 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | It provides an queued asynchronous callback-based mechanism for | |
25 | sending and servicing SOAP requests, and a WSDL (Web Service | |
26 | Definition Language) to C compiler which generates client stubs and | |
27 | server skeletons for easily calling and implementing SOAP methods. | |
28 | ||
bf7695c3 | 29 | %description -l pl.UTF-8 |
d06bd553 | 30 | Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu |
bf7695c3 JR |
31 | do wysyłania i serwowania żądań SOAP oraz WSDL (Web Service Definition |
32 | Language) dla kompilatora C, który generuje klienckie stub i szkielety | |
33 | serwerów dla łatwego wywoływania i implementowania metod SOAP. | |
d06bd553 | 34 | |
35 | %package devel | |
36 | Summary: Include files etc to develop SOAP applications | |
194b570f | 37 | Summary(pl.UTF-8): Pliki nagłówkowe, dokumentacja dla SOAP |
d06bd553 | 38 | Group: X11/Development/Libraries |
10f59832 | 39 | Requires: %{name} = %{version}-%{release} |
07b4a3fc | 40 | Requires: glib2-devel >= 1:2.14.1 |
10f59832 | 41 | Requires: gnutls-devel >= 1.0.6 |
ed63a57a | 42 | Requires: libxml2-devel >= 1:2.6.27 |
d06bd553 | 43 | |
44 | %description devel | |
45 | Header files, etc you can use to develop SOAP applications. | |
46 | ||
bf7695c3 JR |
47 | %description devel -l pl.UTF-8 |
48 | Pliki nagłówkowe itp. Jednym słowem wszystko czego potrzebujesz aby | |
49 | samemu tworzyć sobie aplikacje korzystające z SOAP. | |
d06bd553 | 50 | |
51 | %package static | |
52 | Summary: SOAP static libraries | |
194b570f | 53 | Summary(pl.UTF-8): Biblioteki statyczne SOAP |
d06bd553 | 54 | Group: X11/Development/Libraries |
10f59832 | 55 | Requires: %{name}-devel = %{version}-%{release} |
d06bd553 | 56 | |
57 | %description static | |
58 | SOAP static libraries. | |
59 | ||
bf7695c3 | 60 | %description static -l pl.UTF-8 |
d06bd553 | 61 | Biblioteki statyczne SOAP. |
62 | ||
87a350cd JB |
63 | %package apidocs |
64 | Summary: libsoup API documentation | |
65 | Summary(pl.UTF-8): Dokumentacja API libsoup | |
66 | Group: Documentation | |
67 | Requires: gtk-doc-common | |
68 | ||
69 | %description apidocs | |
70 | libsoup API documentation. | |
71 | ||
72 | %description apidocs -l pl.UTF-8 | |
73 | Dokumentacja API libsoup. | |
74 | ||
d06bd553 | 75 | %prep |
ab054c29 | 76 | %setup -q |
87a350cd | 77 | %patch0 -p1 |
d06bd553 | 78 | |
79 | %build | |
ac50037b | 80 | %{__glib_gettextize} |
d06bd553 | 81 | %{__libtoolize} |
82 | %{__aclocal} | |
83 | %{__autoheader} | |
84 | %{__autoconf} | |
85 | %{__automake} | |
d06bd553 | 86 | %configure \ |
87 | --enable-ssl \ | |
88 | --enable-gtk-doc \ | |
ab054c29 | 89 | --enable-libgpg-error \ |
d06bd553 | 90 | --with-html-dir=%{_gtkdocdir} |
d06bd553 | 91 | %{__make} |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | ||
96 | %{__make} install \ | |
97 | pkgconfigdir=%{_pkgconfigdir} \ | |
98 | m4datadir=%{_aclocaldir} \ | |
99 | DESTDIR=$RPM_BUILD_ROOT | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %post -p /sbin/ldconfig | |
105 | %postun -p /sbin/ldconfig | |
106 | ||
107 | %files | |
108 | %defattr(644,root,root,755) | |
2b6ccac0 | 109 | %doc AUTHORS ChangeLog NEWS README |
87a350cd JB |
110 | %attr(755,root,root) %{_libdir}/libsoup-2.2.so.*.*.* |
111 | %attr(755,root,root) %ghost %{_libdir}/libsoup-2.2.so.8 | |
ed63a57a | 112 | |
d06bd553 | 113 | %files devel |
114 | %defattr(644,root,root,755) | |
87a350cd JB |
115 | %attr(755,root,root) %{_libdir}/libsoup-2.2.so |
116 | %{_libdir}/libsoup-2.2.la | |
117 | %{_includedir}/libsoup-2.2 | |
118 | %{_pkgconfigdir}/libsoup-2.2.pc | |
d06bd553 | 119 | |
120 | %files static | |
121 | %defattr(644,root,root,755) | |
87a350cd JB |
122 | %{_libdir}/libsoup-2.2.a |
123 | ||
124 | %files apidocs | |
125 | %defattr(644,root,root,755) | |
126 | %{_gtkdocdir}/%{name} |