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