File gupnp-vala.spec of Package gupnp-vala
###############################################
# Do not Edit! Generated by:
# spec-builder version 0.13
###############################################
Name: gupnp-vala
Summary: GUPnP is a upnp framework. This adds vala language bindings
Group: Development/Languages
Version: 0.5.2
License: GPLv2+
URL: http://www.gupnp.org/
Release: 1.5.moblin2
Source0: http://www.gupnp.org/sources/bindings/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vala-devel
BuildRequires: vala-tools
BuildRequires: gssdp-devel
BuildRequires: gupnp-devel
BuildRequires: gupnp-av-devel
BuildRequires: gupnp-ui-devel
BuildRequires: pkgconfig
BuildRequires: libxml2-devel
BuildRequires: libsoup-devel
%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.
This package adds vala language bindings
%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-vala || echo -n >> gupnp-vala.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}
%files -f gupnp-vala.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_datadir}/vala/vapi/gssdp-1.0.deps
%{_datadir}/vala/vapi/gssdp-1.0.vapi
%{_datadir}/vala/vapi/gupnp-1.0.deps
%{_datadir}/vala/vapi/gupnp-1.0.vapi
%{_datadir}/vala/vapi/gupnp-av-1.0.deps
%{_datadir}/vala/vapi/gupnp-av-1.0.vapi
%{_datadir}/vala/vapi/gupnp-ui-1.0.deps
%{_datadir}/vala/vapi/gupnp-ui-1.0.vapi
%changelog
* Mon Feb 16 2009 Vivian Zhang <vivian.zhang@intel.com> 0.5.2
- Update to version 0.5.2
* Wed Dec 24 2008 Arjan van de Ven <arjan@linux.intel.com> 0.4
- Update to versoin 0.4
* Wed Nov 26 2008 Vivian zhang <vivian.zhang@intel.com> 0.3
- Initial import for Moblin
- Update to 0.3
- Add BR: vala-tools to install vapigen
- Add BR: libxml2-devel libsoup-devel
- Add patch to fix test compile failure
* Wed Jul 9 2008 Peter Robinson <pbrobinson@gmail.com> 0.2-1
- Initial release