- updated to 2.68.4
[packages/libsoup3.git] / libsoup.spec
CommitLineData
d06bd553 1Summary: SOAP (Simple Object Access Protocol) implementation in C
194b570f 2Summary(pl.UTF-8): Implementacja w C SOAP (Simple Object Access Protocol)
d06bd553 3Name: libsoup
4b2343e8 4Version: 2.68.4
727ea648 5Release: 1
a3f5bf1b
MB
6License: LGPL v2+
7Group: Libraries
4d3f1f19 8Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.68/%{name}-%{version}.tar.xz
4b2343e8 9# Source0-md5: 603f3a945cd6ecc1fda644d7853b3b81
4d3f1f19 10Patch0: %{name}-path-override.patch
86d19c61 11URL: https://wiki.gnome.org/Projects/libsoup
9e2fd6da 12BuildRequires: docbook-dtd412-xml
28361b79 13BuildRequires: gettext-tools
4b2343e8 14BuildRequires: glib2-devel >= 1:2.58
9e60aec2 15BuildRequires: gobject-introspection-devel >= 0.10.0
0bbb9de2 16BuildRequires: gtk-doc >= 1.20
475c1a80 17BuildRequires: heimdal-devel
4d3f1f19 18BuildRequires: libbrotli-devel
86d19c61 19BuildRequires: libpsl-devel >= 0.20.0
a3f5bf1b 20BuildRequires: libxml2-devel >= 1:2.6.31
4d3f1f19 21BuildRequires: meson >= 0.50
cd391c0d 22BuildRequires: ninja >= 1.5
55eed577 23BuildRequires: pkgconfig
cd391c0d 24BuildRequires: rpmbuild(macros) >= 1.736
e83255a4 25BuildRequires: sqlite3-devel
41e0c157 26BuildRequires: tar >= 1:1.22
cd391c0d 27BuildRequires: vala
41e0c157 28BuildRequires: xz
4d3f1f19 29BuildRequires: zlib-devel
4b2343e8 30Requires: glib2 >= 1:2.58
86d19c61 31Requires: libpsl >= 0.20.0
cd391c0d 32# for TLS support
369ae86b 33Suggests: glib-networking
cd391c0d
JB
34# ntlm_auth for NTLM support
35Suggests: samba-winbind
d06bd553 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39It provides an queued asynchronous callback-based mechanism for
40sending and servicing SOAP requests, and a WSDL (Web Service
41Definition Language) to C compiler which generates client stubs and
42server skeletons for easily calling and implementing SOAP methods.
43
bf7695c3 44%description -l pl.UTF-8
d06bd553 45Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu
bf7695c3
JR
46do wysyłania i serwowania żądań SOAP oraz WSDL (Web Service Definition
47Language) dla kompilatora C, który generuje klienckie stub i szkielety
48serwerów dla łatwego wywoływania i implementowania metod SOAP.
d06bd553 49
50%package devel
51Summary: Include files etc to develop SOAP applications
194b570f 52Summary(pl.UTF-8): Pliki nagłówkowe, dokumentacja dla SOAP
a3f5bf1b 53Group: Development/Libraries
10f59832 54Requires: %{name} = %{version}-%{release}
4b2343e8 55Requires: glib2-devel >= 1:2.58
a3f5bf1b 56Requires: libxml2-devel >= 1:2.6.31
d06bd553 57
58%description devel
59Header files, etc you can use to develop SOAP applications.
60
bf7695c3
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe itp. Jednym słowem wszystko czego potrzebujesz aby
63samemu tworzyć sobie aplikacje korzystające z SOAP.
d06bd553 64
65%package static
66Summary: SOAP static libraries
194b570f 67Summary(pl.UTF-8): Biblioteki statyczne SOAP
a3f5bf1b 68Group: Development/Libraries
10f59832 69Requires: %{name}-devel = %{version}-%{release}
d06bd553 70
71%description static
72SOAP static libraries.
73
bf7695c3 74%description static -l pl.UTF-8
d06bd553 75Biblioteki statyczne SOAP.
76
e83255a4
MB
77%package gnome
78Summary: GNOME specific extensions to libsoup library
79Summary(pl.UTF-8): Rozszerzenia GNOME do biblioteki libsoup
80Group: Libraries
81Requires: %{name} = %{version}-%{release}
82
83%description gnome
84GNOME specific extensions to libsoup library.
85
86%description gnome -l pl.UTF-8
87Rozszerzenia GNOME do biblioteki libsoup.
88
89%package gnome-devel
90Summary: Header files for libsoup-gnome library
91Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libsoup-gnome
92Group: Development/Libraries
93Requires: %{name}-devel = %{version}-%{release}
94Requires: %{name}-gnome = %{version}-%{release}
95
96%description gnome-devel
97Header files for libsoup-gnome library.
98
99%description gnome-devel -l pl.UTF-8
100Pliki nagłówkowe biblioteki libsoup-gnome.
101
102%package gnome-static
103Summary: Static libsoup-gnome library
104Summary(pl.UTF-8): Statyczna biblioteka libsoup-gnome
105Group: Development/Libraries
106Requires: %{name}-gnome-devel = %{version}-%{release}
107
108%description gnome-static
109Static libsoup-gnome library.
110
111%description gnome-static -l pl.UTF-8
112Statyczna biblioteka libsoup-gnome.
113
87a350cd
JB
114%package apidocs
115Summary: libsoup API documentation
116Summary(pl.UTF-8): Dokumentacja API libsoup
117Group: Documentation
118Requires: gtk-doc-common
8df3eb7d
ER
119%if "%{_rpmversion}" >= "5"
120BuildArch: noarch
121%endif
87a350cd
JB
122
123%description apidocs
124libsoup API documentation.
125
126%description apidocs -l pl.UTF-8
127Dokumentacja API libsoup.
128
086a6223
MB
129%package -n vala-libsoup
130Summary: libsoup API for Vala language
131Summary(pl.UTF-8): API libsoup dla języka Vala
132Group: Development/Libraries
133Requires: %{name}-devel = %{version}-%{release}
134Requires: vala
9e591aa0
ER
135%if "%{_rpmversion}" >= "5"
136BuildArch: noarch
137%endif
086a6223
MB
138
139%description -n vala-libsoup
140libsoup API for Vala language.
141
142%description -n vala-libsoup -l pl.UTF-8
143API libsoup dla języka Vala.
144
d06bd553 145%prep
ab054c29 146%setup -q
4d3f1f19 147%patch0 -p1
d06bd553 148
149%build
cd391c0d
JB
150%meson build \
151 -Ddoc=true \
4d3f1f19
JB
152 -Dgtk_doc=true \
153 -Dntlm=enabled \
cd391c0d
JB
154 -Dntlm_auth=/usr/bin/ntlm_auth \
155 -Dtests=false \
156 -Dtls_check=false
157
158%ninja_build -C build
d06bd553 159
160%install
161rm -rf $RPM_BUILD_ROOT
162
cd391c0d 163%ninja_install -C build
9e60aec2 164
c9a244c2
ŁK
165%find_lang libsoup
166
d06bd553 167%clean
168rm -rf $RPM_BUILD_ROOT
169
170%post -p /sbin/ldconfig
171%postun -p /sbin/ldconfig
172
e83255a4
MB
173%post gnome -p /sbin/ldconfig
174%postun gnome -p /sbin/ldconfig
175
c9a244c2 176%files -f libsoup.lang
d06bd553 177%defattr(644,root,root,755)
cd391c0d 178%doc AUTHORS MAINTAINERS NEWS README
a3f5bf1b
MB
179%attr(755,root,root) %{_libdir}/libsoup-2.4.so.*.*.*
180%attr(755,root,root) %ghost %{_libdir}/libsoup-2.4.so.1
09867d81 181%{_libdir}/girepository-1.0/Soup-2.4.typelib
ed63a57a 182
d06bd553 183%files devel
184%defattr(644,root,root,755)
a3f5bf1b 185%attr(755,root,root) %{_libdir}/libsoup-2.4.so
a3f5bf1b
MB
186%{_includedir}/libsoup-2.4
187%{_pkgconfigdir}/libsoup-2.4.pc
09867d81 188%{_datadir}/gir-1.0/Soup-2.4.gir
d06bd553 189
190%files static
191%defattr(644,root,root,755)
a3f5bf1b 192%{_libdir}/libsoup-2.4.a
87a350cd 193
e83255a4
MB
194%files gnome
195%defattr(644,root,root,755)
196%attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so.*.*.*
197%attr(755,root,root) %ghost %{_libdir}/libsoup-gnome-2.4.so.1
09867d81 198%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
e83255a4
MB
199
200%files gnome-devel
201%defattr(644,root,root,755)
202%attr(755,root,root) %{_libdir}/libsoup-gnome-2.4.so
e83255a4
MB
203%{_includedir}/libsoup-gnome-2.4
204%{_pkgconfigdir}/libsoup-gnome-2.4.pc
09867d81 205%{_datadir}/gir-1.0/SoupGNOME-2.4.gir
e83255a4
MB
206
207%files gnome-static
208%defattr(644,root,root,755)
209%{_libdir}/libsoup-gnome-2.4.a
210
87a350cd
JB
211%files apidocs
212%defattr(644,root,root,755)
a3f5bf1b 213%{_gtkdocdir}/libsoup-2.4
086a6223
MB
214
215%files -n vala-libsoup
216%defattr(644,root,root,755)
fb91c5fb 217%{_datadir}/vala/vapi/libsoup-2.4.deps
086a6223 218%{_datadir}/vala/vapi/libsoup-2.4.vapi
This page took 0.152752 seconds and 4 git commands to generate.