SHA256
1
0
forked from pool/stardict

Accepting request 590897 from home:jengelh:branches:Education

OBS-URL: https://build.opensuse.org/request/show/590897
OBS-URL: https://build.opensuse.org/package/show/Education/stardict?expand=0&rev=46
This commit is contained in:
Kirill Kirillov
2018-04-08 21:29:28 +00:00
committed by Git OBS Bridge
parent 9e77504452
commit 4833f45807
2 changed files with 11 additions and 10 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 22 18:44:53 UTC 2018 - jengelh@inai.de
- Remove filler wording from description.
- Don't bother with xargs, use find delete directly.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 21 08:29:03 UTC 2018 - aloisio@gmx.com Wed Mar 21 08:29:03 UTC 2018 - aloisio@gmx.com

View File

@@ -25,7 +25,7 @@
Name: stardict Name: stardict
Version: 3.0.5 Version: 3.0.5
Release: 0 Release: 0
Summary: A cross-platform and internationalized dictionary Summary: A internationalized dictionary
License: GPL-3.0-only License: GPL-3.0-only
Group: Productivity/Office/Dictionary Group: Productivity/Office/Dictionary
Url: http://stardict-4.sourceforge.net/ Url: http://stardict-4.sourceforge.net/
@@ -57,12 +57,10 @@ BuildRequires: pkgconfig(libxml-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
StarDict is a Cross-Platform and international dictionary written in StarDict is an international dictionary written with Gtk3.
Gtk3.
It has powerful features such as "Glob-style pattern matching", "Scan
selection word","Fuzzy query" etc.
It has features such as "Glob-style pattern matching", "Scan
selection word" and "Fuzzy query".
%lang_package %lang_package
%prep %prep
@@ -73,7 +71,7 @@ selection word","Fuzzy query" etc.
# Remove unneeded sigc++ header files to make it sure # Remove unneeded sigc++ header files to make it sure
# that we are using system-wide libsigc++ # that we are using system-wide libsigc++
find src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f find dict/src/sigc++* -name "*.h" -or -name "*.cc" -delete
%build %build
%configure \ %configure \
@@ -100,9 +98,6 @@ find %{buildroot}%{_libdir}/stardict/plugins -name "*.la" -print0 | xargs -0 rm
# save space, create symlinks for identical files # save space, create symlinks for identical files
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%clean
rm -rf %{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc dict/doc/FAQ dict/doc/HACKING dict/doc/HowToCreateDictionary dict/doc/StarDictFileFormat dict/doc/Translation dict/AUTHORS COPYING dict/ChangeLog dict/README %doc dict/doc/FAQ dict/doc/HACKING dict/doc/HowToCreateDictionary dict/doc/StarDictFileFormat dict/doc/Translation dict/AUTHORS COPYING dict/ChangeLog dict/README