libhandy-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. %bcond_with test
  2. Name: libhandy
  3. Summary: Building blocks for modern adaptive GNOME apps
  4. Version: 1.2.3
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2+
  10. URL: https://gitlab.gnome.org/GNOME/libhandy
  11. %global majmin %(echo %{version} | cut -d . -f -2)
  12. Source0: https://download.gnome.org/sources/libhandy/%{majmin}/libhandy-%{version}.tar.xz
  13. BuildRequires: gcc
  14. BuildRequires: gtk-doc
  15. BuildRequires: meson
  16. BuildRequires: vala
  17. BuildRequires: pkgconfig(gio-2.0)
  18. BuildRequires: pkgconfig(gladeui-2.0)
  19. BuildRequires: pkgconfig(glib-2.0) >= 2.44
  20. BuildRequires: pkgconfig(gmodule-2.0)
  21. BuildRequires: pkgconfig(gobject-introspection-1.0)
  22. BuildRequires: gtk3-devel
  23. %if %{with test}
  24. # Support graphical tests in non-graphical environment
  25. BuildRequires: xorg-x11-server-Xvfb
  26. %endif
  27. # Retired in F34
  28. Provides: libhandy1 = %{version}-%{release}
  29. Provides: libhandy1%{?_isa} = %{version}-%{release}
  30. %description
  31. libhandy provides GTK+ widgets and GObjects to ease developing
  32. applications for mobile phones.
  33. %package devel
  34. Summary: Development files for %{name}
  35. Group: programming
  36. Requires: %{name}%{?_isa} = %{version}-%{release}
  37. # Retired in F34
  38. Obsoletes: libhandy1-devel < 1.1.90-2
  39. Conflicts: libhandy1-devel < 1.1.90-2
  40. Provides: libhandy1-devel = %{version}-%{release}
  41. Provides: libhandy1-devel%{?_isa} = %{version}-%{release}
  42. %description devel
  43. The %{name}-devel package contains libraries and header files for
  44. developing applications that use %{name}.
  45. %debug_package
  46. %prep
  47. %autosetup -n libhandy-%{version} -p1
  48. %build
  49. %meson -Dgtk_doc=true -Dexamples=false -Dtests=true
  50. %meson_build
  51. %install
  52. %meson_install
  53. %find_lang libhandy
  54. %if %{with test}
  55. %check
  56. %{shrink:xvfb-run -a %meson_test}
  57. %endif
  58. %files -f libhandy.lang
  59. %license COPYING
  60. %doc AUTHORS
  61. %doc HACKING.md
  62. %doc NEWS
  63. %doc README.md
  64. %{_libdir}/girepository-1.0/*
  65. %{_libdir}/libhandy-1.so.0
  66. %files devel
  67. %{_includedir}/libhandy-1/
  68. %dir %{_libdir}/glade
  69. %{_libdir}/glade/*
  70. %{_libdir}/libhandy-1.so
  71. %{_libdir}/pkgconfig/libhandy-1.pc
  72. %{_datadir}/gir-1.0/*
  73. %dir %{_datadir}/glade/
  74. %{_datadir}/glade/*
  75. %{_datadir}/gtk-doc/*
  76. %dir %{_datadir}/vala/
  77. %dir %{_datadir}/vala/vapi
  78. %{_datadir}/vala/vapi/*
  79. %changelog
  80. * Sat Aug 14 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.3-1
  81. - new upstream release.
  82. * Sun May 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.2-1
  83. - new upstream release.
  84. * Thu Apr 15 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.1-1
  85. - new upstream release.
  86. * Sun Mar 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.0-3
  87. - initial build for Vine Linux.
  88. * Fri Mar 19 2021 Kalev Lember <klember@redhat.com> - 1.2.0-2
  89. - Add conflicts with libhandy1 packages to help with the upgrade path
  90. * Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 1.2.0-1
  91. - Update to 1.2.0
  92. * Wed Mar 03 2021 Kalev Lember <klember@redhat.com> - 1.1.90-2
  93. - Update to 1.1.90 and libhandy 1 ABI, based on earlier libhandy1 packaging
  94. - Obsolete separate libhandy1 and libhandy1-devel packages
  95. * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-7
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
  97. * Sun Sep 13 2020 Kalev Lember <klember@redhat.com> - 0.0.13-6
  98. - Disable glade catalog for F33+
  99. * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-5
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  101. * Fri May 22 2020 Kalev Lember <klember@redhat.com> - 0.0.13-3
  102. - Rebuilt for libgladeui soname bump
  103. * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  105. * Mon Jan 20 2020 Kalev Lember <klember@redhat.com> - 0.0.13-1
  106. - Update to 0.0.13
  107. * Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 0.0.11-1
  108. - Update to 0.0.11
  109. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.10-3
  110. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  111. * Mon Jul 22 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 0.0.10-2
  112. - Add patch to fix installation of glade resources for flatpak builds
  113. * Thu Jun 13 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.10-1
  114. - Update to 0.0.10
  115. * Thu Mar 07 2019 Kalev Lember <klember@redhat.com> - 0.0.9-1
  116. - Update to 0.0.9
  117. * Fri Mar 1 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.8-2
  118. - Pull an upstream fix to prevent broken translations in
  119. libhandy using apps
  120. * Sat Feb 16 2019 Kalev Lember <klember@redhat.com> - 0.0.8-1
  121. - Update to 0.0.8
  122. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-2
  123. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  124. * Thu Jan 24 2019 Kalev Lember <klember@redhat.com> - 0.0.7-1
  125. - Update to 0.0.7
  126. * Fri Jan 11 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.6-2
  127. - Swap some runtime vs devel bits
  128. * Wed Jan 09 2019 Kalev Lember <klember@redhat.com> - 0.0.6-1
  129. - Initial Fedora packaging