[packages/electron] up to 1.4.3
glen
glen at pld-linux.org
Sun Oct 9 11:57:28 CEST 2016
commit f09eb3199549c394f5625f82be7a84c661407624
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 9 12:57:23 2016 +0300
up to 1.4.3
electron.spec | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/electron.spec b/electron.spec
index 0895c47..20637f9 100644
--- a/electron.spec
+++ b/electron.spec
@@ -1,26 +1,24 @@
# TODO:
# - build from source (the process and deps look like hell)
-# https://github.com/atom/electron/blob/v0.36.0/docs/development/build-instructions-linux.md
+# WIP on 'source' branch
Summary: Framework cross-platform desktop applications using JavaScript, HTML and CSS
Name: electron
-Version: 0.36.0
-Release: 0.1
+Version: 1.4.3
+Release: 1
License: MIT, BSD
Group: Applications
-#Source0: https://github.com/atom/electron/archive/v%{version}/%{name}-%{version}.tar.gz
-## Source0-md5: 0c20e4676d7aef091521c9264d58939a
Source1: https://github.com/atom/electron/releases/download/v%{version}/%{name}-v%{version}-linux-ia32.zip
-# Source1-md5: 1272f2a7330341f86cd8be1cce14afc9
Source2: https://github.com/atom/electron/releases/download/v%{version}/%{name}-v%{version}-linux-x64.zip
-# Source2-md5: 1c77028a12330b4883fe93eea82c0b63
URL: https://github.com/atom/electron
BuildRequires: unzip
ExclusiveArch: %{ix86} %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# do not provide SONAME deps from this package
%define _noautoprovfiles %{_libdir}/%{name}
-%define _noautoreq libnode.so libnotify.so
+# provided by this package itself
+%define _noautoreq libnode.so libffmpeg.so
%description
The Electron framework lets you write cross-platform desktop
@@ -37,7 +35,7 @@ and Chromium and is used in the Atom editor.
%endif
# remove empty locales
-find locales -size 0 | xargs rm -v
+find locales -size 0 | xargs -r rm -v
%install
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +48,6 @@ cp -a . $RPM_BUILD_ROOT%{_libdir}/%{name}
ln -s %{_libdir}/%{name}/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/LICENSE*
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/libgcrypt*
%clean
rm -rf $RPM_BUILD_ROOT
@@ -64,8 +61,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/%{name}/resources
%attr(755,root,root) %{_libdir}/%{name}/electron
%attr(755,root,root) %{_libdir}/%{name}/libnode.so
-%attr(755,root,root) %{_libdir}/%{name}/libnotify.so.4
+%attr(755,root,root) %{_libdir}/%{name}/libffmpeg.so
+%{_libdir}/%{name}/blink_image_resources_200_percent.pak
+%{_libdir}/%{name}/content_resources_200_percent.pak
%{_libdir}/%{name}/content_shell.pak
+%{_libdir}/%{name}/ui_resources_200_percent.pak
+%{_libdir}/%{name}/views_resources_200_percent.pak
%{_libdir}/%{name}/icudtl.dat
%{_libdir}/%{name}/natives_blob.bin
%{_libdir}/%{name}/snapshot_blob.bin
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/electron.git/commitdiff/f09eb3199549c394f5625f82be7a84c661407624
More information about the pld-cvs-commit
mailing list