Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Werwolf2517
conduit
conduit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conduit.spec of Package conduit
# # spec file for package conduit # # Copyright (c) 2021 SUSE LLC # # 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: conduit Version: 0.7.0 Release: 0 Summary: Conduit Matrix Server License: Apache-2.0 URL: https://gitlab.com/famedly/conduit Source: %{name}-%{version}.tar.zst Source1: vendor.tar.zst Source2: contrib.tar.zst Requires: coreutils BuildRequires: clang BuildRequires: clang-devel BuildRequires: gcc-c++ BuildRequires: lld #BuildRequires: pkgconfig #BuildRequires: pkgconfig(rocksdb) #BuildRequires: rust-packaging BuildRequires: cargo-packaging BuildRequires: systemd-rpm-macros BuildRequires: glib2-devel BuildRequires: sysuser-tools Provides: user(conduit) %{sysusers_requires} %description Conduit Matrix Server %prep %setup -q %setup -q -T -D -a 1 %setup -q -T -D -a 2 %build #%%cargo_build cargo build --offline --release --frozen %sysusers_generate_pre %{_sysusersdir}/system-user-%{name}.conf conduit %install #%%cargo_install install -Dm 755 target/release/conduit %{buildroot}%{_bindir}/%{name} install -Dm 644 contrib/systemd/conduit.service %{buildroot}%{_unitdir}/%{name}.service install -Dm 644 conduit-example.toml %{buildroot}%{_sysconfdir}/%{name}.toml install -Dm 644 contrib/systemd/conduit.sysusers %{buildroot}%{_sysusersdir}/system-user-%{name}.conf install -Dm 644 contrib/systemd/conduit.tmpfiles %{buildroot}%{_tmpfilesdir}/system-user-homedir-%{name}.conf %files %license LICENSE %{_bindir}/conduit %{_unitdir}/conduit.service %{_sysusersdir}/system-user-%{name}.conf %{_tmpfilesdir}/system-user-homedir-%{name}.conf %config(noreplace) %{_sysconfdir}/%{name}.toml %pre -f conduit.pre %service_add_pre %{name}.service %post %service_add_post conduit.service %sysusers_create %{_sysusersdir}/system-user-%{name}.conf %tmpfiles_create %{_tmpfilesdir}/system-user-homedir-%{name}.conf %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %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