File gupnp-av.spec of Package gupnp-av

###############################################
# Do not Edit! Generated by:
# spec-builder version 0.13
###############################################

Name: gupnp-av
Summary: GUPnP-AV is a collection of helpers for building UPnP AV applications
Group: System Environment/Libraries
Version: 0.3.1
License: LGPLv2+
URL: http://www.gupnp.org/
Release: 1.4.moblin2
Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: glib2-devel
BuildRequires: libxml2-devel

BuildRequires: libsoup-devel
BuildRequires: gssdp-devel
BuildRequires: gupnp-devel

Requires: libgupnp-av-1_0-1 = %{version}

%description
GUPnP is an object-oriented open source framework for creating UPnP
devices and control points, written in C using GObject and libsoup.
The GUPnP API is intended to be easy to use, efficient and flexible.
GUPnP-AV is a collection of helpers for building AV (audio/video)
applications using GUPnP.


%package -n libgupnp-av-1_0-1
License:        LGPLv2+
Summary:        GUPnP-AV is a collection of helpers for building UPnP AV applications
Group:          System Environment/Libraries
Requires:       %{name} >= %{version}

%description -n libgupnp-av-1_0-1
GUPnP is an object-oriented open source framework for creating UPnP
devices and control points, written in C using GObject and libsoup.
The GUPnP API is intended to be easy to use, efficient and flexible.
GUPnP-AV is a collection of helpers for building AV (audio/video)
applications using GUPnP.

%package devel

Summary: Development package for gupnp-av
Group: Development/Libraries

Requires: gssdp-devel
Requires: gupnp-devel
Requires: gupnp-av = %{version}-%{release}
Requires: pkgconfig
Requires: %{name} >= %{version}

%description devel
Files for development with gupnp-av.

%prep
%setup -q -n %{name}-%{version}

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%makeinstall
rm %{buildroot}/%{_libdir}/*.*a

%find_lang gupnp-av || echo -n >> gupnp-av.lang

mkdir -p %{buildroot}/%{_datadir}/doc/%{name}-%{version}
for f in `ls %{buildroot}/%{_datadir}/doc/`; do
	if [ -f %{buildroot}/%{_datadir}/doc/$f ]; then
		mv %{buildroot}/%{_datadir}/doc/$f %{buildroot}/%{_datadir}/doc/%{name}-%{version}
	fi
done

%clean
rm -rf %{buildroot}

%post -n libgupnp-av-1_0-1 -p /sbin/ldconfig

%postun -n libgupnp-av-1_0-1 -p /sbin/ldconfig

%post devel -p /sbin/ldconfig

%postun devel -p /sbin/ldconfig

%files -f gupnp-av.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING README

%files -n libgupnp-av-1_0-1
%defattr(-,root,root,-)
%{_libdir}/libgupnp-av-1.0.so.1
%{_libdir}/libgupnp-av-1.0.so.1.0.0

%files devel
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/gupnp-av/
%{_includedir}/gupnp-av-1.0/
%{_libdir}/pkgconfig/gupnp-av-1.0.pc
%{_libdir}/libgupnp-av-1.0.so


%changelog
* Mon Feb 16 2009 Vivian Zhang <vivian.zhang@intel.com> 0.3.1
- Use spec-builder to generate spec
- Update to 0.3.1
* Wed Nov 26 2008 Vivian zhang <vivian.zhang@intel.com> 0.2.1
- Initial import for Moblin
- Mark gtkdoc/html as %%doc
- Remove Requires: gtk-doc
* Mon Oct 20 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-4
- Add some requires for the devel package
* Fri Aug 29 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-3
- Some spec file cleanups
* Tue Jun 17 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-2
- Fix build on rawhide
* Tue Jun 17 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-1
- Initial release
openSUSE Build Service is sponsored by