2017-11-13 01:21:45 +00:00
|
|
|
#
|
|
|
|
# spec file for package gnu-recutils
|
|
|
|
#
|
2022-04-21 19:30:34 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2017-11-13 01:21:45 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2022-04-21 19:30:34 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-11-13 01:21:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define _lsover 1
|
|
|
|
%define _osover 0
|
|
|
|
Name: gnu-recutils
|
2022-04-21 19:30:34 +00:00
|
|
|
Version: 1.9
|
2017-11-13 01:21:45 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Text-based databases called recfiles
|
2022-04-21 19:30:34 +00:00
|
|
|
License: GPL-3.0-or-later
|
2017-11-13 01:21:45 +00:00
|
|
|
Group: Productivity/Databases/Tools
|
|
|
|
URL: https://www.gnu.org/software/recutils
|
|
|
|
Source0: https://ftp.gnu.org/gnu/recutils/recutils-%{version}.tar.gz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/recutils/recutils-%{version}.tar.gz.sig
|
2022-04-21 19:30:34 +00:00
|
|
|
Source2: https://savannah.gnu.org/people/viewgpg.php?user_id=829#/%{name}.keyring
|
2017-11-13 01:21:45 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(bash)
|
|
|
|
BuildRequires: pkgconfig(check)
|
2022-04-21 19:30:34 +00:00
|
|
|
BuildRequires: pkgconfig(libacl)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libgcrypt)
|
2017-11-13 01:21:45 +00:00
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
|
|
|
|
%description
|
|
|
|
A set of tools and libraries to access human-editable, text-based
|
|
|
|
databases.
|
|
|
|
|
|
|
|
The data is stored as a sequence of records, each record containing
|
|
|
|
an arbitrary number of named fields.
|
|
|
|
|
|
|
|
Despite its simplicity, recfiles can be used to store medium-sized
|
|
|
|
databases.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files for %{name} libraries
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: librec%{_lsover} = %{version}
|
|
|
|
Requires: readrec%{_osover} = %{version}
|
|
|
|
Requires: testrec%{_osover} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains files to develop for %{name} libraries
|
|
|
|
|
|
|
|
%package -n librec%{_lsover}
|
|
|
|
Summary: Text-based databases called recfiles
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n librec%{_lsover}
|
|
|
|
A set of tools and libraries to access human-editable, text-based
|
|
|
|
databases.
|
|
|
|
|
|
|
|
The data is stored as a sequence of records, each record containing
|
|
|
|
an arbitrary number of named fields.
|
|
|
|
|
|
|
|
Despite its simplicity, recfiles can be used to store medium-sized
|
|
|
|
databases.
|
|
|
|
|
|
|
|
%package -n readrec%{_osover}
|
|
|
|
Summary: Text-based databases called recfiles
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n readrec%{_osover}
|
|
|
|
A set of tools and libraries to access human-editable, text-based
|
|
|
|
databases.
|
|
|
|
|
|
|
|
The data is stored as a sequence of records, each record containing
|
|
|
|
an arbitrary number of named fields.
|
|
|
|
|
|
|
|
Despite its simplicity, recfiles can be used to store medium-sized
|
|
|
|
databases.
|
|
|
|
|
|
|
|
%package -n testrec%{_osover}
|
|
|
|
Summary: Text-based databases called recfiles
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n testrec%{_osover}
|
|
|
|
A set of tools and libraries to access human-editable, text-based
|
|
|
|
databases.
|
|
|
|
|
|
|
|
The data is stored as a sequence of records, each record containing
|
|
|
|
an arbitrary number of named fields.
|
|
|
|
|
|
|
|
Despite its simplicity, recfiles can be used to store medium-sized
|
|
|
|
databases.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n recutils-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2022-04-21 19:30:34 +00:00
|
|
|
%make_build
|
2017-11-13 01:21:45 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%find_lang recutils %{name}.lang
|
|
|
|
|
|
|
|
%check
|
2022-04-21 19:30:34 +00:00
|
|
|
%make_build check
|
2017-11-13 01:21:45 +00:00
|
|
|
|
|
|
|
%post -n librec%{_lsover} -p /sbin/ldconfig
|
|
|
|
%postun -n librec%{_lsover} -p /sbin/ldconfig
|
|
|
|
%post -n readrec%{_osover} -p /sbin/ldconfig
|
|
|
|
%postun -n readrec%{_osover} -p /sbin/ldconfig
|
|
|
|
%post -n testrec%{_osover} -p /sbin/ldconfig
|
|
|
|
%postun -n testrec%{_osover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README AUTHORS
|
2017-11-13 01:21:45 +00:00
|
|
|
%dir %{_datadir}/recutils
|
|
|
|
%dir %{_datadir}/recutils%{_sysconfdir}
|
2022-04-21 19:30:34 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_infodir}/*%{?ext_info}
|
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
2017-11-13 01:21:45 +00:00
|
|
|
%{_datadir}/recutils%{_sysconfdir}/FSD.rec
|
|
|
|
|
|
|
|
%files devel
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
2017-11-13 01:21:45 +00:00
|
|
|
%{_includedir}/rec.h
|
2022-04-21 19:30:34 +00:00
|
|
|
%{_libdir}/*.so
|
2017-11-13 01:21:45 +00:00
|
|
|
|
|
|
|
%files -n librec%{_lsover}
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
2017-11-13 01:21:45 +00:00
|
|
|
%{_libdir}/librec.so.%{_lsover}*
|
|
|
|
|
|
|
|
%files -n readrec%{_osover}
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
2017-11-13 01:21:45 +00:00
|
|
|
%{_libdir}/readrec.so.%{_osover}*
|
|
|
|
|
|
|
|
%files -n testrec%{_osover}
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
2017-11-13 01:21:45 +00:00
|
|
|
%{_libdir}/testrec.so.%{_osover}*
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2022-04-21 19:30:34 +00:00
|
|
|
%license COPYING
|
2017-11-13 01:21:45 +00:00
|
|
|
|
|
|
|
%changelog
|