Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Simmphonie
urbackup-server
urbackup-server.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File urbackup-server.spec of Package urbackup-server
# # spec file for package urbackup-server # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: urbackup-server Version: 2.0.34 Release: 0 Summary: Efficient Client-Server backup system for Linux and Windows License: AGPL-3.0+ Group: Productivity/Archiving/Backup Url: http://urbackup.sourceforge.net/ Source0: %{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: autoconf BuildRequires: automake BuildRequires: fuse-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libcryptopp-devel BuildRequires: libcurl-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel Requires: fuse # Requires: libcryptopp # Requires: libcurl Requires: logrotate Requires: systemd # FIXME: use proper Requires(pre/post/preun/...) PreReq: %fillup_prereq Requires(pre) : %{_sbindir}/useradd Requires(post) : systemd Requires(preun) : systemd %description Efficient Client-Server Backup system for Linux and Windows. A client for Windows lets you backup open files and complete partition images. Backups are stored to disks in a efficient way (deduplication) on either Windows or Linux servers. %prep %setup -q sed -i 's|/etc/default|/etc/sysconfig|g' urbackup-server.service # cd %{_builddir}/%{name}-%{version} && libtoolize --force --recursive && autoreconf --force --install %build export SUID_CFLAGS=-fPIE export SUID_LDFLAGS=-fpie %configure --enable-packaging --with-mountvhd make %{?_smp_mflags} %install %make_install mkdir -p %{buildroot}%{_unitdir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d/ mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/ install -m 755 urbackup-server.service %{buildroot}%{_unitdir}/%{name}.service install -m 644 defaults_server %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.urbackupsrv install -m 644 docs/*.1 %{buildroot}%{_mandir}/man1 install -m 644 logrotate_urbackupsrv %{buildroot}%{_sysconfdir}/logrotate.d/urbackup-server %pre getent group urbackup > /dev/null || groupadd -r urbackup getent passwd urbackup > /dev/null || useradd -r -g urbackup -d %{_localstatedir}/urbackup \ -s /sbin/nologin urbackup >/dev/null 2>&1 : %service_add_pre urbackup-server.service %post /usr/bin/chown urbackup:urbackup /var/urbackup/ 2>/dev/null || : /sbin/ldconfig %fillup_only -n urbackupsrv %service_add_post urbackup-server.service %preun %service_del_preun urbackup-server.service %postun %service_del_postun urbackup-server.service /sbin/ldconfig %posttrans if systemctl --quiet is-enabled %{name}.service 2>/dev/null then /bin/systemctl --quiet --force reenable %{name} 2>/dev/null || : else /bin/systemctl --quiet --force reenable %{name} 2>/dev/null || : /bin/systemctl --quiet disable %{name} 2>/dev/null || : fi %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README %{_bindir}/* %{_mandir}/man1/* %attr(0755,root,root) %{_sbindir}/* %attr(4755,root,root) %{_bindir}/urbackup_snapshot_helper %dir %attr(0755,urbackup,urbackup) %{_datadir}/urbackup %attr(-,urbackup,urbackup) %{_datadir}/urbackup/* %config(noreplace) %{_sysconfdir}/logrotate.d/urbackup-server %config %{_localstatedir}/adm/fillup-templates/sysconfig.urbackupsrv %attr(0644,root,root) %{_unitdir}/%{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