- update to 2.2.9:
* {mount,umount}.nilfs2: use libmount by default
* fix build warnings in Autoconf 2.70 or later:
- configure.ac: use AC_CONFIG_HEADERS instead of AC_CONFIG_HEADER
- configure.ac: remove AC_PROG_CC_C99 macro
- configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE
- configure.ac: use LT_INIT instead of AC_PROG_LIBTOOL
- configure.ac: remove obsolete AC_HEADER_STDC marco
- configure.ac: remove obsolete AC_HEADER_TIME marco
- do not use AC_TYPE_SIGNAL and RETSIGTYPE
* fix gcc8 -Wstringop-truncation warnings:
- mkfs, nilfs-tune: fix gcc8 warnings for volume name buffers
- nilfs-tune: fix gcc8 warnings at user_string() and group_string()
* update documents:
- README: update git repository url
- README: alter URLs referenced in the developer notes
- README: remedy a note about dependency on the selinux library
OBS-URL: https://build.opensuse.org/request/show/997602
OBS-URL: https://build.opensuse.org/package/show/filesystems/nilfs-utils?expand=0&rev=23
124 lines
3.3 KiB
RPMSpec
124 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package nilfs-utils
|
|
#
|
|
# Copyright (c) 2022 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 libnilfs libnilfs0
|
|
%define libcleaner libnilfscleaner0
|
|
%define libgc libnilfsgc0
|
|
%if 0%{?suse_version} < 1550
|
|
%define root_sbindir /sbin
|
|
%else
|
|
%define root_sbindir %{_sbindir}
|
|
%endif
|
|
|
|
Name: nilfs-utils
|
|
Version: 2.2.9
|
|
Release: 0
|
|
Summary: Utilities for NILFS
|
|
License: GPL-2.0-only
|
|
Group: System/Filesystems
|
|
URL: https://nilfs.sourceforge.io/en/
|
|
Source: https://nilfs.sourceforge.io/download/%{name}-%{version}.tar.bz2
|
|
BuildRequires: chrpath
|
|
BuildRequires: libmount-devel
|
|
BuildRequires: libuuid-devel
|
|
|
|
%description
|
|
This package contains utility programs for NILFS v2.
|
|
|
|
%package -n %{libnilfs}
|
|
Summary: Library for interacting with nilfs
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libnilfs}
|
|
This package contains shared library needed for some applications to
|
|
interface with nilfs
|
|
|
|
%package -n %{libcleaner}
|
|
Summary: Cleaner library for interacting with nilfs
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libcleaner}
|
|
This package contains shared cleaner library needed for some applications
|
|
to interface with nilfs
|
|
|
|
%package -n %{libgc}
|
|
Summary: Garbage collection library for interacting with nilfs
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libgc}
|
|
This package contains shared garbage collection library needed for some
|
|
applications to interface with nilfs
|
|
|
|
%package devel
|
|
Summary: Development package for the libnilfs library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{libnilfs} = %{version}
|
|
|
|
%description devel
|
|
This package contains the development files for NILFS v2.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--disable-static \
|
|
--enable-libmount
|
|
%make_build
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot} root_sbindir=%{root_sbindir}
|
|
# remove unneeded files
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
chrpath -d %{buildroot}%{root_sbindir}/*
|
|
|
|
%post -n %{libnilfs} -p %run_ldconfig
|
|
%post -n %{libcleaner} -p %run_ldconfig
|
|
%post -n %{libgc} -p %run_ldconfig
|
|
%postun -n %{libnilfs} -p %run_ldconfig
|
|
%postun -n %{libcleaner} -p %run_ldconfig
|
|
%postun -n %{libgc} -p %run_ldconfig
|
|
|
|
%files
|
|
%config(noreplace) %{_sysconfdir}/nilfs_cleanerd.conf
|
|
%if 0%{?suse_version} < 1550
|
|
%{root_sbindir}/*
|
|
%endif
|
|
%{_sbindir}/*
|
|
%{_bindir}/*
|
|
%{_mandir}/man?/*
|
|
|
|
%files -n %{libnilfs}
|
|
%{_libdir}/libnilfs.so.*
|
|
|
|
%files -n %{libcleaner}
|
|
%{_libdir}/libnilfscleaner.so.*
|
|
|
|
%files -n %{libgc}
|
|
%{_libdir}/libnilfsgc.so.*
|
|
|
|
%files devel
|
|
%{_includedir}/nilfs.h
|
|
%{_includedir}/nilfs2_fs.h
|
|
%{_includedir}/nilfs_cleaner.h
|
|
%{_libdir}/libnilfs.so
|
|
%{_libdir}/libnilfscleaner.so
|
|
%{_libdir}/libnilfsgc.so
|
|
|
|
%changelog
|