Accepting request 1158075 from Education

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1158075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dictd?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-03-15 19:30:37 +00:00 committed by Git OBS Bridge
commit c0d0a8c0c7
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 7 18:18:01 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Fix License: tag (thank you, Fedora
developers, for the research,
https://src.fedoraproject.org/rpms/dictd/pull-request/5).
- Clean up the SPEC file
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 20 23:12:10 UTC 2022 - Matej Cepl <mcepl@suse.com> Sun Feb 20 23:12:10 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package dictd # spec file for package dictd
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: dictd
Version: 1.13.1 Version: 1.13.1
Release: 0 Release: 0
Summary: DICT protocol (RFC 2229) server and command-line client Summary: DICT protocol (RFC 2229) server and command-line client
License: GPL-1.0-or-later AND Zlib AND MIT License: BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
Group: Productivity/Office/Dictionary Group: Productivity/Office/Dictionary
URL: https://github.com/cheusov/dictd URL: https://github.com/cheusov/dictd
Source0: https://github.com/cheusov/dictd/archive/%{version}.tar.gz#/dictd-%{version}.tar.gz Source0: https://github.com/cheusov/dictd/archive/%{version}.tar.gz#/dictd-%{version}.tar.gz
@ -36,6 +36,7 @@ BuildRequires: gcc
BuildRequires: libdbi-devel BuildRequires: libdbi-devel
BuildRequires: libmaa-devel BuildRequires: libmaa-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
# libtool-ltdl-devel byacc # libtool-ltdl-devel byacc
@ -61,6 +62,7 @@ autoreconf -fv
Summary: Development files for dictd Summary: Development files for dictd
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
BuildArch: noarch
%description devel %description devel
This package contains two programs. dict gives access to This package contains two programs. dict gives access to
@ -75,7 +77,7 @@ This package contains development files for the dictd package.
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC" export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
%configure --enable-dictorg --with-plugin-dbi %configure --enable-dictorg --with-plugin-dbi
# --disable-plugin # --disable-plugin
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -102,7 +104,9 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdictd
# Makefile doesn't work correctly with libdir # Makefile doesn't work correctly with libdir
if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then
mkdir -p %{buildroot}%{_libdir}/ mkdir -p %{buildroot}%{_libdir}/
mv -v %{buildroot}%{_libexecdir}/dictdplugin* %{buildroot}%{_libdir}/ install -p -v -m 0755 %{buildroot}%{_libexecdir}/dictdplugin* \
%{buildroot}%{_libdir}/
rm -rv %{buildroot}%{_libexecdir}
fi fi
rm -fv %{buildroot}%{_libdir}/*.{la,a} rm -fv %{buildroot}%{_libdir}/*.{la,a}