gupnp-av/gupnp-av.spec
2009-01-14 05:54:57 +00:00

95 lines
2.4 KiB
RPMSpec

Name: gupnp-av
Version: 0.3
Release: 1%{?dist}
Summary: A collection of helpers for building UPnP AV applications
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gupnp.org/
Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: gssdp-devel
BuildRequires: gupnp-devel
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.
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: gtk-doc
%description devel
Files for development with gupnp-av.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-av-1.0.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_libdir}/libgupnp-av-1.0.so.1
%{_libdir}/libgupnp-av-1.0.so.1.0.0
%files devel
%defattr(-,root,root,-)
%{_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
* Thu Dec 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.3.1
- New upstream release
* Thu Dec 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-7
- Add gtk-doc build req
* Mon Dec 1 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-6
- Fix directory ownership
* Sat Nov 22 2008 Peter Robinson <pbrobinson@gmail.com> 0.2.1-5
- Update package summary
* 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