]> git.pld-linux.org Git - packages/libsoup3.git/blob - libsoup.spec
7cd4b85fad344a8a2990d225a67b1f4c407e70a5
[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.30.2
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f33b62063e76a9b1d5503363a3ed6a84
10 Patch0:         %{name}-gnutls-TLS1.2.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel
13 BuildRequires:  autoconf >= 2.63
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  glib2-devel >= 1:2.22.0
17 BuildRequires:  gnutls-devel >= 2.1.7
18 BuildRequires:  gtk-doc >= 1.6
19 BuildRequires:  libgnome-keyring-devel
20 BuildRequires:  libproxy-devel
21 BuildRequires:  libtool
22 BuildRequires:  libxml2-devel >= 1:2.6.31
23 BuildRequires:  pkgconfig
24 BuildRequires:  sqlite3-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 It provides an queued asynchronous callback-based mechanism for
29 sending and servicing SOAP requests, and a WSDL (Web Service
30 Definition Language) to C compiler which generates client stubs and
31 server skeletons for easily calling and implementing SOAP methods.
32
33 %description -l pl.UTF-8
34 Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu
35 do wysyłania i serwowania żądań SOAP oraz WSDL (Web Service Definition
36 Language) dla kompilatora C, który generuje klienckie stub i szkielety
37 serwerów dla łatwego wywoływania i implementowania metod SOAP.
38
39 %package devel
40 Summary:        Include files etc to develop SOAP applications
41 Summary(pl.UTF-8):      Pliki nagłówkowe, dokumentacja dla SOAP
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       glib2-devel >= 1:2.22.0
45 Requires:       gnutls-devel >= 2.1.7
46 Requires:       libxml2-devel >= 1:2.6.31
47
48 %description devel
49 Header files, etc you can use to develop SOAP applications.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe itp. Jednym słowem wszystko czego potrzebujesz aby
53 samemu tworzyć sobie aplikacje korzystające z SOAP.
54
55 %package static
56 Summary:        SOAP static libraries
57 Summary(pl.UTF-8):      Biblioteki statyczne SOAP
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}-%{release}
60
61 %description static
62 SOAP static libraries.
63
64 %description static -l pl.UTF-8
65 Biblioteki statyczne SOAP.
66
67 %package gnome
68 Summary:        GNOME specific extensions to libsoup library
69 Summary(pl.UTF-8):      Rozszerzenia GNOME do biblioteki libsoup
70 Group:          Libraries
71 Requires:       %{name} = %{version}-%{release}
72
73 %description gnome
74 GNOME specific extensions to libsoup library.
75
76 %description gnome -l pl.UTF-8
77 Rozszerzenia GNOME do biblioteki libsoup.
78
79 %package gnome-devel
80 Summary:        Header files for libsoup-gnome library
81 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libsoup-gnome
82 Group:          Development/Libraries
83 Requires:       %{name}-devel = %{version}-%{release}
84 Requires:       %{name}-gnome = %{version}-%{release}
85
86 %description gnome-devel
87 Header files for libsoup-gnome library.
88
89 %description gnome-devel -l pl.UTF-8
90 Pliki nagłówkowe biblioteki libsoup-gnome.
91
92 %package gnome-static
93 Summary:        Static libsoup-gnome library
94 Summary(pl.UTF-8):      Statyczna biblioteka libsoup-gnome
95 Group:          Development/Libraries
96 Requires:       %{name}-gnome-devel = %{version}-%{release}
97
98 %description gnome-static
99 Static libsoup-gnome library.
100
101 %description gnome-static -l pl.UTF-8
102 Statyczna biblioteka libsoup-gnome.
103
104 %package apidocs
105 Summary:        libsoup API documentation
106 Summary(pl.UTF-8):      Dokumentacja API libsoup
107 Group:          Documentation
108 Requires:       gtk-doc-common
109
110 %description apidocs
111 libsoup API documentation.
112
113 %description apidocs -l pl.UTF-8
114 Dokumentacja API libsoup.
115
116 %prep
117 %setup -q
118 %patch0 -p1
119
120 %build
121 %{__gtkdocize}
122 %{__glib_gettextize}
123 %{__libtoolize}
124 %{__aclocal}
125 %{__autoconf}
126 %{__autoheader}
127 %{__automake}
128 %configure \
129         --enable-ssl \
130         --enable-gtk-doc \
131         --with-html-dir=%{_gtkdocdir} \
132         --disable-silent-rules
133 %{__make}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137
138 %{__make} install \
139         pkgconfigdir=%{_pkgconfigdir} \
140         m4datadir=%{_aclocaldir} \
141         DESTDIR=$RPM_BUILD_ROOT
142
143 %clean
144 rm -rf $RPM_BUILD_ROOT
145
146 %post   -p /sbin/ldconfig
147 %postun -p /sbin/ldconfig
148
149 %post   gnome -p /sbin/ldconfig
150 %postun gnome -p /sbin/ldconfig
151
152 %files
153 %defattr(644,root,root,755)
154 %doc AUTHORS NEWS README
155 %attr(755,root,root) %{_libdir}/libsoup-2.4.so.*.*.*
156 %attr(755,root,root) %ghost %{_libdir}/libsoup-2.4.so.1
157
158 %files devel
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_libdir}/libsoup-2.4.so
161 %{_libdir}/libsoup-2.4.la
162 %{_includedir}/libsoup-2.4
163 %{_pkgconfigdir}/libsoup-2.4.pc
164
165 %files static
166 %defattr(644,root,root,755)
167 %{_libdir}/libsoup-2.4.a
168
169 %files gnome
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so.*.*.*
172 %attr(755,root,root) %ghost %{_libdir}/libsoup-gnome-2.4.so.1
173
174 %files gnome-devel
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so
177 %{_libdir}/libsoup-gnome-2.4.la
178 %{_includedir}/libsoup-gnome-2.4
179 %{_pkgconfigdir}/libsoup-gnome-2.4.pc
180
181 %files gnome-static
182 %defattr(644,root,root,755)
183 %{_libdir}/libsoup-gnome-2.4.a
184
185 %files apidocs
186 %defattr(644,root,root,755)
187 %{_gtkdocdir}/libsoup-2.4
This page took 0.032409 seconds and 2 git commands to generate.