Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:crameleon:misc
pdns-genrev
pdns-genrev.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdns-genrev.spec of Package pdns-genrev
# # spec file for package pdns-genrev # # Copyright (c) 2023 Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net> # # 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: pdns-genrev Version: 0.2 Release: 0 Group: System/Management Summary: PowerDNS reverse zone helper License: EUPL-1.2+ URL: https://git.com.de/Georg/pdns-genrev Source: _service BuildArch: noarch BuildRequires: sysuser-tools Requires: python3 %description Tool which reads specified forward zones and patches the matching reverse zones %prep mv %{_sourcedir}/%{name}-%{version}/* . %build %sysusers_generate_pre suse/%{name}.system-user %{name} %install install -d %{buildroot}%{_fillupdir} %{buildroot}/%{_unitdir} %{buildroot}/%{_bindir} %{buildroot}/%{_sbindir} %{buildroot}%{_sysusersdir} install -m0755 %{name}.py %{buildroot}%{_bindir}/%{name} install -m0644 suse/%{name}.sysconfig %{buildroot}%{_fillupdir}/sysconfig.%{name} install -m0644 suse/%{name}.system-user %{buildroot}%{_sysusersdir}/system-user-%{name}.conf install -m0644 suse/%{name}.service %{buildroot}%{_unitdir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %pre -f %{name}.pre %service_add_pre %{name}.service %post %{fillup_only -n %{name}} %service_add_post %{name}.service %preun %service_del_preun %{name}.service %postun %service_del_postun %{name}.service %files %license LICENSE %{_bindir}/%{name} %{_sysusersdir}/system-user-%{name}.conf %{_fillupdir}/sysconfig.%{name} %{_unitdir}/%{name}.service %{_sbindir}/rc%{name} %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