libportal-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Name: libportal
  2. Summary: Flatpak portal library
  3. Version: 0.3
  4. Release: 5%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: LGPLv2+
  8. Url: https://github.com/flatpak/libportal
  9. Source: https://github.com/flatpak/libportal/releases/download/%{version}/libportal-%{version}.tar.xz
  10. BuildRequires: glibc-devel gcc
  11. BuildRequires: meson
  12. BuildRequires: git
  13. BuildRequires: pkgconfig(gio-2.0)
  14. BuildRequires: pkgconfig(gio-unix-2.0)
  15. BuildRequires: gtk-doc
  16. # For doc links
  17. BuildRequires: pipewire-doc
  18. %description
  19. libportal provides GIO-style asynchronous APIs for most Flatpak portals.
  20. %package devel
  21. Summary: Development files and libraries for %name
  22. Group: Development/C
  23. Requires: %{name}%{?_isa} = %{version}-%{release}
  24. %description devel
  25. %name provides GIO-style asynchronous APIs for most Flatpak portals.
  26. This package provides files for development with %name.
  27. %package devel-doc
  28. Summary: Development documentation for libportal
  29. Group: Development/C
  30. BuildArch: noarch
  31. %description devel-doc
  32. libportal provides GIO-style asynchronous APIs for most Flatpak portals.
  33. This package provides development documentations for libportal.
  34. %prep
  35. %autosetup -S git
  36. %build
  37. %meson
  38. %meson_build
  39. %install
  40. %meson_install
  41. %check
  42. %meson_test
  43. %post -p /sbin/ldconfig
  44. %postun -p /sbin/ldconfig
  45. %files
  46. %license COPYING
  47. %doc README*
  48. %{_libdir}/libportal.so.0*
  49. %files devel
  50. %{_includedir}/libportal
  51. %{_libdir}/libportal.so
  52. %{_libdir}/pkgconfig/libportal.pc
  53. %files devel-doc
  54. %{_datadir}/gtk-doc/html/libportal
  55. %changelog
  56. * Wed Jul 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.3-5
  57. - initial build for Vine Linux.
  58. * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3-4
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  60. * Mon Jan 13 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-3
  61. + libportal-0.3-3
  62. - Add forgotten dist tag to Release (#1790258)
  63. * Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-2
  64. + libportal-0.3-2
  65. - Add COPYING file to package
  66. * Mon Jan 06 2020 Bastien Nocera <bnocera@redhat.com> - 0.3-1
  67. + libportal-0.3-1
  68. - Update to 0.3
  69. * Wed Dec 11 2019 Bastien Nocera <bnocera@redhat.com> - 0.1-0.1.20191211git7355b1e
  70. + libportal-0.1-0.20191211git7355b1e