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