From: Bartek Szady Date: Fri, 9 Aug 2019 19:11:00 +0000 (+0200) Subject: - updated to 30 X-Git-Tag: auto/th/ngspice-30-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=bcec57daf5c190e5c29158198b58e286f7740e65;p=packages%2Fngspice.git - updated to 30 --- diff --git a/ngspice.spec b/ngspice.spec index 04d8b5a..9d7a16a 100644 --- a/ngspice.spec +++ b/ngspice.spec @@ -4,12 +4,12 @@ Summary: Ngspice circuit simulator Summary(pl.UTF-8): Ngspice symulator obwodów Name: ngspice -Version: 28 +Version: 30 Release: 1 License: GPL Group: Applications Source0: https://sourceforge.net/projects/ngspice/files/ng-spice-rework/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 5ee9c0a5f52d69ae20b8ef9b46608769 +# Source0-md5: 272653b01dd4529c3c3a1dbd2e1588f1 Source1: %{name}.desktop URL: http://ngspice.sourceforge.net/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -65,7 +65,9 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} install -d $RPM_BUILD_ROOT%{_desktopdir} +%if %{without shared} cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop +%endif cp -R examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} %clean