Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
libsocketcan
libsocketcan.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsocketcan.spec of Package libsocketcan
# # spec file for package libsocketcan # # 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: libsocketcan %define lname libsocketcan2 Version: 0.0.12 Release: 0 Summary: Library for SocketCAN License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://public.pengutronix.de/software/libsocketcan/ #Git-Clone: git://git.pengutronix.de/git/tools/libsocketcan Source: https://public.pengutronix.de/software/libsocketcan/%name-%version.tar.bz2 Patch3: 0003-build-avoid-overriding-user-s-CFLAGS.patch BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: libtool >= 2 BuildRequires: pkgconfig %description This library allows you to control some basic functions in socketcan from userspace. A recent kernel with integrated SocketCAN (at least 2.6.30) is needed. %package -n %lname Summary: Library for SocketCAN Group: System/Libraries %description -n %lname This library allows you to control some basic functions in socketcan from userspace. A recent kernel with integrated SocketCAN (at least 2.6.30) is needed. %package devel Summary: Development files for the SocketCAN library Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel This library allows you to control some basic functions in socketcan from userspace. A recent kernel with integrated SocketCAN (at least 2.6.30) is needed. This package contains the libsocketcan development files. %prep %autosetup -p1 %build ./autogen.sh %configure --disable-static --docdir="%_docdir/%name" %make_build %install %make_install rm -f "%buildroot/%_libdir"/*.la "%buildroot/%_docdir/%name/INSTALL" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %_libdir/libsocketcan.so.2* %license LICENSE %files devel %_includedir/can_netlink.h %_includedir/libsocketcan.h %_libdir/libsocketcan.so %_libdir/pkgconfig/libsocketcan.pc %_docdir/%name/ %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