libgudev-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: UDev GObject bindings
  3. Summary(ja): UDev の GObject バインディング
  4. Name: libgudev
  5. Version: 236
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPLv2.1
  11. URL: https://gitlab.gnome.org/GNOME/libgudev
  12. Source0: https://download.gnome.org/sources/%{name}/%{version}/%{name}-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: meson
  15. BuildRequires: eudev-libudev-devel
  16. BuildRequires: glib2-devel >= 2.22.0
  17. BuildRequires: gobject-introspection-devel
  18. BuildRequires: gtk-doc
  19. BuildRequires: vala
  20. Obsoletes: eudev-libgudev1 < 3.1.5
  21. Provides: eudev-libgudev1 = 3.1.5
  22. Obsoletes: libgudev1 < 230
  23. Provides: libgudev1 = %{version}-%{release}
  24. %description
  25. This package contains the libraries for adding libudev support to applications
  26. that use glib.
  27. %description -l ja
  28. このパッケージには Glib を使用するアプリケーションに libudev サポートを
  29. 追加するためのライブラリが含まれております。
  30. %package devel
  31. Summary: Development files for %{name}
  32. Summary(ja): %{name} の開発環境
  33. Group: programming
  34. Requires: %{name} = %{version}-%{release}
  35. Obsoletes: eudev-libgudev1-devel < 3.1.5
  36. Provides: eudev-libgudev1-devel = 3.1.5
  37. Obsoletes: libgudev1-devel < 230
  38. Provides: libgudev1-devel = %{version}-%{release}
  39. %description devel
  40. The %{name}-devel package contains libraries and header files
  41. for developing applications that use %{name}.
  42. # compat32
  43. %package -n compat32-%{name}
  44. Summary: UDev GObject bindings
  45. Summary(ja): UDev の GObject バインディング
  46. Group: system,legacy
  47. Requires: %{name} = %{version}-%{release}
  48. Obsoletes: compat32-eudev-libgudev1 < 3.1.5
  49. Provides: compat32-eudev-libgudev1 = 3.1.5
  50. Obsoletes: compat32-libgudev1 < 230
  51. Provides: compat32-libgudev1 = %{version}-%{release}
  52. %description -n compat32-%{name}
  53. This package contains the libraries for adding libudev support to applications
  54. that use glib.
  55. %description -n compat32-%{name} -l ja
  56. このパッケージには Glib を使用するアプリケーションに libudev サポートを
  57. 追加するためのライブラリが含まれております。
  58. %package -n compat32-%{name}-devel
  59. Summary: Development files for %{name}
  60. Summary(ja): %{name} の開発環境
  61. Group: programming,legacy
  62. Requires: compat32-%{name} = %{version}-%{release}
  63. Obsoletes: compat32-eudev-libgudev1-devel < 3.1.5
  64. Provides: compat32-eudev-libgudev1-devel = 3.1.5
  65. Obsoletes: compat32-libgudev1-devel < 230
  66. Provides: compat32-libgudev1-devel = %{version}-%{release}
  67. %description -n compat32-%{name}-devel
  68. The %{name}-devel package contains libraries and header files
  69. for developing applications that use %{name}.
  70. %debug_package
  71. %prep
  72. %setup -q
  73. %build
  74. %meson -Dtests=disabled
  75. %meson_build
  76. %install
  77. %meson_install
  78. %files
  79. %defattr(-,root,root,-)
  80. %license COPYING
  81. %doc README.md NEWS
  82. %{_libdir}/libgudev-1.0.so.*
  83. %{_libdir}/girepository-1.0/GUdev-1.0.typelib
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_libdir}/libgudev-1.0.so
  87. %{_includedir}/gudev-1.0/gudev/*.h
  88. %{_datadir}/gir-1.0/GUdev-1.0.gir
  89. %{_libdir}/pkgconfig/gudev-1.0*
  90. %dir %{_datadir}/vala
  91. %dir %{_datadir}/vala/vapi
  92. %{_datadir}/vala/vapi/gudev-1.0.*
  93. %if %{build_compat32}
  94. %files -n compat32-%{name}
  95. %defattr(-,root,root,-)
  96. %{_libdir}/libgudev-1.0.so.*
  97. %files -n compat32-%{name}-devel
  98. %defattr(-,root,root,-)
  99. %{_libdir}/libgudev-1.0.so
  100. %endif
  101. %changelog
  102. * Sat Apr 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 236-1
  103. - new upstream release.
  104. - dropped ldconfig scriptlets.
  105. * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 233-1
  106. - new upstream release.
  107. * Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 232-1
  108. - new upstream release.
  109. * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 230-1
  110. - initial build