Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 1 | # |
| 2 | # spec file for package libosmocore |
| 3 | # |
| 4 | # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. |
| 5 | # |
| 6 | # All modifications and additions to the file contributed by third parties |
| 7 | # remain the property of their copyright owners, unless otherwise agreed |
| 8 | # upon. The license for this file, and modifications and additions to the |
| 9 | # file, is the same license as for the pristine package itself (unless the |
| 10 | # license for the pristine package is not an Open Source License, in which |
| 11 | # case the license is the MIT License). An "Open Source License" is a |
| 12 | # license that conforms to the Open Source Definition (Version 1.9) |
| 13 | # published by the Open Source Initiative. |
| 14 | |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 15 | Name: libosmocore |
Oliver Smith | 6370f5d | 2020-05-14 11:27:08 +0200 | [diff] [blame] | 16 | Version: @VERSION@ |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 17 | Release: 0 |
| 18 | Summary: The Open Source Mobile Communications Core Library |
| 19 | License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later |
| 20 | Group: Productivity/Telephony/Utilities |
| 21 | Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore |
| 22 | Source: %name-%version.tar.xz |
| 23 | BuildRequires: automake >= 1.6 |
| 24 | BuildRequires: libtool >= 2 |
| 25 | BuildRequires: lksctp-tools-devel |
| 26 | BuildRequires: pkg-config >= 0.20 |
Oliver Smith | 6370f5d | 2020-05-14 11:27:08 +0200 | [diff] [blame] | 27 | BuildRequires: python3 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 28 | BuildRequires: xz |
| 29 | BuildRequires: pkgconfig(gnutls) >= 2.12.0 |
| 30 | BuildRequires: pkgconfig(libpcsclite) |
| 31 | BuildRequires: pkgconfig(libusb-1.0) |
Pau Espin Pedrol | 4a15c2d | 2021-11-16 12:47:03 +0100 | [diff] [blame] | 32 | BuildRequires: pkgconfig(talloc) >= 2.1.0 |
Harald Welte | 53a2fde | 2020-12-01 22:21:14 +0100 | [diff] [blame] | 33 | BuildRequires: pkgconfig(libmnl) |
Harald Welte | 700822b | 2021-02-03 14:52:13 +0100 | [diff] [blame] | 34 | BuildRequires: pkgconfig(libsystemd) |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 35 | |
| 36 | %description |
| 37 | libosmocore is a package with various utility functions that were |
| 38 | originally developed as part of the OpenBSC project, but which are of |
| 39 | a more generic nature and thus useful to (at least) other programs |
| 40 | that Osmocom develops w.r.t. mobile communications. |
| 41 | |
| 42 | There is no clear scope of it. It simply houses all code shared |
| 43 | between OsmocomBB and OpenBSC to avoid code duplication. |
| 44 | |
| 45 | %package tools |
| 46 | Summary: GSM utilities from the osmocore project |
| 47 | License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-3.0-or-later AND AGPL-3.0-or-later |
| 48 | Group: Productivity/Telephony/Utilities |
| 49 | Provides: %name-utils = %version-%release |
| 50 | |
| 51 | %description tools |
| 52 | libosmocore is a package with various utility functions that were |
| 53 | originally developed as part of the OpenBSC project. |
| 54 | |
| 55 | This package contains a program for frequency calculation for GSM |
| 56 | called "osmo-arfcn", and a program called "osmo-auc-gen" that is used |
Vadim Yanitskiy | 663eaaa | 2021-12-27 14:49:16 +0600 | [diff] [blame] | 57 | for testing GSM authentication, as well as "osmo-config-merge", a tool |
| 58 | for merging Osmocom configuration files. |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 59 | |
| 60 | %package -n libosmocodec0 |
| 61 | Summary: GSM 06.10, 06.20, 06.60, 06.90 codec library |
| 62 | License: GPL-2.0-or-later |
| 63 | Group: System/Libraries |
| 64 | |
| 65 | %description -n libosmocodec0 |
| 66 | The libosmocodec library contains an implementation of multiple |
| 67 | GSM codecs: |
| 68 | |
| 69 | * GSM 06.10 Full Rate (FR) codec |
| 70 | * GSM 06.20 Half Rate (HR) codec |
| 71 | * GSM 06.60 Enhanced Full Range (EFR) codec |
| 72 | * GSM 06.90 Adaptive Multi-Rate (AMR) codec |
| 73 | |
| 74 | %package -n libosmocodec-devel |
| 75 | Summary: Development files for the Osmocom GSM codec library |
| 76 | License: GPL-2.0-or-later |
| 77 | Group: Development/Libraries/C and C++ |
| 78 | Requires: libosmocodec0 = %version |
| 79 | |
| 80 | %description -n libosmocodec-devel |
| 81 | The libosmocodec library contains an implementation of multiple |
| 82 | GSM codecs. |
| 83 | |
| 84 | This subpackage contains libraries and header files for developing |
| 85 | applications that want to make use of libosmocodec. |
| 86 | |
| 87 | %package -n libosmocoding0 |
| 88 | Summary: GSM/GPRS/EDGE transcoding routines library |
| 89 | License: GPL-2.0-or-later |
| 90 | Group: System/Libraries |
| 91 | |
| 92 | %description -n libosmocoding0 |
| 93 | libosmocoding is a library which provides GSM, GPRS and EDGE |
| 94 | transcoding routines. |
| 95 | |
| 96 | The following data types are currently supported: xCCH, PDTCH (CS 1-4 |
| 97 | and MCS 1-9), TCH/FR, TCH/HR, TCH/AFS, RCH/AHS, RACH and SCH. |
| 98 | |
| 99 | %package -n libosmocoding-devel |
| 100 | Summary: Development files for the Osmocom transcoding library |
| 101 | License: GPL-2.0-or-later |
| 102 | Group: Development/Libraries/C and C++ |
| 103 | Requires: libosmocodec-devel = %version |
| 104 | Requires: libosmocoding0 = %version |
| 105 | Requires: libosmocore-devel = %version |
| 106 | Requires: libosmogsm-devel = %version |
| 107 | |
| 108 | %description -n libosmocoding-devel |
| 109 | libosmocoding is a library which provides GSM, GPRS and EDGE |
| 110 | transcoding routines. |
| 111 | |
| 112 | This subpackage contains libraries and header files for developing |
| 113 | applications that want to make use of libosmocoding. |
| 114 | |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 115 | %package -n libosmocore20 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 116 | Summary: Osmocom core library |
| 117 | # crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+ |
| 118 | License: GPL-2.0-only AND GPL-2.0-or-later |
| 119 | Group: System/Libraries |
| 120 | |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 121 | %description -n libosmocore20 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 122 | libosmocore is a library with various utility functions shared |
| 123 | between OpenBSC and OsmocomBB. |
| 124 | |
| 125 | %package -n libosmocore-devel |
| 126 | Summary: Development files for the Osmocom core library |
| 127 | # crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+ |
| 128 | License: GPL-2.0-only AND GPL-2.0-or-later |
| 129 | Group: Development/Libraries/C and C++ |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 130 | Requires: libosmocore20 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 131 | Requires: libtalloc-devel |
Harald Welte | c73a160 | 2022-03-25 11:27:35 +0100 | [diff] [blame] | 132 | Requires: lksctp-tools-devel |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 133 | |
| 134 | %description -n libosmocore-devel |
| 135 | libosmocore is a library with various utility functions shared |
| 136 | between OpenBSC and OsmocomBB. |
| 137 | |
| 138 | This subpackage contains libraries and header files for developing |
| 139 | applications that want to make use of libosmocore. |
| 140 | |
| 141 | %package -n libosmoctrl0 |
| 142 | Summary: Osmocom SNMP-like control interface library |
| 143 | License: GPL-2.0-or-later |
| 144 | Group: System/Libraries |
| 145 | |
| 146 | %description -n libosmoctrl0 |
| 147 | libosmocore is a package with various utility functions that were |
| 148 | originally developed as part of the OpenBSC project. |
| 149 | |
| 150 | libosmoctrl is an SNMP-like control interface. In contrast to the VTY |
| 151 | interface, the control interface is meant to be used by programs. |
| 152 | |
| 153 | %package -n libosmoctrl-devel |
| 154 | Summary: Osmocom control interface library |
| 155 | License: GPL-2.0-or-later |
| 156 | Group: Development/Libraries/C and C++ |
| 157 | Requires: libosmocore-devel = %version |
| 158 | Requires: libosmoctrl0 = %version |
| 159 | Requires: libosmogsm-devel = %version |
| 160 | |
| 161 | %description -n libosmoctrl-devel |
| 162 | libosmoctrl is an SNMP-like control interface. In contrast to the VTY |
| 163 | interface, the control interface is meant to be used by programs. |
| 164 | |
| 165 | This subpackage contains libraries and header files for developing |
| 166 | applications that want to make use of libosmoctrl. |
| 167 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 168 | %package -n libosmogb14 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 169 | Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library |
| 170 | License: AGPL-3.0-or-later |
| 171 | Group: System/Libraries |
| 172 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 173 | %description -n libosmogb14 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 174 | libosmocore is a package with various utility functions that were |
| 175 | originally developed as part of the OpenBSC project. |
| 176 | |
| 177 | The libosmogb library contains a GPRS BSSGP protocol implementation. |
| 178 | |
| 179 | %package -n libosmogb-devel |
| 180 | Summary: Development files for the Osmocom GPRS Gb interface library |
| 181 | License: AGPL-3.0-or-later |
| 182 | Group: Development/Libraries/C and C++ |
| 183 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 184 | Requires: libosmogb14 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 185 | Requires: libosmovty-devel = %version |
| 186 | |
| 187 | %description -n libosmogb-devel |
| 188 | The libosmogb library contains a GPRS BSSGP protocol implementation. |
| 189 | |
| 190 | This subpackage contains libraries and header files for developing |
| 191 | applications that want to make use of libosmogb. |
| 192 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 193 | %package -n libosmogsm18 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 194 | Summary: Osmocom GSM utility library |
| 195 | License: GPL-2.0-or-later AND AGPL-3.0-or-later |
| 196 | Group: System/Libraries |
| 197 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 198 | %description -n libosmogsm18 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 199 | libosmocore is a package with various utility functions that were |
| 200 | originally developed as part of the OpenBSC project. |
| 201 | |
| 202 | The libosmogsm library in particular is a collection of common code |
| 203 | used in various GSM related sub-projects inside the Osmocom family of |
| 204 | projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm |
| 205 | implementation, a GSM TLV parser, SMS utility routines as well as |
| 206 | protocol definitions for a series of protocols. |
| 207 | |
| 208 | %package -n libosmogsm-devel |
| 209 | Summary: Development files for the Osmocom GSM utility library |
| 210 | License: GPL-2.0-or-later AND AGPL-3.0-or-later |
| 211 | Group: Development/Libraries/C and C++ |
| 212 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 213 | Requires: libosmogsm18 = %version |
Harald Welte | d55a209 | 2022-11-29 22:33:54 +0100 | [diff] [blame] | 214 | Requires: libosmoisdn-devel = %version |
| 215 | Requires: libosmoisdn0 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 216 | |
| 217 | %description -n libosmogsm-devel |
| 218 | The libosmogsm library in particular is a collection of common code |
| 219 | used in various GSM related sub-projects inside the Osmocom family of |
| 220 | projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm |
| 221 | implementation, a GSM TLV parser, SMS utility routines as well as |
| 222 | protocol definitions for a series of protocols. |
| 223 | |
| 224 | This subpackage contains libraries and header files for developing |
| 225 | applications that want to make use of libosmogsm. |
| 226 | |
Harald Welte | d55a209 | 2022-11-29 22:33:54 +0100 | [diff] [blame] | 227 | %package -n libosmoisdn0 |
| 228 | Summary: Osmocom ISDN utility library |
| 229 | License: GPL-2.0-or-later |
| 230 | Group: System/Libraries |
| 231 | |
| 232 | %description -n libosmoisdn0 |
| 233 | libosmocore is a package with various utility functions that were |
| 234 | originally developed as part of the OpenBSC project. |
| 235 | |
| 236 | The libosmoisdn library in particular is a collection of common code used in |
| 237 | various ISDN related sub-projects inside the Osmocom family of projects. It |
| 238 | includes an I.460 sub-channel multiplex and a generic LAPD core. |
| 239 | |
| 240 | %package -n libosmoisdn-devel |
| 241 | Summary: Development files for the Osmocom ISDN utility library |
| 242 | License: GPL-2.0-or-later |
| 243 | Group: Development/Libraries/C and C++ |
| 244 | Requires: libosmocore-devel = %version |
| 245 | Requires: libosmoisdn0 = %version |
| 246 | |
| 247 | %description -n libosmoisdn-devel |
| 248 | The libosmoisdn library in particular is a collection of common code used in |
| 249 | various ISDN related sub-projects inside the Osmocom family of projects. It |
| 250 | includes an I.460 sub-channel multiplex and a generic LAPD core. |
| 251 | |
| 252 | This subpackage contains libraries and header files for developing |
| 253 | applications that want to make use of libosmogsm. |
| 254 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 255 | %package -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 256 | Summary: Osmocom SIM card related utility library |
| 257 | License: GPL-2.0-or-later |
| 258 | Group: System/Libraries |
| 259 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 260 | %description -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 261 | libosmocore is a package with various utility functions that were |
| 262 | originally developed as part of the OpenBSC project. |
| 263 | |
| 264 | The libosmosim library in particular contains routines for SIM card |
| 265 | access. |
| 266 | |
| 267 | %package -n libosmosim-devel |
| 268 | Summary: Development files for the Osmocom SIM card utility library |
| 269 | License: GPL-2.0-or-later |
| 270 | Group: Development/Libraries/C and C++ |
| 271 | Requires: libosmocore-devel = %version |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 272 | Requires: libosmosim2 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 273 | |
| 274 | %description -n libosmosim-devel |
| 275 | The libosmosim library in particular contains routines for SIM card |
| 276 | access. |
| 277 | |
| 278 | This subpackage contains libraries and header files for developing |
| 279 | applications that want to make use of libosmosim. |
| 280 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 281 | %package -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 282 | Summary: Osmocom VTY interface library |
| 283 | License: GPL-2.0-or-later |
| 284 | Group: System/Libraries |
| 285 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 286 | %description -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 287 | libosmocore is a package with various utility functions that were |
| 288 | originally developed as part of the OpenBSC project. |
| 289 | |
| 290 | The libosmovty library implements the interactive command-line on the |
| 291 | VTY (Virtual TTY), as well as configuration file parsing. |
| 292 | |
| 293 | %package -n libosmovty-devel |
| 294 | Summary: Development files for the Osmocom VTY interface library |
| 295 | License: GPL-2.0-or-later |
| 296 | Group: Development/Libraries/C and C++ |
| 297 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 298 | Requires: libosmovty9 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 299 | |
| 300 | %description -n libosmovty-devel |
| 301 | The libosmovty library implements the interactive command-line on the |
| 302 | VTY (Virtual TTY), as well as configuration file parsing. |
| 303 | |
| 304 | This subpackage contains libraries and header files for developing |
| 305 | applications that want to make use of libosmovty. |
| 306 | |
| 307 | %package -n libosmousb0 |
| 308 | Summary: Osmocom USB library |
| 309 | License: GPL-2.0-or-later |
| 310 | Group: System/Libraries |
| 311 | |
| 312 | %description -n libosmousb0 |
| 313 | libosmocore is a package with various utility functions that were |
| 314 | originally developed as part of the OpenBSC project. |
| 315 | |
| 316 | The libosmosub library in particular contains routines for USB device |
| 317 | access via libusb-1.0, integrated into the libosmocore select event loop. |
| 318 | |
| 319 | %package -n libosmousb-devel |
| 320 | Summary: Development files for the Osmocom USB library |
| 321 | License: GPL-2.0-or-later |
| 322 | Group: Development/Libraries/C and C++ |
| 323 | Requires: libosmocore-devel = %version |
| 324 | Requires: libosmousb0 = %version |
Oliver Smith | 6370f5d | 2020-05-14 11:27:08 +0200 | [diff] [blame] | 325 | Requires: pkgconfig(libusb-1.0) |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 326 | |
| 327 | %description -n libosmousb-devel |
| 328 | The libosmosub library in particular contains routines for USB device |
| 329 | access via libusb-1.0, integrated into the libosmocore select event loop. |
| 330 | |
| 331 | This subpackage contains libraries and header files for developing |
| 332 | applications that want to make use of libosmousb. |
| 333 | |
| 334 | |
| 335 | %prep |
| 336 | %setup -q |
| 337 | |
| 338 | %build |
| 339 | echo "%version" >.tarball-version |
| 340 | autoreconf -fiv |
Harald Welte | 700822b | 2021-02-03 14:52:13 +0100 | [diff] [blame] | 341 | %configure --enable-shared --disable-static --enable-systemd-logging \ |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 342 | --includedir="%_includedir/%name" |
| 343 | make %{?_smp_mflags} V=1 |
| 344 | |
| 345 | %install |
| 346 | b="%buildroot" |
| 347 | make %{?_smp_mflags} install DESTDIR="$b" |
| 348 | find "$b/%_libdir" -type f -name "*.la" -delete |
| 349 | |
| 350 | %check |
| 351 | make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) |
| 352 | |
| 353 | %post -n libosmocodec0 -p /sbin/ldconfig |
| 354 | %postun -n libosmocodec0 -p /sbin/ldconfig |
| 355 | %post -n libosmocoding0 -p /sbin/ldconfig |
| 356 | %postun -n libosmocoding0 -p /sbin/ldconfig |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 357 | %post -n libosmocore20 -p /sbin/ldconfig |
| 358 | %postun -n libosmocore20 -p /sbin/ldconfig |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 359 | %post -n libosmoctrl0 -p /sbin/ldconfig |
| 360 | %postun -n libosmoctrl0 -p /sbin/ldconfig |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 361 | %post -n libosmogb14 -p /sbin/ldconfig |
| 362 | %postun -n libosmogb14 -p /sbin/ldconfig |
| 363 | %post -n libosmogsm18 -p /sbin/ldconfig |
| 364 | %postun -n libosmogsm18 -p /sbin/ldconfig |
Harald Welte | d55a209 | 2022-11-29 22:33:54 +0100 | [diff] [blame] | 365 | %post -n libosmoisdn0 -p /sbin/ldconfig |
| 366 | %postun -n libosmoisdn0 -p /sbin/ldconfig |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 367 | %post -n libosmosim2 -p /sbin/ldconfig |
| 368 | %postun -n libosmosim2 -p /sbin/ldconfig |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 369 | %post -n libosmovty9 -p /sbin/ldconfig |
| 370 | %postun -n libosmovty9 -p /sbin/ldconfig |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 371 | %post -n libosmousb0 -p /sbin/ldconfig |
| 372 | %postun -n libosmousb0 -p /sbin/ldconfig |
| 373 | |
| 374 | %files tools |
| 375 | %defattr(-,root,root) |
| 376 | %_bindir/osmo-* |
| 377 | |
| 378 | %files -n libosmocodec0 |
| 379 | %defattr(-,root,root) |
| 380 | %_libdir/libosmocodec.so.0* |
| 381 | |
| 382 | %files -n libosmocodec-devel |
| 383 | %defattr(-,root,root) |
| 384 | %dir %_includedir/%name |
| 385 | %dir %_includedir/%name/osmocom |
| 386 | %_includedir/%name/osmocom/codec/ |
| 387 | %_libdir/libosmocodec.so |
| 388 | %_libdir/pkgconfig/libosmocodec.pc |
| 389 | |
| 390 | %files -n libosmocoding0 |
| 391 | %defattr(-,root,root) |
| 392 | %_libdir/libosmocoding.so.0* |
| 393 | |
| 394 | %files -n libosmocoding-devel |
| 395 | %defattr(-,root,root) |
| 396 | %dir %_includedir/%name |
| 397 | %dir %_includedir/%name/osmocom |
| 398 | %_includedir/%name/osmocom/coding/ |
| 399 | %_libdir/libosmocoding.so |
| 400 | %_libdir/pkgconfig/libosmocoding.pc |
| 401 | |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 402 | %files -n libosmocore20 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 403 | %defattr(-,root,root) |
Pau Espin Pedrol | 5f15e41 | 2023-02-07 11:20:41 +0100 | [diff] [blame] | 404 | %_libdir/libosmocore.so.20* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 405 | |
| 406 | %files -n libosmocore-devel |
| 407 | %defattr(-,root,root) |
| 408 | %dir %_includedir/%name |
| 409 | %dir %_includedir/%name/osmocom |
| 410 | %_includedir/%name/osmocom/core/ |
| 411 | %_libdir/libosmocore.so |
| 412 | %_libdir/pkgconfig/libosmocore.pc |
| 413 | %_datadir/aclocal/osmo_ax_code_coverage.m4 |
| 414 | %_datadir/aclocal/osmo_ac_code_coverage.m4 |
| 415 | |
| 416 | %files -n libosmoctrl0 |
| 417 | %defattr(-,root,root) |
| 418 | %_libdir/libosmoctrl.so.0* |
| 419 | |
| 420 | %files -n libosmoctrl-devel |
| 421 | %defattr(-,root,root) |
| 422 | %dir %_includedir/%name |
| 423 | %dir %_includedir/%name/osmocom |
| 424 | %_includedir/%name/osmocom/ctrl/ |
| 425 | %_libdir/libosmoctrl.so |
| 426 | %_libdir/pkgconfig/libosmoctrl.pc |
| 427 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 428 | %files -n libosmogb14 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 429 | %defattr(-,root,root) |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 430 | %_libdir/libosmogb.so.14* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 431 | |
| 432 | %files -n libosmogb-devel |
| 433 | %defattr(-,root,root) |
| 434 | %dir %_includedir/%name |
| 435 | %dir %_includedir/%name/osmocom |
| 436 | %_includedir/%name/osmocom/gprs/ |
| 437 | %_libdir/libosmogb.so |
| 438 | %_libdir/pkgconfig/libosmogb.pc |
| 439 | |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 440 | %files -n libosmogsm18 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 441 | %defattr(-,root,root) |
Pau Espin Pedrol | a1584d2 | 2022-06-28 17:00:51 +0200 | [diff] [blame] | 442 | %_libdir/libosmogsm.so.18* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 443 | |
| 444 | %files -n libosmogsm-devel |
| 445 | %defattr(-,root,root) |
| 446 | %dir %_includedir/%name |
| 447 | %dir %_includedir/%name/osmocom |
| 448 | %_includedir/%name/osmocom/gsm/ |
| 449 | %_includedir/%name/osmocom/crypt/ |
| 450 | %_libdir/libosmogsm.so |
| 451 | %_libdir/pkgconfig/libosmogsm.pc |
| 452 | |
Harald Welte | d55a209 | 2022-11-29 22:33:54 +0100 | [diff] [blame] | 453 | %files -n libosmoisdn0 |
| 454 | %defattr(-,root,root) |
| 455 | %_libdir/libosmoisdn.so.0* |
| 456 | |
| 457 | %files -n libosmoisdn-devel |
| 458 | %defattr(-,root,root) |
| 459 | %dir %_includedir/%name |
| 460 | %dir %_includedir/%name/osmocom |
| 461 | %_includedir/%name/osmocom/isdn/ |
| 462 | %_libdir/libosmoisdn.so |
| 463 | %_libdir/pkgconfig/libosmoisdn.pc |
| 464 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 465 | %files -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 466 | %defattr(-,root,root) |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 467 | %_libdir/libosmosim.so.2* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 468 | |
| 469 | %files -n libosmosim-devel |
| 470 | %defattr(-,root,root) |
| 471 | %dir %_includedir/%name |
| 472 | %dir %_includedir/%name/osmocom/ |
| 473 | %_includedir/%name/osmocom/sim/ |
| 474 | %_libdir/libosmosim.so |
| 475 | %_libdir/pkgconfig/libosmosim.pc |
| 476 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 477 | %files -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 478 | %defattr(-,root,root) |
Harald Welte | af52bcc | 2021-02-24 09:05:57 +0100 | [diff] [blame] | 479 | %_libdir/libosmovty.so.9* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 480 | |
| 481 | %files -n libosmovty-devel |
| 482 | %defattr(-,root,root) |
| 483 | %dir %_includedir/%name |
| 484 | %dir %_includedir/%name/osmocom |
| 485 | %_includedir/%name/osmocom/vty/ |
| 486 | %_includedir/%name/osmo-release.mk |
| 487 | %_libdir/libosmovty.so |
| 488 | %_libdir/pkgconfig/libosmovty.pc |
| 489 | |
| 490 | %files -n libosmousb0 |
| 491 | %defattr(-,root,root) |
| 492 | %_libdir/libosmousb.so.0* |
| 493 | |
| 494 | %files -n libosmousb-devel |
| 495 | %defattr(-,root,root) |
| 496 | %dir %_includedir/%name |
| 497 | %dir %_includedir/%name/osmocom |
| 498 | %_includedir/%name/osmocom/usb/ |
| 499 | %_libdir/libosmousb.so |
| 500 | %_libdir/pkgconfig/libosmousb.pc |
| 501 | |
| 502 | %changelog |