25 Star 53 Fork 27

fulinux/libcanbus

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
libcanbus.spec.in 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
fulinux 提交于 2014-10-09 20:23 . add asciidoc
Name: libcanbus
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: A canbus library
Group: Applications/System
License: LGPLv2+
URL: http://blog.csdn.net/fulinus
Source0: https://git.oschina.net/fulinux
BuildRequires: autoconf, automake, libtool, doxygen, xmlto, asciidoc
%description
libcanbus is a C library designed to provide a fast and robust implementation of
the canbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
This package contains the libcanbus shared library.
%package devel
Summary: Development files for libcanbus
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
libcanbus is a C library designed to provide a fast and robust implementation of
the canbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows.
This package contains libraries, header files and developer documentation needed
for developing software which uses the libcanbus library.
%prep
%setup -q
autoreconf
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
rm -f %{buildroot}/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS MIGRATION NEWS COPYING.LESSER README.md
%{_libdir}/libcanbus.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/canbus/
%{_libdir}/pkgconfig/libcanbus.pc
%{_libdir}/libcanbus.so
%{_mandir}/man7/*.7.*
%{_mandir}/man3/*.3.*
%changelog
* Mon Sep 8 2014 fulinux <fulinux@sina.com> - 1.0.0-2
- fulinux
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/fulinux/libcanbus.git
git@gitee.com:fulinux/libcanbus.git
fulinux
libcanbus
libcanbus
master

搜索帮助