Name: libjaylink Version: 0.1.0 Release: 1%{?dist} Summary: Library for SEGGER J-Link and compatible devices License: GPLv2+ URL: http://repo.or.cz/%{name}.git Source0: http://projects.zapb.de/%{name}/download/%{name}-%{version}.tar.gz BuildRequires: pkgconfig, libusbx-devel, gcc, libtool, automake, autoconf %description libjaylink is a shared library written in C to access SEGGER J-Link and compatible devices. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build %configure --disable-static %make_build %install rm -rf $RPM_BUILD_ROOT %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %license COPYING %doc README NEWS %{_libdir}/*.so.* %files devel %doc HACKING %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %changelog * Tue Jan 3 2017 Jiri Kastner - 0.1.0-1 - initial version