Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP6:Update
dar
dar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dar.spec of Package dar
# # spec file for package dar # # Copyright (c) 2023 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/ # %define sover 6000 Name: dar Version: 2.7.12 Release: 0 Summary: Backup and Restore Application License: SUSE-GPL-2.0+-with-openssl-exception URL: https://dar.sourceforge.io/ Source0: https://dar.edrusb.org/dar.linux.free.fr/Releases/Source_code/dar-%{version}.tar.gz Source1: https://dar.edrusb.org/dar.linux.free.fr/Releases/Source_code/dar-%{version}.tar.gz.sig Source2: %{name}.keyring BuildRequires: argon2-devel BuildRequires: automake BuildRequires: curl-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext-tools BuildRequires: groff BuildRequires: libattr-devel BuildRequires: libgcrypt-devel BuildRequires: libgpg-error-devel BuildRequires: librsync-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(ext2fs) BuildRequires: pkgconfig(gpgme) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(lzo2) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) Recommends: %{name}-doc = %{version} Recommends: par %ifarch %{ix86} x86_64 ppc BuildRequires: upx %endif %description Dar (Disk Archive) is a hardware-independent backup solution. Dar uses catalogs (unlike tar),which it makes it possible to extract a single file without having to read the entire archive. It is also possible to create incremental backups. Dar archives can also be created or used with the libdar library (for example, with KDar, a KDE application). This package contains the command line tools and documentation. %package -n libdar64-%{sover} Summary: Backup and Restore Application # We recommend the -lang pack from the library, as the lib itself is also gettextized. The main pack does # not need the Recommends, as it requires the lib anyway (thus indirectly Recommends the -lang package). Recommends: %{name}-lang Provides: libdar = 2.3.10 Obsoletes: libdar < 2.3.10 %description -n libdar64-%{sover} Dar stands for Disk ARchive and is a hardware independent backup solution. Dar uses catalogs (unlike tar), so it is possible to extract a single file without having to read the whole archive, and it is also possible to create incremental backups. Dar archives can also be created, or used, via the libdar library (for example with KDar, a KDE application). This package contains the library used by Dar and KDar. %package -n libdar-devel Summary: Backup and Restore Application Requires: glibc-devel Requires: libdar64-%{sover} = %{version} Requires: openssl-devel Requires: pkgconfig(bzip2) Requires: pkgconfig(zlib) %description -n libdar-devel Dar stands for Disk ARchive and is a hardware independent backup solution. Dar uses catalogs (unlike tar), so it is possible to extract a single file without having to read the whole archive, and it is also possible to create incremental backups. Dar archives can also be created, or used, via the libdar library (with KDar, a KDE application, for example). This package contains the library used by Dar and KDar. %package doc Summary: Documentation for %{name} %description doc Documentation package for %{name} %lang_package %prep %autosetup sed -i -e 's,^AM_GNU_GETTEXT_VERSION.*,-AM_GNU_GETTEXT_VERSION(0.18),' configure.ac %build autoreconf -fiv %configure \ --with-pic \ --datadir=%{_defaultdocdir} \ --disable-static \ --enable-largefile \ --disable-dar-static %make_build %check # ensure that dynamic linked binaries get installed file %{buildroot}%{_bindir}/* | grep -q dynamic || exit 1 file %{buildroot}%{_bindir}/* | grep static && exit 1 exit 0 %install %make_install # libtool make executables static during installation # overwrite them with original dynamic linked binaries install -m 0755 src/dar_suite/.libs/* %{buildroot}%{_bindir}/ find %{buildroot} -type f -name "*.la" -delete -print # Move the sample scripts to the correct location (otherwise rpmlint will error due to these scripts having execute perms) mkdir %{buildroot}/%{_defaultdocdir}/%{name}/examples/ mv %{buildroot}/%{_defaultdocdir}/%{name}/samples/* %{buildroot}/%{_defaultdocdir}/%{name}/examples %fdupes %{buildroot}%{_defaultdocdir}/%{name} %find_lang %{name} %post -n libdar64-%{sover} -p /sbin/ldconfig %postun -n libdar64-%{sover} -p /sbin/ldconfig %files %license COPYING %doc AUTHORS NEWS TODO ChangeLog %{_bindir}/dar* %{_mandir}/man1/dar*.1%{?ext_man} %files lang -f %{name}.lang %files -n libdar64-%{sover} %{_libdir}/libdar64.so.%{sover}* %config(noreplace) %{_sysconfdir}/darrc %files -n libdar-devel %{_includedir}/%{name}/ %{_libdir}/libdar64.so %{_libdir}/pkgconfig/libdar64.pc %files doc %exclude %{_docdir}/%{name}/{AUTHORS,NEWS,TODO,ChangeLog} %doc %{_docdir}/%{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