forked from pool/dictd
- 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)" OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=9
This commit is contained in:
parent
02ac569370
commit
4bd10e9b1a
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service name="obs_scm">
|
||||
<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="revision">lsp-support</param-->
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar" />
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="buildtime"/>
|
||||
</services>
|
4
_service:obs_scm:_servicedata
Normal file
4
_service:obs_scm:_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/cheusov/dictd</param>
|
||||
<param name="changesrevision">9a2f53ec26ec7eb1880437f1cafae6291634c98d</param></service></servicedata>
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f4dc2a825e2065c2f6b6ef3b1f5c960ebe75e91db11da26c484b1f77a9cad64
|
||||
size 2025484
|
5
_service:obs_scm:dictd.obsinfo
Normal file
5
_service:obs_scm:dictd.obsinfo
Normal file
@ -0,0 +1,5 @@
|
||||
name: dictd
|
||||
version: 1.12.1.git.1520674574.9a2f53e
|
||||
mtime: 1520674574
|
||||
commit: 9a2f53ec26ec7eb1880437f1cafae6291634c98d
|
||||
|
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">9a2f53ec26ec7eb1880437f1cafae6291634c98d</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a237f6ecdc854ab10de5145ed42eaa2d9b6d51ffdc495f7daee59b05cc363656
|
||||
size 423870
|
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
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
|
||||
|
45
dictd.spec
45
dictd.spec
@ -18,19 +18,17 @@
|
||||
|
||||
|
||||
Name: dictd
|
||||
Version: 1.12.1
|
||||
Version: 1.12.1.git.1520674574.9a2f53e
|
||||
Release: 0
|
||||
Summary: DICT protocol (RFC 2229) server and command-line client
|
||||
License: GPL-1.0-or-later AND Zlib AND MIT
|
||||
Group: Productivity/Office/Dictionary
|
||||
URL: https://sourceforge.net/projects/dict/
|
||||
Source0: http://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/cheusov/dictd
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: colorit.conf
|
||||
Source2: dictd.service
|
||||
Patch0: dictd-1.12.1-unused-return.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=198359
|
||||
# https://sourceforge.net/p/dict/feature-requests/4/
|
||||
# Patch1: dictd-1.9.15-ipv6.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gawk
|
||||
@ -56,12 +54,30 @@ dictd for details.
|
||||
%prep
|
||||
%setup
|
||||
%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. With dict, you have access to
|
||||
powerful electronic dictionaries on the Internet. With dictd, you can
|
||||
set up your own dictionary. To look up, for example, the word 'grunt',
|
||||
just type "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
|
||||
export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
%configure --enable-dictorg --disable-plugin
|
||||
%configure --enable-dictorg --with-plugin-dbi
|
||||
# --disable-plugin
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/colorit.conf
|
||||
@ -84,6 +100,12 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
||||
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcdictd
|
||||
|
||||
# Makefile doesn't work correctly with libdir
|
||||
mkdir -p %{buildroot}%{_libdir}/
|
||||
mv -v %{buildroot}%{_libexecdir}/dictdplugin* %{buildroot}%{_libdir}/
|
||||
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
||||
|
||||
|
||||
%pre
|
||||
%service_add_pre dictd.service
|
||||
|
||||
@ -98,16 +120,23 @@ chmod 644 %{_localstatedir}/log/dictd
|
||||
%postun
|
||||
%service_del_postun dictd.service
|
||||
|
||||
|
||||
%files
|
||||
%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
|
||||
%{_bindir}/*
|
||||
%{_sbindir}/*
|
||||
%{_libdir}/*
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man8/*
|
||||
%attr(0644,root,root) %{_unitdir}/dictd.service
|
||||
%config(noreplace) %{_sysconfdir}/colorit.conf
|
||||
%config(noreplace) %{_sysconfdir}/dictd.conf
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%doc ANNOUNCE README TODO
|
||||
%{_includedir}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user