Accepting request 707943 from Education
OBS-URL: https://build.opensuse.org/request/show/707943 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dictd?expand=0&rev=2
This commit is contained in:
commit
ca21da9be3
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="versionprefix">1.12.1+git</param>
|
||||||
|
<param name="url">https://github.com/cheusov/dictd</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git*</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="changesauthor">Matej Cepl <mcepl@cepl.eu></param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/cheusov/dictd</param>
|
||||||
|
<param name="changesrevision">1c167244d9227e7944f85dfc45bed613c07cefb5</param></service></servicedata>
|
3
dictd-1.12.1+git.1555438032.190d8c6.tar.xz
Normal file
3
dictd-1.12.1+git.1555438032.190d8c6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:865a0a82472c9ef5691231d23c2ff8ae0b90636671be377b63bc70e5319621e0
|
||||||
|
size 237680
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a237f6ecdc854ab10de5145ed42eaa2d9b6d51ffdc495f7daee59b05cc363656
|
|
||||||
size 423870
|
|
@ -1,3 +1,57 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 15:29:38 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
|
||||||
|
make the build dep chain cheaper by using systemd-mini.
|
||||||
|
- USe systemd_ordering instead of systemd_requires: only ask for
|
||||||
|
systemd to be early in the transaction, but don't forcibly
|
||||||
|
require systemd to be present.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 24 12:04:26 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.12.1+git.1555438032.190d8c6:
|
||||||
|
- Remove --enable-dictorg from dict(1)
|
||||||
|
- Stop using obs_scm, it doesn't work, use tar_scm instead.
|
||||||
|
- Use tighter globs in %%files to make debuginfo generator happy.
|
||||||
|
- Clean up SPEC using spec-cleaner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 24 10:00:52 UTC 2019 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to version 1.12.1+git.1555438032.190d8c6:
|
||||||
|
* Remove --enable-dictorg from dict(1)
|
||||||
|
* update config.sub and config.guess
|
||||||
|
* dictfmt: fix merge conflict
|
||||||
|
* dictfmt: fix compilation failure on Solaris (alloca)
|
||||||
|
* dictfmt: DICTFMT_SORT variable is used for setting sort(1)
|
||||||
|
* Support for --use-dictorg was removed
|
||||||
|
* Support for socks5 was removed
|
||||||
|
* Clean-ups for autocrap build system (headers and types)
|
||||||
|
* Use stable sort to ensure already-sorted input stays sorted.
|
||||||
|
* Revert "Update tables for is{space,alnum}__ (report by michael72)"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 4 18:59:56 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim filler wording from description.
|
||||||
|
- Retire old $RPM_* shell vars.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 26 18:09:17 UTC 2019 - opensuse-packaging@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.12.1.git.1520674574.9a2f53e:
|
||||||
|
* update config.sub and config.guess
|
||||||
|
* dictfmt: fix merge conflict
|
||||||
|
* dictfmt: fix compilation failure on Solaris (alloca)
|
||||||
|
* dictfmt: DICTFMT_SORT variable is used for setting sort(1)
|
||||||
|
* Support for --use-dictorg was removed
|
||||||
|
* Support for socks5 was removed
|
||||||
|
* Clean-ups for autocrap build system (headers and types)
|
||||||
|
* Clean-ups for autocrap build system (mbstate_t, wchar_t, wint_t, socklen_t, size_t, CODESET, alloca)
|
||||||
|
* Use stable sort to ensure already-sorted input stays sorted.
|
||||||
|
* Revert "Update tables for is{space,alnum}__ (report by michael72)"
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 12 23:56:35 UTC 2012 - mailaender@opensuse.org
|
Fri Oct 12 23:56:35 UTC 2012 - mailaender@opensuse.org
|
||||||
|
|
||||||
|
5
dictd.obsinfo
Normal file
5
dictd.obsinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: dictd
|
||||||
|
version: 1.12.1.git.1520674574.9a2f53e
|
||||||
|
mtime: 1520674574
|
||||||
|
commit: 9a2f53ec26ec7eb1880437f1cafae6291634c98d
|
||||||
|
|
77
dictd.spec
77
dictd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dictd
|
# spec file for package dictd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -16,21 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: dictd
|
Name: dictd
|
||||||
Version: 1.12.1
|
Version: 1.12.1+git.1555438032.190d8c6
|
||||||
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: GPL-1.0-or-later AND Zlib AND MIT
|
||||||
Group: Productivity/Office/Dictionary
|
Group: Productivity/Office/Dictionary
|
||||||
URL: https://sourceforge.net/projects/dict/
|
URL: https://github.com/cheusov/dictd
|
||||||
Source0: http://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: colorit.conf
|
Source1: colorit.conf
|
||||||
Source2: dictd.service
|
Source2: dictd.service
|
||||||
Patch0: dictd-1.12.1-unused-return.patch
|
Patch0: dictd-1.12.1-unused-return.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=198359
|
BuildRequires: autoconf
|
||||||
# https://sourceforge.net/p/dict/feature-requests/4/
|
|
||||||
# Patch1: dictd-1.9.15-ipv6.patch
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
@ -38,34 +35,51 @@ BuildRequires: gcc
|
|||||||
BuildRequires: libdbi-devel
|
BuildRequires: libdbi-devel
|
||||||
BuildRequires: libmaa-devel
|
BuildRequires: libmaa-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: systemd
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
# libtool-ltdl-devel byacc
|
# libtool-ltdl-devel byacc
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_requires}
|
%{?systemd_ordering}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains two programs. With dict, you have access to
|
This package contains two programs. dict gives access to
|
||||||
powerful electronic dictionaries on the Internet. With dictd, you can
|
electronic dictionaries on the Internet. With dictd, one can
|
||||||
set up your own dictionary. To look up, for example, the word 'grunt',
|
set up a custom dictionary. To look up, for example, the word "grunt",
|
||||||
just type "dict grunt" at a command line. See the man pages of dict and
|
execute `dict grunt` at a command line. See the man pages of dict and
|
||||||
dictd for details.
|
dictd for details.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup -q
|
||||||
%autopatch -p1
|
%autopatch -p1
|
||||||
|
|
||||||
|
autoreconf -fv
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for dictd
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains two programs. dict gives access to
|
||||||
|
electronic dictionaries on the Internet. With dictd, one can
|
||||||
|
set up a custom dictionary. To look up, for example, the word "grunt",
|
||||||
|
execute `dict grunt` at a command line. See the man pages of dict and
|
||||||
|
dictd for details.
|
||||||
|
|
||||||
|
This package contains development files for the dictd package.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="$RPM_OPT_FLAGS -fPIC"
|
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
|
||||||
%configure --enable-dictorg --disable-plugin
|
%configure --enable-dictorg --with-plugin-dbi
|
||||||
|
# --disable-plugin
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/colorit.conf
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/colorit.conf
|
||||||
cat <<EOF > $RPM_BUILD_ROOT/%{_sysconfdir}/dictd.conf
|
cat <<EOF >%{buildroot}/%{_sysconfdir}/dictd.conf
|
||||||
global {
|
global {
|
||||||
#syslog
|
#syslog
|
||||||
#syslog_facility daemon
|
#syslog_facility daemon
|
||||||
@ -82,7 +96,14 @@ EOF
|
|||||||
|
|
||||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
||||||
|
|
||||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcdictd
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdictd
|
||||||
|
|
||||||
|
# Makefile doesn't work correctly with libdir
|
||||||
|
if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then
|
||||||
|
mkdir -p %{buildroot}%{_libdir}/
|
||||||
|
mv -v %{buildroot}%{_libexecdir}/dictdplugin* %{buildroot}%{_libdir}/
|
||||||
|
fi
|
||||||
|
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre dictd.service
|
%service_add_pre dictd.service
|
||||||
@ -100,14 +121,22 @@ chmod 644 %{_localstatedir}/log/dictd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc ANNOUNCE ChangeLog NEWS README TODO example*
|
%doc ANNOUNCE NEWS README example*
|
||||||
%doc doc/dicf.ms doc/rfc.ms doc/rfc2229.txt doc/security.doc
|
%doc doc/dicf.ms doc/rfc.ms doc/rfc2229.txt doc/security.doc
|
||||||
%{_bindir}/*
|
%{_bindir}/dict*
|
||||||
%{_sbindir}/*
|
%{_bindir}/colorit
|
||||||
%{_mandir}/man1/*
|
%{_sbindir}/*dictd
|
||||||
%{_mandir}/man8/*
|
%{_libdir}/dictdplugin_dbi.so*
|
||||||
|
%{_mandir}/man1/colorit*
|
||||||
|
%{_mandir}/man1/dict*
|
||||||
|
%{_mandir}/man8/dict*
|
||||||
%attr(0644,root,root) %{_unitdir}/dictd.service
|
%attr(0644,root,root) %{_unitdir}/dictd.service
|
||||||
%config(noreplace) %{_sysconfdir}/colorit.conf
|
%config(noreplace) %{_sysconfdir}/colorit.conf
|
||||||
%config(noreplace) %{_sysconfdir}/dictd.conf
|
%config(noreplace) %{_sysconfdir}/dictd.conf
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license COPYING
|
||||||
|
%doc ANNOUNCE README TODO
|
||||||
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user