gssdp-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. Summary: Resource discovery and announcement over SSDP
  2. Name: gssdp
  3. Version: 1.2.2
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://gitlab.gnome.org/GNOME/gssdp
  10. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  11. Source0: https://download.gnome.org/sources/gupnp/%{shortver}/%{name}-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: glib2-devel
  14. BuildRequires: gobject-introspection-devel >= 1.36
  15. BuildRequires: gtk3-devel
  16. BuildRequires: gtk-doc
  17. BuildRequires: libsoup-devel
  18. BuildRequires: meson
  19. BuildRequires: pkgconfig
  20. BuildRequires: vala >= 0.20
  21. %description
  22. GSSDP implements resource discovery and announcement over SSDP and is part
  23. of gUPnP. GUPnP is an object-oriented open source framework for creating
  24. UPnP devices and control points, written in C using GObject and libsoup. The
  25. GUPnP API is intended to be easy to use, efficient and flexible.
  26. %package devel
  27. Summary: Development package for gssdp
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. Files for development with gssdp.
  32. %package docs
  33. Summary: Documentation files for %{name}
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. BuildArch: noarch
  37. %description docs
  38. This package contains developer documentation for %{name}.
  39. %prep
  40. %setup -q
  41. %build
  42. %meson -Dgtk_doc=true
  43. %meson_build
  44. %install
  45. rm -rf %{buildroot}
  46. %meson_install
  47. %check
  48. %meson_test
  49. %clean
  50. rm -rf %{buildroot}
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %license COPYING
  56. %doc AUTHORS README NEWS
  57. %{_bindir}/gssdp-device-sniffer
  58. %{_libdir}/libgssdp-%{shortver}.so.*
  59. %{_libdir}/girepository-1.0/GSSDP-%{shortver}.typelib
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_includedir}/gssdp-%{shortver}/
  63. %{_libdir}/libgssdp-%{shortver}.so
  64. %{_libdir}/pkgconfig/gssdp-%{shortver}.pc
  65. %dir %{_datadir}/gir-1.0
  66. %{_datadir}/gir-1.0/GSSDP-%{shortver}.gir
  67. %dir %{_datadir}/vala
  68. %dir %{_datadir}/vala/vapi
  69. %{_datadir}/vala/vapi/gssdp*
  70. %files docs
  71. %defattr(-,root,root,-)
  72. %dir %{_datadir}/gtk-doc
  73. %dir %{_datadir}/gtk-doc/html
  74. %{_datadir}/gtk-doc/html/%{name}
  75. %changelog
  76. * Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.2-1
  77. - new upstream release.
  78. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.0-2
  79. - rebuilt with rpm-4.8.1 for pkg-config
  80. * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-1
  81. - initial build for Vine Linux
  82. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.7.0-2
  83. - Remove unneeded libglade BR
  84. * Thu Sep 17 2009 Bastien Nocera <bnocera@redhat.com> 0.7.0-1
  85. - Update to 0.7.0
  86. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-4
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  88. * Wed Mar 4 2009 Peter Robinson <pbrobinson@gmail.com> 0.6.4-3
  89. - Move docs to noarch subpackage
  90. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-2
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  92. * Mon Feb 23 2009 Peter Robinson <pbrobinson@gmail.com> 0.6.4-1
  93. - New upstream release
  94. * Thu Dec 18 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.3-3
  95. - Add gtk-doc build req
  96. * Sat Nov 22 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.3-2
  97. - Fix summary
  98. * Mon Oct 27 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.3-1
  99. - New upstream version
  100. * Sun Aug 31 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.2-1
  101. - New upstream version
  102. * Tue Aug 26 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-4
  103. - Move glade files from devel to main rpm
  104. * Tue Aug 12 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-3
  105. - Patch to fix the build in rawhide
  106. * Fri Aug 8 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-2
  107. - Updates based on feedback
  108. * Mon May 19 2008 Peter Robinson <pbrobinson@gmail.com> 0.6.1-1
  109. - Initial package