Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware
mISDNuser
mISDNuser.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mISDNuser.spec of Package mISDNuser
# # spec file for package mISDNuser # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mISDNuser Version: 2.1.0+2.0.22+git6 Release: 0 Summary: Tools and library for mISDN License: GPL-2.0-only AND LGPL-2.1-only Group: Hardware/ISDN URL: https://github.com/ISDN4Linux/mISDNuser Source: %name-%version.tar.xz Source8: %name-rpmlintrc Patch0: mISDNuser-fix-gcc10.patch BuildRequires: autoconf >= 2.63 BuildRequires: automake BuildRequires: flex BuildRequires: libcapi20-devel BuildRequires: libtool >= 2 BuildRequires: xz %description This package contains libmisdn and some tools to use the mISDN driver. mISDN is the new modular ISDN driver for Linux. %package -n libmisdn1 Summary: mISDN core library Group: System/Libraries %description -n libmisdn1 The mISDN core library. %package devel Summary: C header files for mISDN Group: Development/Libraries/C and C++ Requires: libmisdn1 = %version %description devel This package contain the header files and libraries for mISDNuser development. %package -n libcapi20-mod_misdn Summary: mISDN plugin for libcapi Group: Development/Libraries/C and C++ Requires: capi4linux %description -n libcapi20-mod_misdn This package contain the CAPI 2.0 module for mISDN. %prep %setup %if 0%{?suse_version} > 1500 %patch -P 0 -p1 %endif %build if [ ! -e configure ]; then mkdir -p m4 autoreconf -fi fi export CFLAGS="%optflags -Wno-error" export CXXFLAGS="$CFLAGS" %configure \ --disable-static \ --enable-capi %make_build %install %make_install b="%buildroot" find "$b/%_libdir" -type f -name "*.la" -delete mkdir -p "$b/%_prefix/lib/udev/rules.d" mv "$b/etc/udev/rules.d"/* "$b/%_prefix/lib/udev/rules.d/" %post -n libmisdn1 -p /sbin/ldconfig %postun -n libmisdn1 -p /sbin/ldconfig %files %license COPYING.LIB LICENSE %doc AUTHORS NEWS README %doc capi20/capi20.conf.sample %doc tools/misdnlogger.conf.sample %_sysconfdir/misdn*conf %_bindir/* %_sbindir/* %_prefix/lib/udev/ %files -n libcapi20-mod_misdn %exclude %_sysconfdir/capi20.conf %dir %_libdir/capi %_libdir/capi/lib_capi_mod_misdn.so* %files -n libmisdn1 %_libdir/libmisdn.so.1* %files devel %_includedir/mISDN/ %_libdir/*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor