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) |
| 32 | BuildRequires: pkgconfig(talloc) >= 2.0.1 |
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 |
| 57 | for testing GSM authentication. |
| 58 | |
| 59 | %package -n libosmocodec0 |
| 60 | Summary: GSM 06.10, 06.20, 06.60, 06.90 codec library |
| 61 | License: GPL-2.0-or-later |
| 62 | Group: System/Libraries |
| 63 | |
| 64 | %description -n libosmocodec0 |
| 65 | The libosmocodec library contains an implementation of multiple |
| 66 | GSM codecs: |
| 67 | |
| 68 | * GSM 06.10 Full Rate (FR) codec |
| 69 | * GSM 06.20 Half Rate (HR) codec |
| 70 | * GSM 06.60 Enhanced Full Range (EFR) codec |
| 71 | * GSM 06.90 Adaptive Multi-Rate (AMR) codec |
| 72 | |
| 73 | %package -n libosmocodec-devel |
| 74 | Summary: Development files for the Osmocom GSM codec library |
| 75 | License: GPL-2.0-or-later |
| 76 | Group: Development/Libraries/C and C++ |
| 77 | Requires: libosmocodec0 = %version |
| 78 | |
| 79 | %description -n libosmocodec-devel |
| 80 | The libosmocodec library contains an implementation of multiple |
| 81 | GSM codecs. |
| 82 | |
| 83 | This subpackage contains libraries and header files for developing |
| 84 | applications that want to make use of libosmocodec. |
| 85 | |
| 86 | %package -n libosmocoding0 |
| 87 | Summary: GSM/GPRS/EDGE transcoding routines library |
| 88 | License: GPL-2.0-or-later |
| 89 | Group: System/Libraries |
| 90 | |
| 91 | %description -n libosmocoding0 |
| 92 | libosmocoding is a library which provides GSM, GPRS and EDGE |
| 93 | transcoding routines. |
| 94 | |
| 95 | The following data types are currently supported: xCCH, PDTCH (CS 1-4 |
| 96 | and MCS 1-9), TCH/FR, TCH/HR, TCH/AFS, RCH/AHS, RACH and SCH. |
| 97 | |
| 98 | %package -n libosmocoding-devel |
| 99 | Summary: Development files for the Osmocom transcoding library |
| 100 | License: GPL-2.0-or-later |
| 101 | Group: Development/Libraries/C and C++ |
| 102 | Requires: libosmocodec-devel = %version |
| 103 | Requires: libosmocoding0 = %version |
| 104 | Requires: libosmocore-devel = %version |
| 105 | Requires: libosmogsm-devel = %version |
| 106 | |
| 107 | %description -n libosmocoding-devel |
| 108 | libosmocoding is a library which provides GSM, GPRS and EDGE |
| 109 | transcoding routines. |
| 110 | |
| 111 | This subpackage contains libraries and header files for developing |
| 112 | applications that want to make use of libosmocoding. |
| 113 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 114 | %package -n libosmocore17 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 115 | Summary: Osmocom core library |
| 116 | # crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+ |
| 117 | License: GPL-2.0-only AND GPL-2.0-or-later |
| 118 | Group: System/Libraries |
| 119 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 120 | %description -n libosmocore17 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 121 | libosmocore is a library with various utility functions shared |
| 122 | between OpenBSC and OsmocomBB. |
| 123 | |
| 124 | %package -n libosmocore-devel |
| 125 | Summary: Development files for the Osmocom core library |
| 126 | # crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+ |
| 127 | License: GPL-2.0-only AND GPL-2.0-or-later |
| 128 | Group: Development/Libraries/C and C++ |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 129 | Requires: libosmocore17 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 130 | Requires: libtalloc-devel |
| 131 | |
| 132 | %description -n libosmocore-devel |
| 133 | libosmocore is a library with various utility functions shared |
| 134 | between OpenBSC and OsmocomBB. |
| 135 | |
| 136 | This subpackage contains libraries and header files for developing |
| 137 | applications that want to make use of libosmocore. |
| 138 | |
| 139 | %package -n libosmoctrl0 |
| 140 | Summary: Osmocom SNMP-like control interface library |
| 141 | License: GPL-2.0-or-later |
| 142 | Group: System/Libraries |
| 143 | |
| 144 | %description -n libosmoctrl0 |
| 145 | libosmocore is a package with various utility functions that were |
| 146 | originally developed as part of the OpenBSC project. |
| 147 | |
| 148 | libosmoctrl is an SNMP-like control interface. In contrast to the VTY |
| 149 | interface, the control interface is meant to be used by programs. |
| 150 | |
| 151 | %package -n libosmoctrl-devel |
| 152 | Summary: Osmocom control interface library |
| 153 | License: GPL-2.0-or-later |
| 154 | Group: Development/Libraries/C and C++ |
| 155 | Requires: libosmocore-devel = %version |
| 156 | Requires: libosmoctrl0 = %version |
| 157 | Requires: libosmogsm-devel = %version |
| 158 | |
| 159 | %description -n libosmoctrl-devel |
| 160 | libosmoctrl is an SNMP-like control interface. In contrast to the VTY |
| 161 | interface, the control interface is meant to be used by programs. |
| 162 | |
| 163 | This subpackage contains libraries and header files for developing |
| 164 | applications that want to make use of libosmoctrl. |
| 165 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 166 | %package -n libosmogb12 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 167 | Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library |
| 168 | License: AGPL-3.0-or-later |
| 169 | Group: System/Libraries |
| 170 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 171 | %description -n libosmogb12 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 172 | libosmocore is a package with various utility functions that were |
| 173 | originally developed as part of the OpenBSC project. |
| 174 | |
| 175 | The libosmogb library contains a GPRS BSSGP protocol implementation. |
| 176 | |
| 177 | %package -n libosmogb-devel |
| 178 | Summary: Development files for the Osmocom GPRS Gb interface library |
| 179 | License: AGPL-3.0-or-later |
| 180 | Group: Development/Libraries/C and C++ |
| 181 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 182 | Requires: libosmogb12 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 183 | Requires: libosmovty-devel = %version |
| 184 | |
| 185 | %description -n libosmogb-devel |
| 186 | The libosmogb library contains a GPRS BSSGP protocol implementation. |
| 187 | |
| 188 | This subpackage contains libraries and header files for developing |
| 189 | applications that want to make use of libosmogb. |
| 190 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 191 | %package -n libosmogsm16 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 192 | Summary: Osmocom GSM utility library |
| 193 | License: GPL-2.0-or-later AND AGPL-3.0-or-later |
| 194 | Group: System/Libraries |
| 195 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 196 | %description -n libosmogsm16 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 197 | libosmocore is a package with various utility functions that were |
| 198 | originally developed as part of the OpenBSC project. |
| 199 | |
| 200 | The libosmogsm library in particular is a collection of common code |
| 201 | used in various GSM related sub-projects inside the Osmocom family of |
| 202 | projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm |
| 203 | implementation, a GSM TLV parser, SMS utility routines as well as |
| 204 | protocol definitions for a series of protocols. |
| 205 | |
| 206 | %package -n libosmogsm-devel |
| 207 | Summary: Development files for the Osmocom GSM utility library |
| 208 | License: GPL-2.0-or-later AND AGPL-3.0-or-later |
| 209 | Group: Development/Libraries/C and C++ |
| 210 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 211 | Requires: libosmogsm16 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 212 | |
| 213 | %description -n libosmogsm-devel |
| 214 | The libosmogsm library in particular is a collection of common code |
| 215 | used in various GSM related sub-projects inside the Osmocom family of |
| 216 | projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm |
| 217 | implementation, a GSM TLV parser, SMS utility routines as well as |
| 218 | protocol definitions for a series of protocols. |
| 219 | |
| 220 | This subpackage contains libraries and header files for developing |
| 221 | applications that want to make use of libosmogsm. |
| 222 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 223 | %package -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 224 | Summary: Osmocom SIM card related utility library |
| 225 | License: GPL-2.0-or-later |
| 226 | Group: System/Libraries |
| 227 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 228 | %description -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 229 | libosmocore is a package with various utility functions that were |
| 230 | originally developed as part of the OpenBSC project. |
| 231 | |
| 232 | The libosmosim library in particular contains routines for SIM card |
| 233 | access. |
| 234 | |
| 235 | %package -n libosmosim-devel |
| 236 | Summary: Development files for the Osmocom SIM card utility library |
| 237 | License: GPL-2.0-or-later |
| 238 | Group: Development/Libraries/C and C++ |
| 239 | Requires: libosmocore-devel = %version |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 240 | Requires: libosmosim2 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 241 | |
| 242 | %description -n libosmosim-devel |
| 243 | The libosmosim library in particular contains routines for SIM card |
| 244 | access. |
| 245 | |
| 246 | This subpackage contains libraries and header files for developing |
| 247 | applications that want to make use of libosmosim. |
| 248 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 249 | %package -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 250 | Summary: Osmocom VTY interface library |
| 251 | License: GPL-2.0-or-later |
| 252 | Group: System/Libraries |
| 253 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 254 | %description -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 255 | libosmocore is a package with various utility functions that were |
| 256 | originally developed as part of the OpenBSC project. |
| 257 | |
| 258 | The libosmovty library implements the interactive command-line on the |
| 259 | VTY (Virtual TTY), as well as configuration file parsing. |
| 260 | |
| 261 | %package -n libosmovty-devel |
| 262 | Summary: Development files for the Osmocom VTY interface library |
| 263 | License: GPL-2.0-or-later |
| 264 | Group: Development/Libraries/C and C++ |
| 265 | Requires: libosmocore-devel = %version |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 266 | Requires: libosmovty9 = %version |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 267 | |
| 268 | %description -n libosmovty-devel |
| 269 | The libosmovty library implements the interactive command-line on the |
| 270 | VTY (Virtual TTY), as well as configuration file parsing. |
| 271 | |
| 272 | This subpackage contains libraries and header files for developing |
| 273 | applications that want to make use of libosmovty. |
| 274 | |
| 275 | %package -n libosmousb0 |
| 276 | Summary: Osmocom USB library |
| 277 | License: GPL-2.0-or-later |
| 278 | Group: System/Libraries |
| 279 | |
| 280 | %description -n libosmousb0 |
| 281 | libosmocore is a package with various utility functions that were |
| 282 | originally developed as part of the OpenBSC project. |
| 283 | |
| 284 | The libosmosub library in particular contains routines for USB device |
| 285 | access via libusb-1.0, integrated into the libosmocore select event loop. |
| 286 | |
| 287 | %package -n libosmousb-devel |
| 288 | Summary: Development files for the Osmocom USB library |
| 289 | License: GPL-2.0-or-later |
| 290 | Group: Development/Libraries/C and C++ |
| 291 | Requires: libosmocore-devel = %version |
| 292 | Requires: libosmousb0 = %version |
Oliver Smith | 6370f5d | 2020-05-14 11:27:08 +0200 | [diff] [blame] | 293 | Requires: pkgconfig(libusb-1.0) |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 294 | |
| 295 | %description -n libosmousb-devel |
| 296 | The libosmosub library in particular contains routines for USB device |
| 297 | access via libusb-1.0, integrated into the libosmocore select event loop. |
| 298 | |
| 299 | This subpackage contains libraries and header files for developing |
| 300 | applications that want to make use of libosmousb. |
| 301 | |
| 302 | |
| 303 | %prep |
| 304 | %setup -q |
| 305 | |
| 306 | %build |
| 307 | echo "%version" >.tarball-version |
| 308 | autoreconf -fiv |
Harald Welte | 700822b | 2021-02-03 14:52:13 +0100 | [diff] [blame] | 309 | %configure --enable-shared --disable-static --enable-systemd-logging \ |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 310 | --includedir="%_includedir/%name" |
| 311 | make %{?_smp_mflags} V=1 |
| 312 | |
| 313 | %install |
| 314 | b="%buildroot" |
| 315 | make %{?_smp_mflags} install DESTDIR="$b" |
| 316 | find "$b/%_libdir" -type f -name "*.la" -delete |
| 317 | |
| 318 | %check |
| 319 | make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +) |
| 320 | |
| 321 | %post -n libosmocodec0 -p /sbin/ldconfig |
| 322 | %postun -n libosmocodec0 -p /sbin/ldconfig |
| 323 | %post -n libosmocoding0 -p /sbin/ldconfig |
| 324 | %postun -n libosmocoding0 -p /sbin/ldconfig |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 325 | %post -n libosmocore17 -p /sbin/ldconfig |
| 326 | %postun -n libosmocore17 -p /sbin/ldconfig |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 327 | %post -n libosmoctrl0 -p /sbin/ldconfig |
| 328 | %postun -n libosmoctrl0 -p /sbin/ldconfig |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 329 | %post -n libosmogb12 -p /sbin/ldconfig |
| 330 | %postun -n libosmogb12 -p /sbin/ldconfig |
| 331 | %post -n libosmogsm16 -p /sbin/ldconfig |
| 332 | %postun -n libosmogsm16 -p /sbin/ldconfig |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 333 | %post -n libosmosim2 -p /sbin/ldconfig |
| 334 | %postun -n libosmosim2 -p /sbin/ldconfig |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 335 | %post -n libosmovty9 -p /sbin/ldconfig |
| 336 | %postun -n libosmovty9 -p /sbin/ldconfig |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 337 | %post -n libosmousb0 -p /sbin/ldconfig |
| 338 | %postun -n libosmousb0 -p /sbin/ldconfig |
| 339 | |
| 340 | %files tools |
| 341 | %defattr(-,root,root) |
| 342 | %_bindir/osmo-* |
| 343 | |
| 344 | %files -n libosmocodec0 |
| 345 | %defattr(-,root,root) |
| 346 | %_libdir/libosmocodec.so.0* |
| 347 | |
| 348 | %files -n libosmocodec-devel |
| 349 | %defattr(-,root,root) |
| 350 | %dir %_includedir/%name |
| 351 | %dir %_includedir/%name/osmocom |
| 352 | %_includedir/%name/osmocom/codec/ |
| 353 | %_libdir/libosmocodec.so |
| 354 | %_libdir/pkgconfig/libosmocodec.pc |
| 355 | |
| 356 | %files -n libosmocoding0 |
| 357 | %defattr(-,root,root) |
| 358 | %_libdir/libosmocoding.so.0* |
| 359 | |
| 360 | %files -n libosmocoding-devel |
| 361 | %defattr(-,root,root) |
| 362 | %dir %_includedir/%name |
| 363 | %dir %_includedir/%name/osmocom |
| 364 | %_includedir/%name/osmocom/coding/ |
| 365 | %_libdir/libosmocoding.so |
| 366 | %_libdir/pkgconfig/libosmocoding.pc |
| 367 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 368 | %files -n libosmocore17 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 369 | %defattr(-,root,root) |
Harald Welte | af52bcc | 2021-02-24 09:05:57 +0100 | [diff] [blame] | 370 | %_libdir/libosmocore.so.17* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 371 | |
| 372 | %files -n libosmocore-devel |
| 373 | %defattr(-,root,root) |
| 374 | %dir %_includedir/%name |
| 375 | %dir %_includedir/%name/osmocom |
| 376 | %_includedir/%name/osmocom/core/ |
| 377 | %_libdir/libosmocore.so |
| 378 | %_libdir/pkgconfig/libosmocore.pc |
| 379 | %_datadir/aclocal/osmo_ax_code_coverage.m4 |
| 380 | %_datadir/aclocal/osmo_ac_code_coverage.m4 |
| 381 | |
| 382 | %files -n libosmoctrl0 |
| 383 | %defattr(-,root,root) |
| 384 | %_libdir/libosmoctrl.so.0* |
| 385 | |
| 386 | %files -n libosmoctrl-devel |
| 387 | %defattr(-,root,root) |
| 388 | %dir %_includedir/%name |
| 389 | %dir %_includedir/%name/osmocom |
| 390 | %_includedir/%name/osmocom/ctrl/ |
| 391 | %_libdir/libosmoctrl.so |
| 392 | %_libdir/pkgconfig/libosmoctrl.pc |
| 393 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 394 | %files -n libosmogb12 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 395 | %defattr(-,root,root) |
Harald Welte | af52bcc | 2021-02-24 09:05:57 +0100 | [diff] [blame] | 396 | %_libdir/libosmogb.so.12* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 397 | |
| 398 | %files -n libosmogb-devel |
| 399 | %defattr(-,root,root) |
| 400 | %dir %_includedir/%name |
| 401 | %dir %_includedir/%name/osmocom |
| 402 | %_includedir/%name/osmocom/gprs/ |
| 403 | %_libdir/libosmogb.so |
| 404 | %_libdir/pkgconfig/libosmogb.pc |
| 405 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 406 | %files -n libosmogsm16 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 407 | %defattr(-,root,root) |
Harald Welte | af52bcc | 2021-02-24 09:05:57 +0100 | [diff] [blame] | 408 | %_libdir/libosmogsm.so.16* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 409 | |
| 410 | %files -n libosmogsm-devel |
| 411 | %defattr(-,root,root) |
| 412 | %dir %_includedir/%name |
| 413 | %dir %_includedir/%name/osmocom |
| 414 | %_includedir/%name/osmocom/gsm/ |
| 415 | %_includedir/%name/osmocom/crypt/ |
| 416 | %_libdir/libosmogsm.so |
| 417 | %_libdir/pkgconfig/libosmogsm.pc |
| 418 | |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 419 | %files -n libosmosim2 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 420 | %defattr(-,root,root) |
Harald Welte | 5c5713e | 2020-08-13 11:06:36 +0200 | [diff] [blame] | 421 | %_libdir/libosmosim.so.2* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 422 | |
| 423 | %files -n libosmosim-devel |
| 424 | %defattr(-,root,root) |
| 425 | %dir %_includedir/%name |
| 426 | %dir %_includedir/%name/osmocom/ |
| 427 | %_includedir/%name/osmocom/sim/ |
| 428 | %_libdir/libosmosim.so |
| 429 | %_libdir/pkgconfig/libosmosim.pc |
| 430 | |
Pau Espin Pedrol | f286fdc | 2021-02-23 14:03:31 +0100 | [diff] [blame] | 431 | %files -n libosmovty9 |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 432 | %defattr(-,root,root) |
Harald Welte | af52bcc | 2021-02-24 09:05:57 +0100 | [diff] [blame] | 433 | %_libdir/libosmovty.so.9* |
Oliver Smith | bfeeb1c | 2020-05-14 11:23:13 +0200 | [diff] [blame] | 434 | |
| 435 | %files -n libosmovty-devel |
| 436 | %defattr(-,root,root) |
| 437 | %dir %_includedir/%name |
| 438 | %dir %_includedir/%name/osmocom |
| 439 | %_includedir/%name/osmocom/vty/ |
| 440 | %_includedir/%name/osmo-release.mk |
| 441 | %_libdir/libosmovty.so |
| 442 | %_libdir/pkgconfig/libosmovty.pc |
| 443 | |
| 444 | %files -n libosmousb0 |
| 445 | %defattr(-,root,root) |
| 446 | %_libdir/libosmousb.so.0* |
| 447 | |
| 448 | %files -n libosmousb-devel |
| 449 | %defattr(-,root,root) |
| 450 | %dir %_includedir/%name |
| 451 | %dir %_includedir/%name/osmocom |
| 452 | %_includedir/%name/osmocom/usb/ |
| 453 | %_libdir/libosmousb.so |
| 454 | %_libdir/pkgconfig/libosmousb.pc |
| 455 | |
| 456 | %changelog |