12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- %define gupnp_ver 0.12.3
- %define glib2_ver 2.16
- Name: gupnp-igd
- Version: 0.1.3
- Release: 4%{?_dist_release}
- Summary: Library to handle UPnP IGD port mapping
- 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}-root
- BuildRequires: glib2-devel >= %{glib2_ver}
- BuildRequires: gupnp-devel >= %{gupnp_ver}
- %description
- %{name} is a library to handle UPnP IGD port mapping.
- %package devel
- Summary: Development files for %{name}
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing applications that use %{name}.
- %prep
- %setup -q
- %build
- %configure --disable-static
- # quite rpmlint error about unused-direct-shlib-dependency
- sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %doc README COPYING
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/*
- %{_libdir}/*.so
- %{_libdir}/pkgconfig/%{name}-1.0*.pc
- %{_datadir}/gtk-doc/html/%{name}
- %changelog
- * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.3-4
- - initial build for Vine Linux
- * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
- - Rebuild for new gupnp
- * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
- - Update to 0.1.3.
- * Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
- - Update to 0.1.2.
- * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
- - Quite rpmlint error about unused-direct-shlib-dependency.
- * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
- - Initial Fedora spec.
|