gupnp-igd-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define gupnp_ver 0.12.3
  2. %define glib2_ver 2.16
  3. Name: gupnp-igd
  4. Version: 0.1.3
  5. Release: 4%{?_dist_release}
  6. Summary: Library to handle UPnP IGD port mapping
  7. Group: System Environment/Libraries
  8. License: LGPLv2+
  9. URL: http://www.gupnp.org/
  10. Source0: http://www.gupnp.org/sources/%{name}/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel >= %{glib2_ver}
  13. BuildRequires: gupnp-devel >= %{gupnp_ver}
  14. %description
  15. %{name} is a library to handle UPnP IGD port mapping.
  16. %package devel
  17. Summary: Development files for %{name}
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. Requires: pkgconfig
  21. %description devel
  22. The %{name}-devel package contains libraries and header files for
  23. developing applications that use %{name}.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure --disable-static
  28. # quite rpmlint error about unused-direct-shlib-dependency
  29. sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  34. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post -p /sbin/ldconfig
  38. %postun -p /sbin/ldconfig
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc README COPYING
  42. %{_libdir}/*.so.*
  43. %files devel
  44. %defattr(-,root,root,-)
  45. %{_includedir}/*
  46. %{_libdir}/*.so
  47. %{_libdir}/pkgconfig/%{name}-1.0*.pc
  48. %{_datadir}/gtk-doc/html/%{name}
  49. %changelog
  50. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.3-4
  51. - initial build for Vine Linux
  52. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
  53. - Rebuild for new gupnp
  54. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
  57. - Update to 0.1.3.
  58. * Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
  59. - Update to 0.1.2.
  60. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  62. * Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
  63. - Quite rpmlint error about unused-direct-shlib-dependency.
  64. * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
  65. - Initial Fedora spec.