[packages/sigrok-cli] - updated to 0.7.1 - package xdg files
qboosh
qboosh at pld-linux.org
Thu Jul 30 22:20:11 CEST 2020
commit a999f6205e0347ff7b1f8e6a00f6c3b2ec431e4a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Jul 30 22:21:59 2020 +0200
- updated to 0.7.1
- package xdg files
sigrok-cli.spec | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
---
diff --git a/sigrok-cli.spec b/sigrok-cli.spec
index b6895b9..7bbbccf 100644
--- a/sigrok-cli.spec
+++ b/sigrok-cli.spec
@@ -1,13 +1,13 @@
Summary: Basic hardware access for logic analyzers - command line tool
Summary(pl.UTF-8): Podstawowy dostęp do sprzętu dla analizatorów logicznych - narzędzie linii poleceń
Name: sigrok-cli
-Version: 0.7.0
+Version: 0.7.1
Release: 1
License: GPL v3+
Group: Applications/Science
-Source0: http://www.sigrok.org/download/source/sigrok-cli/%{name}-%{version}.tar.gz
-# Source0-md5: 77cb745e2fa239c7bd1ea81e2d67ede9
-URL: http://www.sigrok.org/
+Source0: https://sigrok.org/download/source/sigrok-cli/%{name}-%{version}.tar.gz
+# Source0-md5: 3f45ce664bad529d8b3f78a61b017d75
+URL: https://sigrok.org/wiki/Sigrok-cli
BuildRequires: autoconf >= 2.63
BuildRequires: automake >= 1:1.11
BuildRequires: glib2-devel >= 1:2.32.0
@@ -15,6 +15,7 @@ BuildRequires: libsigrok-devel >= 0.5.0
BuildRequires: libsigrokdecode-devel >= 0.5.0
BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig >= 1:0.22
+Requires(post,postun): desktop-file-utils
Requires: glib2 >= 1:2.32.0
Requires: libsigrok >= 0.5.0
Requires: libsigrokdecode >= 0.5.0
@@ -48,14 +49,25 @@ do tworzenia skryptów.
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+
%files
%defattr(644,root,root,755)
%doc ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/sigrok-cli
+%{_desktopdir}/org.sigrok.sigrok-cli.desktop
+%{_iconsdir}/hicolor/scalable/apps/sigrok-cli.svg
%{_mandir}/man1/sigrok-cli.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sigrok-cli.git/commitdiff/a999f6205e0347ff7b1f8e6a00f6c3b2ec431e4a
More information about the pld-cvs-commit
mailing list