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