Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Dead_Mozay:matrix
element-web
element-web.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File element-web.spec of Package element-web
# # spec file for package element-web # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: element-web Version: 1.10.3 Release: 0 Summary: Element Matrix Web Client License: Apache-2.0 Url: https://github.com/vector-im/%{name} Source0: https://github.com/vector-im/%{name}/releases/download/v%{version}/element-v%{version}.tar.gz Source1: %{name}-nginx.conf BuildRequires: fdupes BuildArch: noarch Provides: riot-web = %{version}-%{release} Obsoletes: riot-web < %{version}-%{release} %package nginx Summary: Nginx integration for Riot Requires: %{name} = %{version} Requires: nginx %description nginx %{summary}. %description A glossy Matrix collaboration client for the web. %prep %setup -qn element-v%{version} %build # Skip build %install mkdir -p %{buildroot}%{_localstatedir}/www/%{name} cp -r * %{buildroot}%{_localstatedir}/www/%{name} mkdir -p %{buildroot}%{_sysconfdir}/%{name} cp config.sample.json %{buildroot}%{_sysconfdir}/%{name}/config.json ln -sf %{_sysconfdir}/%{name}/config.json %{buildroot}%{_localstatedir}/www/%{name}/config.json install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/nginx/default.d/%{name}.conf %fdupes -s %{buildroot}%{_localstatedir}/www/%{name} %files %dir %{_localstatedir}/www %{_localstatedir}/www/%{name} %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/config.json %files nginx %dir %{_sysconfdir}/nginx %dir %{_sysconfdir}/nginx/default.d %config %{_sysconfdir}/nginx/default.d/%{name}.conf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor