Accepting request 671205 from home:jengelh:branches:Education

- Trim filler wording from description.
- Retire old $RPM_* shell vars.

OBS-URL: https://build.opensuse.org/request/show/671205
OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=14
This commit is contained in:
Matej Cepl 2019-02-05 07:26:08 +00:00 committed by Git OBS Bridge
parent 1cfb5ead22
commit 39275d8235
2 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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 Sat Jan 26 18:09:17 UTC 2019 - opensuse-packaging@opensuse.org

View File

@ -45,10 +45,10 @@ BuildRequires: systemd-rpm-macros
%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
@ -63,17 +63,16 @@ Group: Development/Languages/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
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.
This package contains development files for the dictd package. 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 --with-plugin-dbi %configure --enable-dictorg --with-plugin-dbi
# --disable-plugin # --disable-plugin
make %{?_smp_mflags} make %{?_smp_mflags}
@ -82,7 +81,7 @@ 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