gupnp-igd-vl.spec 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. %define gupnp_ver 0.12.3
  2. %define glib2_ver 2.16
  3. Name: gupnp-igd
  4. Version: 0.1.3
  5. Release: 5%{?_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. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.1.3-5
  51. - rebuilt with rpm-4.8.1 for pkg-config
  52. * Sat Nov 7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.1.3-4
  53. - initial build for Vine Linux
  54. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.1.3-3
  55. - Rebuild for new gupnp
  56. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-2
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  58. * Wed Jun 10 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.3-1
  59. - Update to 0.1.3.
  60. * Sat May 16 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
  61. - Update to 0.1.2.
  62. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  64. * Sun Jan 18 2009 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
  65. - Quite rpmlint error about unused-direct-shlib-dependency.
  66. * Wed Dec 31 2008 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
  67. - Initial Fedora spec.