Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
aria2webui
> webui-aria2.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File webui-aria2.spec of Package aria2webui
%define debug_package %{nil} %global Source %(ls %{_sourcedir} | grep .zip) %global commit_timestamp %(echo %{Source} | cut -c 19-28) Name: webui-aria2 License: MIT Summary: The aim for this project is to create the worlds best and hottest interface to interact with aria2 Url: https://github.com/ziahamza/webui-aria2 Version: 1.0.0 Release: 0 Group: Applications/Internet Source0: %{name}-master.zip Source1: %{name} Source2: %{name}.service Source3: %{name}.xml Source4: aria2webui-rpmlintrc Requires: aria2 %description The aim for this project is to create the worlds best and hottest interface to interact with aria2. Very simple to use, just download and open index.html in any web browser. %prep %setup -q -n %{name}-master %build find . -type d -exec chmod 0755 {} ";" find . -type f -exec chmod 0644 {} ";" %install mkdir -p %{buildroot}/var/www/html/aria2 \ %{buildroot}%{_bindir} \ %{buildroot}/lib/systemd/system \ %{buildroot}/usr/lib/firewalld/services cp -ar * %{buildroot}/var/www/html/aria2 install -D -m 755 %{S:1} %{buildroot}%{_bindir} install -D -m 644 %{S:2} %{buildroot}/lib/systemd/system install -D -m 644 %{S:3} %{buildroot}/usr/lib/firewalld/services %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) /var/www/html/aria2 %{_bindir}/%{name} /usr/lib/firewalld/services/%{name}.xml /lib/systemd/system/%{name}.service %changelog