X-Git-Url: http://git.pld-linux.org/?p=packages%2Flibsoup3.git;a=blobdiff_plain;f=libsoup.spec;h=49cdb72d862cd501382d5de440f423fc9bf555f5;hp=4f13ae334d843c9112f4cfe3a046f70c8e6106a4;hb=ac6b3fa3974da2f82e0d914acb6a3d1a45f7e998;hpb=7eb4ede09ff0bc5d663ae7943340acb83d437d54 diff --git a/libsoup.spec b/libsoup.spec index 4f13ae3..49cdb72 100644 --- a/libsoup.spec +++ b/libsoup.spec @@ -1,22 +1,22 @@ - -%define _snap 20030315 - Summary: SOAP (Simple Object Access Protocol) implementation in C -Summary(pl): Implementacja w C SOAP (Simple Object Access Protocol) +Summary(pl.UTF-8): Implementacja w C SOAP (Simple Object Access Protocol) Name: libsoup -Version: 1.99.14 -Release: 0.%{_snap}.1 -License: LGPL +Version: 2.2.104 +Release: 1 +License: LGPL v2 Group: X11/Libraries -Source0: %{name}-%{version}-%{_snap}.tar.bz2 -Patch0: %{name}-build_doc.patch +Source0: http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.2/%{name}-%{version}.tar.bz2 +# Source0-md5: ab3b10b1c97de5abe38a748a3656da4c URL: http://www.gnome.org/ -BuildRequires: autoconf +BuildRequires: autoconf >= 2.53 BuildRequires: automake -BuildRequires: glib2-devel -BuildRequires: gtk-doc +BuildRequires: glib2-devel >= 1:2.14.1 +BuildRequires: gnutls-devel >= 1.2.5 +BuildRequires: gtk-doc >= 1.6 +BuildRequires: libgpg-error-devel >= 0.4 BuildRequires: libtool -BuildRequires: openssl-devel >= 0.9.7 +BuildRequires: libxml2-devel >= 1:2.6.27 +BuildRequires: pkgconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -25,54 +25,67 @@ sending and servicing SOAP requests, and a WSDL (Web Service Definition Language) to C compiler which generates client stubs and server skeletons for easily calling and implementing SOAP methods. -%description -l pl +%description -l pl.UTF-8 Pakiet dostarcza interfejs kolejkowalnego, asynchronicznego mechanizmu -do wysy³ania i serwowania ¿±dañ SOAP oraz WSDL (Web Service Definition -Language) dla kompilatora C, który generuje klienckie stub i szkielety -serwerów dla ³atwego wywo³ywania i implementowania metod SOAP. +do wysyłania i serwowania żądań SOAP oraz WSDL (Web Service Definition +Language) dla kompilatora C, który generuje klienckie stub i szkielety +serwerów dla łatwego wywoływania i implementowania metod SOAP. + +%package apidocs +Summary: libsoup API documentation +Summary(pl.UTF-8): Dokumentacja API libsoup +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +libsoup API documentation. + +%description apidocs -l pl.UTF-8 +Dokumentacja API libsoup. %package devel Summary: Include files etc to develop SOAP applications -Summary(pl): Pliki nag³ówkowe, dokumentacja dla SOAP +Summary(pl.UTF-8): Pliki nagłówkowe, dokumentacja dla SOAP Group: X11/Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel >= 1:2.14.1 +Requires: gnutls-devel >= 1.0.6 +Requires: libxml2-devel >= 1:2.6.27 %description devel Header files, etc you can use to develop SOAP applications. -%description devel -l pl -Pliki nag³ówkowe itp. Jednym s³owem wszystko czego potrzebujesz aby -samemu tworzyæ sobie aplikacje korzystaj±ce z SOAP. +%description devel -l pl.UTF-8 +Pliki nagłówkowe itp. Jednym słowem wszystko czego potrzebujesz aby +samemu tworzyć sobie aplikacje korzystające z SOAP. %package static Summary: SOAP static libraries -Summary(pl): Biblioteki statyczne SOAP +Summary(pl.UTF-8): Biblioteki statyczne SOAP Group: X11/Development/Libraries -Requires: %{name}-devel = %{version} +Requires: %{name}-devel = %{version}-%{release} %description static SOAP static libraries. -%description static -l pl +%description static -l pl.UTF-8 Biblioteki statyczne SOAP. %prep -%setup -q -%patch0 -p1 +%setup -q %build -rm -f missing +%{__glib_gettextize} %{__libtoolize} %{__aclocal} %{__autoheader} %{__autoconf} %{__automake} - %configure \ --enable-ssl \ --enable-gtk-doc \ + --enable-libgpg-error \ --with-html-dir=%{_gtkdocdir} - %{__make} %install @@ -91,16 +104,18 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS ChangeLog README TODO -%attr(755,root,root) %{_libdir}/lib*.so.*.* -%attr(755,root,root) %{_libdir}/libsoup-ssl-proxy +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* + +%files apidocs +%defattr(644,root,root,755) +%{_gtkdocdir}/%{name} %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %{_includedir}/* -%{_gtkdocdir}/* %{_pkgconfigdir}/* %files static