packages: gupnp-dlna/gupnp-dlna.spec (NEW) - new; use 0.5.x series for now ...
qboosh
qboosh at pld-linux.org
Sat Feb 5 08:45:36 CET 2011
Author: qboosh Date: Sat Feb 5 07:45:36 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new; use 0.5.x series for now as 0.4.x included old gstreamer parts
---- Files affected:
packages/gupnp-dlna:
gupnp-dlna.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/gupnp-dlna/gupnp-dlna.spec
diff -u /dev/null packages/gupnp-dlna/gupnp-dlna.spec:1.1
--- /dev/null Sat Feb 5 08:45:36 2011
+++ packages/gupnp-dlna/gupnp-dlna.spec Sat Feb 5 08:45:31 2011
@@ -0,0 +1,146 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # do not build and package API docs
+#
+Summary: GUPnP utility library to ease tasks related to DLNA
+Summary(pl.UTF-8): Biblioteka narzędziowa GUPnP ułatwiająca zadania związane z DLNA
+Name: gupnp-dlna
+# note: 0.6.x will be stable, 0.7.x unstable
+Version: 0.5.1
+Release: 1
+License: LGPL v2+
+Group: Libraries
+#Source0Download: http://gupnp.org/download
+Source0: http://gupnp.org/sites/all/files/sources/%{name}-%{version}.tar.gz
+# Source0-md5: be4d6ab220d29e1c09f0ca9aef7caaae
+URL: http://gupnp.org/
+BuildRequires: autoconf >= 2.53
+BuildRequires: automake
+BuildRequires: docbook-dtd412-xml
+BuildRequires: gstreamer-devel >= 0.10.29.2
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.32
+BuildRequires: gtk-doc >= 1.0
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.5.0
+BuildRequires: pkgconfig
+Requires: gstreamer >= 0.10.29.2
+Requires: gstreamer-plugins-base >= 0.10.32
+Requires: libxml2 >= 1:2.5.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GUPnP DLNA is a small utility library that aims to ease the tasks
+related to DLNA (Digital Living Network Alliance) such as media
+profile guessing, transcoding to a given profile, etc.
+
+%description -l pl.UTF-8
+GUPnP DLNA to mała biblioteka narzędziowa, której celem jest
+ułatwienie wykonywania zadań związanych z DLNA (Digital Living Network
+Alliance), takich jak wykrywanie profili multimediów, przekodowywanie
+do danego profilu itp.
+
+%package devel
+Summary: Header files for GUPnP DLNA library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GUPnP DLNA
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gstreamer-devel >= 0.10.29.2
+Requires: gstreamer-plugins-base-devel >= 0.10.32
+Requires: libxml2-devel >= 1:2.5.0
+
+%description devel
+Header files for GUPnP DLNA library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki GUPnP DLNA.
+
+%package static
+Summary: Static GUPnP DLNA library
+Summary(pl.UTF-8): Statyczna biblioteka GUPnP DLNA
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static GUPnP DLNA library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka GUPnP DLNA.
+
+%package apidocs
+Summary: GUPnP DLNA library API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki GUPnP DLNA
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+API and internal documentation for GUPnP DLNA library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki GUPnP DLNA.
+
+%prep
+%setup -q
+
+%build
+%{__gtkdocize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ %{?with_apidocs:--enable-gtk-doc} \
+ --with-html-dir=%{_gtkdocdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{!?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}}
+
+%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 TODO
+%attr(755,root,root) %{_bindir}/gupnp-dlna-info
+%attr(755,root,root) %{_bindir}/gupnp-dlna-ls-profiles
+%attr(755,root,root) %{_libdir}/libgupnp-dlna-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgupnp-dlna-1.0.so.0
+%{_datadir}/gupnp-dlna
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgupnp-dlna-1.0.so
+%{_libdir}/libgupnp-dlna-1.0.la
+%{_includedir}/gupnp-dlna-1.0
+%{_pkgconfigdir}/gupnp-dlna-1.0.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgupnp-dlna-1.0.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gupnp-dlna
+%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 2011/02/05 07:45:31 qboosh
+- new; use 0.5.x series for now as 0.4.x included old gstreamer parts
================================================================
More information about the pld-cvs-commit
mailing list