mirror of
https://abf.rosa.ru/djam/edex-ui.git
synced 2025-02-23 14:42:47 +00:00
Imported from SRPM
This commit is contained in:
commit
06da41626e
3 changed files with 59 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
edex-ui-1.0.1.tar.gz: e433cacede88f8fe4f0adf1f0896b1cfc78ef947
|
1
edex-ui.rpmlintrc
Normal file
1
edex-ui.rpmlintrc
Normal file
|
@ -0,0 +1 @@
|
|||
addFilter("E: dir-or-file-in-opt")
|
56
edex-ui.spec
Normal file
56
edex-ui.spec
Normal file
|
@ -0,0 +1,56 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: edex-ui
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: TRON UI
|
||||
URL: https://github.com/GitSquared/edex-ui/
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1000: %{name}.rpmlintrc
|
||||
License: GPLv3
|
||||
Group: Graphical desktop/Other
|
||||
BuildRequires: nodejs >= 8
|
||||
BuildRequires: npm
|
||||
Prefix: /opt/%{name}
|
||||
|
||||
%description
|
||||
eDEX-UI is a fullscreen desktop application resembling
|
||||
a sci-fi computer interface, heavily inspired from DEX-UI
|
||||
and the TRON Legacy movie effects. It runs the shell
|
||||
of your choice in a real terminal, and displays live
|
||||
information about your system. It was made to be used
|
||||
on large touchscreens but will work nicely on a regular
|
||||
desktop computer or perhaps a tablet PC or one of those
|
||||
funky 360° laptops with touchscreens.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
npm install
|
||||
npm run build-linux
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{prefix}
|
||||
|
||||
%ifarch x86_64
|
||||
pushd dist/linux-unpacked
|
||||
cp -ar . %{buildroot}%{prefix}
|
||||
popd
|
||||
%else
|
||||
pushd dist/linux-ia32-unpacked
|
||||
cp -ar . %{buildroot}%{prefix}
|
||||
popd
|
||||
%endif
|
||||
|
||||
%post
|
||||
ln -sf /opt/%{name}/%{name} %{_bindir}/%{name}
|
||||
|
||||
%postun
|
||||
rm -f %{_bindir}/%{name}
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE
|
||||
%{prefix}
|
||||
|
Loading…
Add table
Reference in a new issue