Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
perl-App-Dochazka-REST
cpanspec.yml
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpanspec.yml of Package perl-App-Dochazka-REST
--- preamble: |- BuildRequires: perl(Starman) BuildRequires: systemd Requires: perl(Starman) Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd %{?systemd_requires} %pre getent group dochazka-rest >/dev/null || groupadd -r dochazka-rest getent passwd dochazka-rest >/dev/null || useradd -r -g dochazka-rest -d %{_localstatedir}/lib/dochazka-rest -s /sbin/nologin -c "user for dochazka REST" dochazka-rest %service_add_pre dochazka-rest.service %preun %service_del_preun dochazka-rest.service %postun %service_del_postun dochazka-rest.service %post %service_add_post dochazka-rest.service post_install: |- install -dm0755 %{buildroot}%{_sysconfdir}/dochazka-rest install -m0640 ext/REST_SiteConfig.pm.example %{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm install -m0640 ext/REST_SiteConfig.pm.example %{buildroot}%{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example install -dm0755 %{buildroot}%{_localstatedir}/lib/dochazka-rest install -dm0755 %{buildroot}%{_localstatedir}/log/dochazka mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_unitdir} ln -sf service %{buildroot}%{_sbindir}/rcdochazka-rest install -m0644 ext/systemd/dochazka-rest.service %{buildroot}%{_unitdir}/dochazka-rest.service echo "%dir %{_sysconfdir}/dochazka-rest" >> %{name}.files echo "%config(noreplace) %attr(0640,dochazka-rest,dochazka-rest) %{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm" >> %{name}.files echo "%config %attr(0640,dochazka-rest,dochazka-rest) %{_sysconfdir}/dochazka-rest/REST_SiteConfig.pm.example" >> %{name}.files echo "%attr(0750,dochazka-rest,dochazka-rest) %dir %{_localstatedir}/lib/dochazka-rest" >> %{name}.files echo "%attr(0750,dochazka-rest,dochazka-rest) %dir %{_localstatedir}/log/dochazka" >> %{name}.files echo "%{_sbindir}/rcdochazka-rest" >> %{name}.files echo "%{_unitdir}/dochazka-rest.service" >> %{name}.files
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