Package wireplumber: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | %define _unpackaged_files_terminate_build 1 %def_enable doc %def_enable introspection %def_enable systemd # These come from meson.build. %define apiversion 0.4 %define soversion 0 Name: wireplumber Version: 0.4.17 Release: alt1 Summary: a modular session/policy manager for PipeWire License: MIT Group: Sound URL: https://pipewire.pages.freedesktop.org/wireplumber/ BuildRequires(pre): meson >= 0.56 BuildRequires: pkgconfig(gobject-2.0) >= 2.62 BuildRequires: pkgconfig(gmodule-2.0) >= 2.62 BuildRequires: pkgconfig(gio-2.0) >= 2.62 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.62 BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.68 BuildRequires: liblua5.3-devel %if_enabled introspection BuildRequires(pre): gobject-introspection-devel %endif %if_enabled doc BuildRequires: python3-module-sphinx BuildRequires: python3-module-breathe BuildRequires: python3(sphinx_rtd_theme) BuildRequires: python3-module-sphinx-sphinx-build-symlink BuildRequires: python3-module-setuptools BuildRequires: python3(lxml) BuildRequires: doxygen >= 1.8.0 %endif %if_enabled systemd # Like so many other programs, WirePlumber implements logind integration via # libsystemd for no reason. :( BuildRequires: pkgconfig(systemd) %endif Source: %name-%version.tar %package doc Summary: docs for the client library for WirePlumber Group: Documentation %package -n lib%name Summary: the client library for WirePlumber Group: System/Libraries %package -n lib%name-devel Summary: development files of the client library for WirePlumber Group: Development/C %if_enabled introspection %package -n lib%name-gir Summary: GObject introspection data for lib%name Group: System/Libraries Requires: lib%name = %EVR %package -n lib%name-gir-devel Summary: GObject introspection development data for lib%name Group: Development/Other BuildArch: noarch Requires: lib%name-gir = %EVR Requires: lib%name-devel = %EVR %endif %description WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. %description doc WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. This package contains documentation for WirePlumber. %description -n lib%name WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. This package contains the client library. %description -n lib%name-devel WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. This package contains the development files for the client library. %if_enabled introspection %description -n lib%name-gir WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. This package contains GObject introspection data for lib%name. %description -n lib%name-gir-devel WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire's API, providing convenience for writing the daemon's modules as well as external tools for managing PipeWire. This package contains GObject introspection development data for lib%name. %endif %prep %setup %build %meson \ -Dsystem-lua=true \ %if_enabled doc -Ddoc=enabled \ %endif %if_enabled systemd -Dsystemd=enabled \ %endif %if_enabled introspection -Dintrospection=enabled \ %endif # %meson_build %install %meson_install # %%doc does not work for multiple subpackages as of 2021 Oct 18. # We implement its functionality by hand as closely as possible. %define docdir() %_defaultdocdir/%1-%version mkdir -p %buildroot%{docdir %name}/ cp -v NEWS.rst README.rst %buildroot%{docdir %name}/ mkdir -p %buildroot%{docdir %name-doc}/ mv -v %buildroot%_datadir/doc/%name %buildroot%{docdir %name-doc} %find_lang %name %files -f %name.lang %define docdir() %_defaultdocdir/%1-%version %{docdir %name} %_bindir/wireplumber %_bindir/wpctl %_bindir/wpexec %_datadir/wireplumber %_datadir/zsh/site-functions/_wpctl %if_enabled systemd %_user_unitdir/wireplumber.service %_user_unitdir/wireplumber@.service %endif %files doc %define docdir() %_defaultdocdir/%1-%version # Quoting docs/meson.build. %{docdir %name-doc} %files -n lib%name %_libdir/libwireplumber-%apiversion.so.%soversion.* %_libdir/libwireplumber-%apiversion.so.%soversion # plugins %_libdir/wireplumber-%apiversion %files -n lib%name-devel %_pkgconfigdir/wireplumber-%apiversion.pc %_libdir/libwireplumber-%apiversion.so %_includedir/wireplumber-%apiversion %if_enabled introspection %files -n lib%name-gir %_typelibdir/Wp-%apiversion.typelib %files -n lib%name-gir-devel %_girdir/Wp-%apiversion.gir %endif %changelog * Mon Dec 04 2023 Arseny Maslennikov <arseny@altlinux.org> 0.4.17-alt1 - 0.4.15 -> 0.4.17. * Mon Oct 16 2023 Michael Shigorin <mike@altlinux.org> 0.4.15-alt2 - Added explicit BR: python3-module-setuptools to fix ftbfs on e2k. * Sun Oct 15 2023 Arseny Maslennikov <arseny@altlinux.org> 0.4.15-alt1 - 0.4.14 -> 0.4.15. * Sun Jun 25 2023 Arseny Maslennikov <arseny@altlinux.org> 0.4.14-alt2 - Fixed FTBFS. * Wed Mar 22 2023 Arseny Maslennikov <arseny@altlinux.org> 0.4.14-alt1 - 0.4.13 -> 0.4.14. * Thu Dec 15 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.13-alt1 - 0.4.12 -> 0.4.13. * Thu Oct 20 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.12-alt1 - 0.4.9 -> 0.4.12. * Sun Mar 27 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.9-alt1 - 0.4.8 -> 0.4.9. * Mon Feb 07 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.8-alt1 - 0.4.7 -> 0.4.8. * Fri Jan 14 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.7-alt1 - 0.4.6 -> 0.4.7. * Fri Jan 07 2022 Arseny Maslennikov <arseny@altlinux.org> 0.4.6-alt1 - 0.4.5-37-g0ff9ea9 -> 0.4.6. * Mon Dec 20 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.5.37.g0ff9ea9-alt1 - 0.4.5 -> 0.4.5-37-g0ff9ea9. * Fri Nov 12 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.5-alt1 - 0.4.4-9-g44a0c55 -> 0.4.5. * Fri Oct 22 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.4.9.g44a0c55-alt1 - 0.4.4 -> 0.4.4-9-g44a0c55. - Built with -Dsystemd=enabled; this includes logind integration (by means of libsystemd) and installs unit files. * Sun Oct 17 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.4-alt1 - 0.4.3 -> 0.4.4. * Fri Oct 08 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.3-alt1 - 0.4.2 -> 0.4.3. * Sun Oct 03 2021 Arseny Maslennikov <arseny@altlinux.org> 0.4.2-alt1 - 0.3.96 -> 0.4.2. * Sat Jun 05 2021 Arseny Maslennikov <arseny@altlinux.org> 0.3.96-alt1 - 0.3.60.103.g9609a79903ab -> 0.3.96. * Thu Mar 18 2021 Arseny Maslennikov <arseny@altlinux.org> 0.3.60.103.g9609a79903ab-alt1 - 0.3.60.63.g24a260030bab -> 0.3.60.103.g9609a79903ab. * Sun Feb 21 2021 Arseny Maslennikov <arseny@altlinux.org> 0.3.60.63.g24a260030bab-alt1 - Initial build for ALT Sisyphus. |