SPECS: gupnp-av.spec (NEW) - new

megabajt megabajt at pld-linux.org
Sat Apr 11 12:41:39 CEST 2009


Author: megabajt                     Date: Sat Apr 11 10:41:39 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   gupnp-av.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gupnp-av.spec
diff -u /dev/null SPECS/gupnp-av.spec:1.1
--- /dev/null	Sat Apr 11 12:41:39 2009
+++ SPECS/gupnp-av.spec	Sat Apr 11 12:41:34 2009
@@ -0,0 +1,129 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+#
+Summary:	Library for building UPnP A/V applications
+Summary(pl.UTF-8):	Biblioteka do budowania aplikacji UPnP A/V
+Name:		gupnp-av
+Version:	0.3.1
+Release:	1
+License:	LGPL v2
+Group:		Libraries
+Source0:	http://www.gupnp.org/sources/gupnp-av/%{name}-%{version}.tar.gz
+# Source0-md5:	6a98f25c794bb9766e956f714261587d
+URL:		http://www.gupnp.org/
+BuildRequires:	autoconf >= 2.53
+BuildRequires:	automake
+%{?with_apidocs:BuildRequires:	gtk-doc >= 1.0}
+BuildRequires:	gupnp-devel >= 0.9
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gupnp-av is a small library that aims to easy the handling and
+implementation of UPnP A/V profiles.
+
+%description -l pl.UTF-8
+gupnp-av jest małą biblioteką, której celem jest uproszczenie
+obsługi i implementacji profili UPnP A/V.
+
+%package devel
+Summary:	Header files for gupnp-av library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki gupnp-av
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gupnp-devel >= 0.9
+
+%description devel
+Header files for gupnp-av library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki gupnp-av.
+
+%package static
+Summary:	Static gupnp-av library
+Summary(pl.UTF-8):	Statyczna biblioteka gupnp-av
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static gupnp-av library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka gupnp-av.
+
+%package apidocs
+Summary:	gupnp-av library API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki gupnp-av
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+API and internal documentation for gupnp-av library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki gupnp-av.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{?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 -rf $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
+%attr(755,root,root) %{_libdir}/libgupnp-av-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgupnp-av-1.0.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgupnp-av-1.0.so
+%{_libdir}/libgupnp-av-1.0.la
+%{_includedir}/gupnp-av-1.0
+%{_pkgconfigdir}/gupnp-av-1.0.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgupnp-av-1.0.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gupnp-av
+%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  2009/04/11 10:41:34  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list