[packages/libdmapsharing] - pl, updated to 2.9.22

qboosh qboosh at pld-linux.org
Sat Aug 10 07:58:17 CEST 2013

commit b12ab5174c9dac2afcee2b56bf5922d49f1b4a43
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Aug 10 07:57:39 2013 +0200

    - pl, updated to 2.9.22

 libdmapsharing.spec | 90 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 66 insertions(+), 24 deletions(-)
diff --git a/libdmapsharing.spec b/libdmapsharing.spec
index c9c896e..414cc4b 100644
--- a/libdmapsharing.spec
+++ b/libdmapsharing.spec
@@ -1,22 +1,32 @@
 # Conditional build:
 %bcond_without	apidocs		# do not build and package API docs
+%bcond_without	static_libs	# static library build
 Summary:	A DMAP client and server library
+Summary(pl.UTF-8):	Biblioteka klienta i serwera DMAP
 Name:		libdmapsharing
-Version:	2.9.15
+Version:	2.9.22
 Release:	1
-License:	LGPL v2+
-Group:		Development/Libraries
-Source0:	http://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
-# Source0-md5:	52c9e4d3de931d9013eeaccf7371bb2d
-URL:		http://www.flyn.org/projects/libdmapsharing/index.html
+License:	LGPL v2.1+
+Group:		Libraries
+#Source0Download: https://www.flyn.org/projects/libdmapsharing/download.html
+Source0:	https://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
+# Source0-md5:	b1054fadeee4d4c0562593c82c4c2251
+URL:		https://www.flyn.org/projects/libdmapsharing/index.html
 BuildRequires:	avahi-glib-devel >= 0.5
-BuildRequires:	gdk-pixbuf2-devel
-BuildRequires:	glib2-devel
-BuildRequires:	gstreamer-plugins-base-devel >=
+BuildRequires:	gdk-pixbuf2-devel >= 2.0
+BuildRequires:	glib2-devel >= 1:2.36
+BuildRequires:	gstreamer-plugins-base-devel >= 1.0
+BuildRequires:	gtk-doc >= 1.0
+# noinst programs only
+#BuildRequires:	gtk+2-devel >= 2.0
+#BuildRequires:	libgee-devel >= 0.8
 BuildRequires:	libsoup-devel >= 2.32.2
 BuildRequires:	pkgconfig
+BuildRequires:	zlib-devel
+Requires:	avahi-glib >= 0.5
+Requires:	glib2 >= 1:2.36
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,25 +34,51 @@ libdmapsharing is a library you may use to access and share DMAP (DAAP
 & DPAP) content. The library is written in C using GObject and
-The DMAP family of protocols are used by products such as iTunes(tm),
-iPhoto(tm) and the Roku SoundBridge(tm) family to share content such
+The DMAP family of protocols are used by products such as iTunes(TM),
+iPhoto(TM) and the Roku SoundBridge(TM) family to share content such
 as music and photos.
+%description -l pl.UTF-8
+libdmapsharing to biblioteka służąca do dostępu i współdzielenia
+treści DMAP (DAAP i DPAP). Biblioteka jest napisana w C z użyciem
+bibliotek GObject i libsoup.
+Rodzina protokołów DMAP jest wykorzystywana przez produkty takie jak
+iTunes(TM), iPhoto(TM) oraz Roku SoundBridge do współdzielenia treści
+takich jak muzyka czy zdjęcia.
 %package devel
 Summary:	Files needed to develop applications using libdmapsharing
+Summary(pl.UTF-8):	Pliki niezbędne do tworzenia aplikacji wykorzystujących libdmapsharing
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	avahi-glib-devel
-Requires:	gdk-pixbuf2-devel
-Requires:	glib2-devel
-Requires:	gstreamer-plugins-base-devel >=
+Requires:	avahi-glib-devel >= 0.5
+Requires:	gdk-pixbuf2-devel >= 2.0
+Requires:	glib2-devel >= 1:2.36
+Requires:	gstreamer-plugins-base-devel >= 1.0
 Requires:	libsoup-devel >= 2.32.2
 %description devel
 libdmapsharing implements the DMAP protocols. This includes support
-for DAAP and DPAP. This package provides the libraries, include files,
-and other resources needed for developing applications using
+for DAAP and DPAP. This package provides the include files and other
+resources needed for developing applications using libdmapsharing.
+%description devel -l pl.UTF-8
+libdmapsharing implementuje protokoły DMAP. Obejmuje obsługę DAAP i
+DPAP. Ten pakiet zawiera pliki nagłówkowe i inne niezbędne do
+tworzenia aplikacji wykorzystujących libdmapsharing.
+%package static
+Summary:	Static libdmapsharing library
+Summary(pl.UTF-8):	Statyczna biblioteka libdmapsharing
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+%description static
+Static libdmapsharing library.
+%description static -l pl.UTF-8
+Statyczna biblioteka libdmapsharing.
 %package apidocs
 Summary:	libdmapsharing API documentation
@@ -60,9 +96,9 @@ Dokumentacja API biblioteki libdmapsharing.
 %configure \
-	--disable-static \
-	--with-mdns=avahi \
-	--with-html-dir=%{_gtkdocdir}
+	%{?with_static_libs:--enable-static} \
+	--with-html-dir=%{_gtkdocdir} \
+	--with-mdns=avahi
@@ -82,15 +118,21 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libdmapsharing-3.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdmapsharing-3.0.so.2
 %files devel
+%attr(755,root,root) %{_libdir}/libdmapsharing-3.0.so
+%if %{with static_libs}
+%files static
 %if %{with apidocs}
 %files apidocs

---- gitweb:


More information about the pld-cvs-commit mailing list