Name: libjaylink Version: 0.3.0 Release: 2%{?dist} Summary: Library for SEGGER J-Link and compatible devices License: GPLv2+ URL: https://gitlab.zapb.de/libjaylink/libjaylink Source0: https://gitlab.zapb.de/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: pkgconfig(libusb-1.0) BuildRequires: libtool BuildRequires: autoconf BuildRequires: automake BuildRequires: make %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 ./autogen.sh %configure --disable-static %make_build %install rm -rf $RPM_BUILD_ROOT %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %__mkdir -p $RPM_BUILD_ROOT/usr/lib/udev/rules.d/ %__sed -e 's/MODE="664", GROUP="plugdev"/TAG+="uaccess"/g' contrib/99-libjaylink.rules > $RPM_BUILD_ROOT/usr/lib/udev/rules.d/60-libjaylink.rules %ldconfig_scriptlets %files %license COPYING %doc README.md NEWS %{_libdir}/*.so.* %{_prefix}/lib/udev/rules.d/* %files devel %doc HACKING %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %changelog * Thu Jan 19 2023 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 16 2022 Jiri Kastner - 0.3.0-1 - update to 0.3.0 * Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 6 2020 Jiri Kastner - 0.2.0-1 - update to 0.2.0 - fixed homepage and source0 * Tue Jul 28 2020 Fedora Release Engineering - 0.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 0.1.0-7 - Escape macros in %%changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Mar 9 2017 Jiri Kastner - 0.1.0-3 - fixed %%post and %%postun scriptlets * Wed Mar 8 2017 Jiri Kastner - 0.1.0-2 - fixed BuildRequires - added udev rules * Tue Jan 3 2017 Jiri Kastner - 0.1.0-1 - initial version