847e75b
Name:           sigrok-cli
ec3c29e
Version:        0.7.2
17d45d6
Release:        6%{?dist}
847e75b
Summary:        Basic hardware access drivers for logic analyzers
847e75b
License:        GPLv3+
501a78d
URL:            http://www.sigrok.org
501a78d
Source0:        %{url}/download/source/%{name}/%{name}-%{version}.tar.gz
847e75b
ec3c29e
BuildRequires:  make
Igor Gnatenko 162ece0
BuildRequires:  gcc
cabbc60
BuildRequires:  pkgconfig(glib-2.0)
cabbc60
# libsigrok+decode minor versions have a significantly different API
cabbc60
BuildRequires:  pkgconfig(libsigrok)       >= 0.5.0
cabbc60
BuildRequires:  pkgconfig(libsigrokdecode) >= 0.5.0
847e75b
847e75b
%description
847e75b
%{name} is a command-line tool written in C, which uses both libsigrok and
847e75b
libsigrokdecode to provide the basic sigrok functionality from the
847e75b
command-line. Among other things, it's useful for scripting purposes.
847e75b
847e75b
%prep
847e75b
%setup -q
847e75b
847e75b
%build
ec3c29e
%configure
ec3c29e
%make_build
847e75b
847e75b
%install
847e75b
%make_install
847e75b
find %{buildroot} -name '*.la' -exec rm -f {} ';'
847e75b
847e75b
%files
f87f77f
%license COPYING
f87f77f
%doc NEWS README
847e75b
%{_mandir}/man1/%{name}.1*
847e75b
%{_bindir}/%{name}
f87f77f
%{_datadir}/applications/org.sigrok.%{name}.desktop
f87f77f
%{_datadir}/icons/*/*/*/%{name}.svg
847e75b
847e75b
%changelog
17d45d6
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-6
17d45d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
17d45d6
3714253
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5
3714253
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3714253
4d2c3a5
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-4
4d2c3a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
4d2c3a5
31d8198
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
31d8198
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
31d8198
f1f524f
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
f1f524f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
f1f524f
ec3c29e
* Thu Mar 04 2021 Dan Horák <dan[at]danny.cz> - 0.7.2-1
ec3c29e
- Update to sigrok-cli 0.7.2
ec3c29e
f145b72
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
f145b72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f145b72
ddcb265
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
ddcb265
- Second attempt - Rebuilt for
ddcb265
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ddcb265
e96805d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
e96805d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e96805d
0cfe0b7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
0cfe0b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0cfe0b7
40d66c2
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
40d66c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
40d66c2
f87f77f
* Sun May 12 2019 Dan Horák <dan[at]danny.cz> - 0.7.1-1
f87f77f
- Update to sigrok-cli 0.7.1
f87f77f
c8982e1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-6
c8982e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c8982e1
13c7bef
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
13c7bef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
13c7bef
34a8308
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
34a8308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
34a8308
fbd51ac
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
fbd51ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fbd51ac
ca9f872
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
ca9f872
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ca9f872
cabbc60
* Fri Jun 16 2017 Alexandru Gagniuc <mr.nuke.me@gmail.com> - 0.7.0-1
cabbc60
- Update to sigrok-cli 0.7.0
cabbc60
8220213
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-1
8220213
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8220213
9400ccc
* Thu Feb 11 2016 Alexandru Gagniuc <mr.nuke.me@gmail.com> - 0.6.0-0
9400ccc
- Update to sigrok-cli 0.6.0
9400ccc
35a5787
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
35a5787
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
35a5787
910e3c5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-2
910e3c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
910e3c5
bb19ed5
* Sat Sep 20 2014 Dan Horák <dan[at]danny.cz> - 0.5.0-1
bb19ed5
- Update to sigrok-cli 0.5.0
bb19ed5
8d05129
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
8d05129
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
8d05129
3ef6a93
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
3ef6a93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ef6a93
25aeb4b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
25aeb4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
25aeb4b
501a78d
* Tue May 07 2013 Alexandru Gagniuc mr.nuke.me[at]gmail[dot]com - 0.4.0-1
501a78d
- Update to sigrok-cli 0.4.0
501a78d
847e75b
* Mon May 06 2013 Alexandru Gagniuc mr.nuke.me[at]gmail[dot]com - 0.3.1-3
847e75b
- Drop unused post and postun sections
847e75b
- Add NEWS README COPYING to doc. (ChangeLog is just a git log, exclude it)
847e75b
- Don't abuse wildcards (man*/* -> man1/%%{name}.1*)
847e75b
847e75b
* Sun May 05 2013 Alexandru Gagniuc mr.nuke.me[at]gmail[dot]com - 0.3.1-2
847e75b
- Limit libsigrok+decode max version due to incompatible APIs
847e75b
847e75b
* Wed Oct 10 2012 Alexandru Gagniuc mr.nuke.me[at]gmail[dot]com - 0.3.1-1
847e75b
- Initial RPM release