89 lines
2.3 KiB
RPMSpec
89 lines
2.3 KiB
RPMSpec
Name: gupnp
|
|
Version: 0.12.1
|
|
Release: 5%{?dist}
|
|
Summary: GUPnP is an framework for creating UPnP devices & control points
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
URL: http://www.gupnp.org/
|
|
Source0: http://www.gupnp.org/sources/gupnp/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Patch0: gupnp-0.12-disabletestapps.patch
|
|
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: gssdp-devel >= 0.6
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libxml2-devel
|
|
|
|
Requires: dbus
|
|
|
|
%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.
|
|
|
|
%package devel
|
|
Summary: Development package for gupnp
|
|
Group: Development/Libraries
|
|
Requires: gupnp = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
|
|
%description devel
|
|
Files for development with gupnp.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p0 -b .disabletestapps
|
|
|
|
%build
|
|
# a temporary workaround to regen build scripts until the next release of gupnp is released shortly
|
|
autoconf
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm $RPM_BUILD_ROOT%{_libdir}/libgupnp-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-1.0.so.2
|
|
%{_libdir}/libgupnp-1.0.so.2.0.0
|
|
%{_bindir}/gupnp-binding-tool
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%dir %{_includedir}/gupnp-1.0
|
|
%dir %{_includedir}/gupnp-1.0/libgupnp
|
|
%dir %{_datadir}/gtk-doc/html/gupnp/
|
|
%doc %{_datadir}/gtk-doc/html/gupnp/*
|
|
%{_includedir}/gupnp-1.0/libgupnp/*
|
|
%{_libdir}/pkgconfig/gupnp-1.0.pc
|
|
%{_libdir}/libgupnp-1.0.so
|
|
|
|
%changelog
|
|
* Wed Aug 28 2008 Peter Robinson <pbrobinson@gmail.com> 0.12.1-5
|
|
- Second go
|
|
|
|
* Wed Aug 28 2008 Peter Robinson <pbrobinson@gmail.com> 0.12.1-4
|
|
- Fix build on rawhide
|
|
|
|
* Wed Aug 13 2008 Peter Robinson <pbrobinson@gmail.com> 0.12.1-3
|
|
- Fix changelog entries
|
|
|
|
* Wed Aug 13 2008 Peter Robinson <pbrobinson@gmail.com> 0.12.1-2
|
|
- Fix a compile issue on rawhide
|
|
|
|
* Mon Jun 16 2008 Peter Robinson <pbrobinson@gmail.com> 0.12.1-1
|
|
- Initial release
|