packages: libdmapsharing/libdmapsharing.spec (NEW) - new, based on fc spec

glen glen at pld-linux.org
Sun Jul 11 22:54:12 CEST 2010


Author: glen                         Date: Sun Jul 11 20:54:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on fc spec

---- Files affected:
packages/libdmapsharing:
   libdmapsharing.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libdmapsharing/libdmapsharing.spec
diff -u /dev/null packages/libdmapsharing/libdmapsharing.spec:1.1
--- /dev/null	Sun Jul 11 22:54:12 2010
+++ packages/libdmapsharing/libdmapsharing.spec	Sun Jul 11 22:54:07 2010
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+
+Summary:	A DMAP client and server library
+Name:		libdmapsharing
+Version:	1.9.0.21
+Release:	1
+License:	LGPL v2+
+Group:		Development/Libraries
+Source0:	http://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
+# Source0-md5:	42e1bcbb0b74a76f12aa36d9c22fb820
+URL:		http://www.flyn.org/projects/libdmapsharing/index.html
+BuildRequires:	avahi-glib-devel
+BuildRequires:	glib2-devel
+BuildRequires:	libsoup-devel
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libdmapsharing is a library you may use to access and share DMAP (DAAP
+& DPAP) content. The library is written in C using GObject and
+libsoup.
+
+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.
+
+%package devel
+Summary:	Files needed to develop applications using libdmapsharing
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	avahi-glib-devel
+Requires:	glib2-devel
+Requires:	libsoup-devel
+Requires:	pkgconfig
+
+%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
+libdmapsharing.
+
+%package apidocs
+Summary:	libdmapsharing API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki libdmapsharing
+Group:		Documentation
+
+%description apidocs
+API documentation for libdmapsharing library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki libdmapsharing.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-static
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL="install -p" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/libdmapsharing.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libdmapsharing.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdmapsharing.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%{_pkgconfigdir}/libdmapsharing-*.pc
+%{_includedir}/libdmapsharing-*/
+%{_libdir}/libdmapsharing.so
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_datadir}/gtk-doc/html/%{name}
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/07/11 20:54:07  glen
+- new, based on fc spec
================================================================


More information about the pld-cvs-commit mailing list