]> git.pld-linux.org Git - packages/libsoup.git/blob - libsoup.spec
9a9ff4a78d7d7b03d6a75c3ba7120bc042515afb
[packages/libsoup.git] / libsoup.spec
1 Summary:        SOAP (Simple Object Access Protocol) implementation in C
2 Summary(pl):    Implementacja w C SOAP (Simple Object Access Protocol)
3 Name:           libsoup
4 Version:        2.1.8
5 Release:        3
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
9 # Source0-md5:  93f682b84339e307ffaa860c4c325507
10 Patch0:         %{name}-gnutls.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel >= 1:2.4.0
15 BuildRequires:  gnutls-devel >= 1.0.6
16 BuildRequires:  gtk-doc >= 1.0
17 BuildRequires:  intltool
18 BuildRequires:  libgpg-error-devel >= 0.4
19 BuildRequires:  libtool
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
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 devel
35 Summary:        Include files etc to develop SOAP applications
36 Summary(pl):    Pliki nag³ówkowe, dokumentacja dla SOAP
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39 Requires:       glib2-devel >= 1:2.4.0
40 Requires:       gnutls-devel >= 1.0.6
41
42 %description devel
43 Header files, etc you can use to develop SOAP applications.
44
45 %description devel -l pl
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):    Biblioteki statyczne SOAP
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 SOAP static libraries.
57
58 %description static -l pl
59 Biblioteki statyczne SOAP.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 rm -f missing
67 glib-gettextize --copy --force
68 intltoolize --copy --force
69 %{__libtoolize}
70 %{__aclocal}
71 %{__autoheader}
72 %{__autoconf}
73 %{__automake}
74
75 %configure \
76         --enable-ssl \
77         --enable-gtk-doc \
78         --enable-libgpg-error \
79         --with-html-dir=%{_gtkdocdir}
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         pkgconfigdir=%{_pkgconfigdir} \
88         m4datadir=%{_aclocaldir} \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog README TODO
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %{_includedir}/*
107 %{_pkgconfigdir}/*
108 %{_gtkdocdir}/*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/lib*.a
This page took 0.125455 seconds and 3 git commands to generate.