blob: 60ca3977d87b331078e122184afc6d03667be3d9 [file] [log] [blame]
Oliver Smithbfeeb1c2020-05-14 11:23:13 +02001#
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 Smithbfeeb1c2020-05-14 11:23:13 +020015Name: libosmocore
Oliver Smith6370f5d2020-05-14 11:27:08 +020016Version: @VERSION@
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020017Release: 0
18Summary: The Open Source Mobile Communications Core Library
19License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
20Group: Productivity/Telephony/Utilities
21Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
22Source: %name-%version.tar.xz
23BuildRequires: automake >= 1.6
24BuildRequires: libtool >= 2
25BuildRequires: lksctp-tools-devel
26BuildRequires: pkg-config >= 0.20
Oliver Smith6370f5d2020-05-14 11:27:08 +020027BuildRequires: python3
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020028BuildRequires: xz
29BuildRequires: pkgconfig(gnutls) >= 2.12.0
30BuildRequires: pkgconfig(libpcsclite)
31BuildRequires: pkgconfig(libusb-1.0)
Pau Espin Pedrol4a15c2d2021-11-16 12:47:03 +010032BuildRequires: pkgconfig(talloc) >= 2.1.0
Harald Welte53a2fde2020-12-01 22:21:14 +010033BuildRequires: pkgconfig(libmnl)
Harald Welte700822b2021-02-03 14:52:13 +010034BuildRequires: pkgconfig(libsystemd)
Oliver Smith8c0a2c72023-08-29 14:52:47 +020035%if 0%{?centos_ver} != 7
Daniel Willmannf91d2aa2023-01-04 18:20:55 +010036BuildRequires: pkgconfig(liburing)
Oliver Smith8c0a2c72023-08-29 14:52:47 +020037%endif
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020038
39%description
40libosmocore is a package with various utility functions that were
41originally developed as part of the OpenBSC project, but which are of
42a more generic nature and thus useful to (at least) other programs
43that Osmocom develops w.r.t. mobile communications.
44
45There is no clear scope of it. It simply houses all code shared
46between OsmocomBB and OpenBSC to avoid code duplication.
47
48%package tools
49Summary: GSM utilities from the osmocore project
50License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-3.0-or-later AND AGPL-3.0-or-later
51Group: Productivity/Telephony/Utilities
52Provides: %name-utils = %version-%release
53
54%description tools
55libosmocore is a package with various utility functions that were
56originally developed as part of the OpenBSC project.
57
58This package contains a program for frequency calculation for GSM
59called "osmo-arfcn", and a program called "osmo-auc-gen" that is used
Vadim Yanitskiy663eaaa2021-12-27 14:49:16 +060060for testing GSM authentication, as well as "osmo-config-merge", a tool
61for merging Osmocom configuration files.
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020062
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +020063%package -n libosmocodec4
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020064Summary: GSM 06.10, 06.20, 06.60, 06.90 codec library
65License: GPL-2.0-or-later
66Group: System/Libraries
67
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +020068%description -n libosmocodec4
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020069The libosmocodec library contains an implementation of multiple
70GSM codecs:
71
72* GSM 06.10 Full Rate (FR) codec
73* GSM 06.20 Half Rate (HR) codec
74* GSM 06.60 Enhanced Full Range (EFR) codec
75* GSM 06.90 Adaptive Multi-Rate (AMR) codec
76
77%package -n libosmocodec-devel
78Summary: Development files for the Osmocom GSM codec library
79License: GPL-2.0-or-later
80Group: Development/Libraries/C and C++
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +020081Requires: libosmocodec4 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +020082
83%description -n libosmocodec-devel
84The libosmocodec library contains an implementation of multiple
85GSM codecs.
86
87This subpackage contains libraries and header files for developing
88applications that want to make use of libosmocodec.
89
90%package -n libosmocoding0
91Summary: GSM/GPRS/EDGE transcoding routines library
92License: GPL-2.0-or-later
93Group: System/Libraries
94
95%description -n libosmocoding0
96libosmocoding is a library which provides GSM, GPRS and EDGE
97transcoding routines.
98
99The following data types are currently supported: xCCH, PDTCH (CS 1-4
100and MCS 1-9), TCH/FR, TCH/HR, TCH/AFS, RCH/AHS, RACH and SCH.
101
102%package -n libosmocoding-devel
103Summary: Development files for the Osmocom transcoding library
104License: GPL-2.0-or-later
105Group: Development/Libraries/C and C++
106Requires: libosmocodec-devel = %version
107Requires: libosmocoding0 = %version
108Requires: libosmocore-devel = %version
109Requires: libosmogsm-devel = %version
110
111%description -n libosmocoding-devel
112libosmocoding is a library which provides GSM, GPRS and EDGE
113transcoding routines.
114
115This subpackage contains libraries and header files for developing
116applications that want to make use of libosmocoding.
117
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200118%package -n libosmocore21
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200119Summary: Osmocom core library
120# crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+
121License: GPL-2.0-only AND GPL-2.0-or-later
122Group: System/Libraries
123
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200124%description -n libosmocore21
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200125libosmocore is a library with various utility functions shared
126between OpenBSC and OsmocomBB.
127
128%package -n libosmocore-devel
129Summary: Development files for the Osmocom core library
130# crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+
131License: GPL-2.0-only AND GPL-2.0-or-later
132Group: Development/Libraries/C and C++
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200133Requires: libosmocore21 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200134Requires: libtalloc-devel
Harald Weltec73a1602022-03-25 11:27:35 +0100135Requires: lksctp-tools-devel
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200136
137%description -n libosmocore-devel
138libosmocore is a library with various utility functions shared
139between OpenBSC and OsmocomBB.
140
141This subpackage contains libraries and header files for developing
142applications that want to make use of libosmocore.
143
144%package -n libosmoctrl0
145Summary: Osmocom SNMP-like control interface library
146License: GPL-2.0-or-later
147Group: System/Libraries
148
149%description -n libosmoctrl0
150libosmocore is a package with various utility functions that were
151originally developed as part of the OpenBSC project.
152
153libosmoctrl is an SNMP-like control interface. In contrast to the VTY
154interface, the control interface is meant to be used by programs.
155
156%package -n libosmoctrl-devel
157Summary: Osmocom control interface library
158License: GPL-2.0-or-later
159Group: Development/Libraries/C and C++
160Requires: libosmocore-devel = %version
161Requires: libosmoctrl0 = %version
162Requires: libosmogsm-devel = %version
163
164%description -n libosmoctrl-devel
165libosmoctrl is an SNMP-like control interface. In contrast to the VTY
166interface, the control interface is meant to be used by programs.
167
168This subpackage contains libraries and header files for developing
169applications that want to make use of libosmoctrl.
170
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200171%package -n libosmogb14
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200172Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library
173License: AGPL-3.0-or-later
174Group: System/Libraries
175
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200176%description -n libosmogb14
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200177libosmocore is a package with various utility functions that were
178originally developed as part of the OpenBSC project.
179
180The libosmogb library contains a GPRS BSSGP protocol implementation.
181
182%package -n libosmogb-devel
183Summary: Development files for the Osmocom GPRS Gb interface library
184License: AGPL-3.0-or-later
185Group: Development/Libraries/C and C++
186Requires: libosmocore-devel = %version
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200187Requires: libosmogb14 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200188Requires: libosmovty-devel = %version
189
190%description -n libosmogb-devel
191The libosmogb library contains a GPRS BSSGP protocol implementation.
192
193This subpackage contains libraries and header files for developing
194applications that want to make use of libosmogb.
195
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200196%package -n libosmogsm20
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200197Summary: Osmocom GSM utility library
198License: GPL-2.0-or-later AND AGPL-3.0-or-later
199Group: System/Libraries
200
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200201%description -n libosmogsm20
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200202libosmocore is a package with various utility functions that were
203originally developed as part of the OpenBSC project.
204
205The libosmogsm library in particular is a collection of common code
206used in various GSM related sub-projects inside the Osmocom family of
207projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm
208implementation, a GSM TLV parser, SMS utility routines as well as
209protocol definitions for a series of protocols.
210
211%package -n libosmogsm-devel
212Summary: Development files for the Osmocom GSM utility library
213License: GPL-2.0-or-later AND AGPL-3.0-or-later
214Group: Development/Libraries/C and C++
215Requires: libosmocore-devel = %version
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200216Requires: libosmogsm20 = %version
Harald Welted55a2092022-11-29 22:33:54 +0100217Requires: libosmoisdn-devel = %version
218Requires: libosmoisdn0 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200219
220%description -n libosmogsm-devel
221The libosmogsm library in particular is a collection of common code
222used in various GSM related sub-projects inside the Osmocom family of
223projects. It includes A5/1 and A5/2 ciphers, COMP128v1, a LAPDm
224implementation, a GSM TLV parser, SMS utility routines as well as
225protocol definitions for a series of protocols.
226
227This subpackage contains libraries and header files for developing
228applications that want to make use of libosmogsm.
229
Harald Welted55a2092022-11-29 22:33:54 +0100230%package -n libosmoisdn0
231Summary: Osmocom ISDN utility library
232License: GPL-2.0-or-later
233Group: System/Libraries
234
235%description -n libosmoisdn0
236libosmocore is a package with various utility functions that were
237originally developed as part of the OpenBSC project.
238
239The libosmoisdn library in particular is a collection of common code used in
240various ISDN related sub-projects inside the Osmocom family of projects. It
241includes an I.460 sub-channel multiplex and a generic LAPD core.
242
243%package -n libosmoisdn-devel
244Summary: Development files for the Osmocom ISDN utility library
245License: GPL-2.0-or-later
246Group: Development/Libraries/C and C++
247Requires: libosmocore-devel = %version
248Requires: libosmoisdn0 = %version
249
250%description -n libosmoisdn-devel
251The libosmoisdn library in particular is a collection of common code used in
252various ISDN related sub-projects inside the Osmocom family of projects. It
253includes an I.460 sub-channel multiplex and a generic LAPD core.
254
255This subpackage contains libraries and header files for developing
256applications that want to make use of libosmogsm.
257
Harald Welte5c5713e2020-08-13 11:06:36 +0200258%package -n libosmosim2
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200259Summary: Osmocom SIM card related utility library
260License: GPL-2.0-or-later
261Group: System/Libraries
262
Harald Welte5c5713e2020-08-13 11:06:36 +0200263%description -n libosmosim2
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200264libosmocore is a package with various utility functions that were
265originally developed as part of the OpenBSC project.
266
267The libosmosim library in particular contains routines for SIM card
268access.
269
270%package -n libosmosim-devel
271Summary: Development files for the Osmocom SIM card utility library
272License: GPL-2.0-or-later
273Group: Development/Libraries/C and C++
274Requires: libosmocore-devel = %version
Harald Welte5c5713e2020-08-13 11:06:36 +0200275Requires: libosmosim2 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200276
277%description -n libosmosim-devel
278The libosmosim library in particular contains routines for SIM card
279access.
280
281This subpackage contains libraries and header files for developing
282applications that want to make use of libosmosim.
283
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200284%package -n libosmovty13
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200285Summary: Osmocom VTY interface library
286License: GPL-2.0-or-later
287Group: System/Libraries
288
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200289%description -n libosmovty13
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200290libosmocore is a package with various utility functions that were
291originally developed as part of the OpenBSC project.
292
293The libosmovty library implements the interactive command-line on the
294VTY (Virtual TTY), as well as configuration file parsing.
295
296%package -n libosmovty-devel
297Summary: Development files for the Osmocom VTY interface library
298License: GPL-2.0-or-later
299Group: Development/Libraries/C and C++
300Requires: libosmocore-devel = %version
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200301Requires: libosmovty13 = %version
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200302
303%description -n libosmovty-devel
304The libosmovty library implements the interactive command-line on the
305VTY (Virtual TTY), as well as configuration file parsing.
306
307This subpackage contains libraries and header files for developing
308applications that want to make use of libosmovty.
309
310%package -n libosmousb0
311Summary: Osmocom USB library
312License: GPL-2.0-or-later
313Group: System/Libraries
314
315%description -n libosmousb0
316libosmocore is a package with various utility functions that were
317originally developed as part of the OpenBSC project.
318
319The libosmosub library in particular contains routines for USB device
320access via libusb-1.0, integrated into the libosmocore select event loop.
321
322%package -n libosmousb-devel
323Summary: Development files for the Osmocom USB library
324License: GPL-2.0-or-later
325Group: Development/Libraries/C and C++
326Requires: libosmocore-devel = %version
327Requires: libosmousb0 = %version
Oliver Smith6370f5d2020-05-14 11:27:08 +0200328Requires: pkgconfig(libusb-1.0)
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200329
330%description -n libosmousb-devel
331The libosmosub library in particular contains routines for USB device
332access via libusb-1.0, integrated into the libosmocore select event loop.
333
334This subpackage contains libraries and header files for developing
335applications that want to make use of libosmousb.
336
337
338%prep
339%setup -q
340
341%build
342echo "%version" >.tarball-version
343autoreconf -fiv
Oliver Smith8c0a2c72023-08-29 14:52:47 +0200344
345CONFIGURE_FLAGS="
346 --enable-shared \
347 --disable-static \
348 --enable-systemd-logging \
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200349 --includedir="%_includedir/%name"
Oliver Smith8c0a2c72023-08-29 14:52:47 +0200350"
351%if 0%{?centos_ver} == 7
352 CONFIGURE_FLAGS="$CONFIGURE_FLAGS --disable-uring"
353%endif
354
355%configure $CONFIGURE_FLAGS
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200356make %{?_smp_mflags} V=1
357
358%install
359b="%buildroot"
360make %{?_smp_mflags} install DESTDIR="$b"
361find "$b/%_libdir" -type f -name "*.la" -delete
362
363%check
364make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
365
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200366%post -n libosmocodec4 -p /sbin/ldconfig
367%postun -n libosmocodec4 -p /sbin/ldconfig
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200368%post -n libosmocoding0 -p /sbin/ldconfig
369%postun -n libosmocoding0 -p /sbin/ldconfig
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200370%post -n libosmocore21 -p /sbin/ldconfig
371%postun -n libosmocore21 -p /sbin/ldconfig
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200372%post -n libosmoctrl0 -p /sbin/ldconfig
373%postun -n libosmoctrl0 -p /sbin/ldconfig
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200374%post -n libosmogb14 -p /sbin/ldconfig
375%postun -n libosmogb14 -p /sbin/ldconfig
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200376%post -n libosmogsm20 -p /sbin/ldconfig
377%postun -n libosmogsm20 -p /sbin/ldconfig
Harald Welted55a2092022-11-29 22:33:54 +0100378%post -n libosmoisdn0 -p /sbin/ldconfig
379%postun -n libosmoisdn0 -p /sbin/ldconfig
Harald Welte5c5713e2020-08-13 11:06:36 +0200380%post -n libosmosim2 -p /sbin/ldconfig
381%postun -n libosmosim2 -p /sbin/ldconfig
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200382%post -n libosmovty13 -p /sbin/ldconfig
383%postun -n libosmovty13 -p /sbin/ldconfig
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200384%post -n libosmousb0 -p /sbin/ldconfig
385%postun -n libosmousb0 -p /sbin/ldconfig
386
387%files tools
388%defattr(-,root,root)
389%_bindir/osmo-*
390
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200391%files -n libosmocodec4
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200392%defattr(-,root,root)
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200393%_libdir/libosmocodec.so.4*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200394
395%files -n libosmocodec-devel
396%defattr(-,root,root)
397%dir %_includedir/%name
398%dir %_includedir/%name/osmocom
399%_includedir/%name/osmocom/codec/
400%_libdir/libosmocodec.so
401%_libdir/pkgconfig/libosmocodec.pc
402
403%files -n libosmocoding0
404%defattr(-,root,root)
405%_libdir/libosmocoding.so.0*
406
407%files -n libosmocoding-devel
408%defattr(-,root,root)
409%dir %_includedir/%name
410%dir %_includedir/%name/osmocom
411%_includedir/%name/osmocom/coding/
412%_libdir/libosmocoding.so
413%_libdir/pkgconfig/libosmocoding.pc
414
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200415%files -n libosmocore21
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200416%defattr(-,root,root)
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200417%_libdir/libosmocore.so.21*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200418
419%files -n libosmocore-devel
420%defattr(-,root,root)
421%dir %_includedir/%name
422%dir %_includedir/%name/osmocom
423%_includedir/%name/osmocom/core/
424%_libdir/libosmocore.so
425%_libdir/pkgconfig/libosmocore.pc
426%_datadir/aclocal/osmo_ax_code_coverage.m4
427%_datadir/aclocal/osmo_ac_code_coverage.m4
428
429%files -n libosmoctrl0
430%defattr(-,root,root)
431%_libdir/libosmoctrl.so.0*
432
433%files -n libosmoctrl-devel
434%defattr(-,root,root)
435%dir %_includedir/%name
436%dir %_includedir/%name/osmocom
437%_includedir/%name/osmocom/ctrl/
438%_libdir/libosmoctrl.so
439%_libdir/pkgconfig/libosmoctrl.pc
440
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200441%files -n libosmogb14
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200442%defattr(-,root,root)
Pau Espin Pedrola1584d22022-06-28 17:00:51 +0200443%_libdir/libosmogb.so.14*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200444
445%files -n libosmogb-devel
446%defattr(-,root,root)
447%dir %_includedir/%name
448%dir %_includedir/%name/osmocom
449%_includedir/%name/osmocom/gprs/
450%_libdir/libosmogb.so
451%_libdir/pkgconfig/libosmogb.pc
452
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200453%files -n libosmogsm20
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200454%defattr(-,root,root)
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200455%_libdir/libosmogsm.so.20*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200456
457%files -n libosmogsm-devel
458%defattr(-,root,root)
459%dir %_includedir/%name
460%dir %_includedir/%name/osmocom
461%_includedir/%name/osmocom/gsm/
462%_includedir/%name/osmocom/crypt/
463%_libdir/libosmogsm.so
464%_libdir/pkgconfig/libosmogsm.pc
465
Harald Welted55a2092022-11-29 22:33:54 +0100466%files -n libosmoisdn0
467%defattr(-,root,root)
468%_libdir/libosmoisdn.so.0*
469
470%files -n libosmoisdn-devel
471%defattr(-,root,root)
472%dir %_includedir/%name
473%dir %_includedir/%name/osmocom
474%_includedir/%name/osmocom/isdn/
475%_libdir/libosmoisdn.so
476%_libdir/pkgconfig/libosmoisdn.pc
477
Harald Welte5c5713e2020-08-13 11:06:36 +0200478%files -n libosmosim2
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200479%defattr(-,root,root)
Harald Welte5c5713e2020-08-13 11:06:36 +0200480%_libdir/libosmosim.so.2*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200481
482%files -n libosmosim-devel
483%defattr(-,root,root)
484%dir %_includedir/%name
485%dir %_includedir/%name/osmocom/
486%_includedir/%name/osmocom/sim/
487%_libdir/libosmosim.so
488%_libdir/pkgconfig/libosmosim.pc
489
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200490%files -n libosmovty13
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200491%defattr(-,root,root)
Pau Espin Pedrolaca2c722023-09-12 13:15:53 +0200492%_libdir/libosmovty.so.13*
Oliver Smithbfeeb1c2020-05-14 11:23:13 +0200493
494%files -n libosmovty-devel
495%defattr(-,root,root)
496%dir %_includedir/%name
497%dir %_includedir/%name/osmocom
498%_includedir/%name/osmocom/vty/
499%_includedir/%name/osmo-release.mk
500%_libdir/libosmovty.so
501%_libdir/pkgconfig/libosmovty.pc
502
503%files -n libosmousb0
504%defattr(-,root,root)
505%_libdir/libosmousb.so.0*
506
507%files -n libosmousb-devel
508%defattr(-,root,root)
509%dir %_includedir/%name
510%dir %_includedir/%name/osmocom
511%_includedir/%name/osmocom/usb/
512%_libdir/libosmousb.so
513%_libdir/pkgconfig/libosmousb.pc
514
515%changelog