]>
Commit | Line | Data |
---|---|---|
9b7c0f64 JR |
1 | Summary: Xfce4 Dictionary |
2 | Summary(pl.UTF-8): Słownik dla Xfce4 | |
3 | Name: xfce4-dict | |
a75373fe | 4 | Version: 0.8.6 |
3fe4ac6a | 5 | Release: 1 |
9b7c0f64 JR |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
fe7704eb | 8 | Source0: https://archive.xfce.org/src/apps/xfce4-dict/0.8/%{name}-%{version}.tar.bz2 |
a75373fe | 9 | # Source0-md5: 3bc3637180ff07b2bc4b43cba1d0d7d4 |
fe7704eb | 10 | URL: https://goodies.xfce.org/projects/applications/xfce4-dict |
7aad2ba9 JR |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
073b394b | 13 | BuildRequires: gettext-tools |
fe7704eb KM |
14 | BuildRequires: glib2-devel >= 1:2.24.0 |
15 | BuildRequires: gtk+3-devel >= 3.22.0 | |
f25a2151 | 16 | BuildRequires: intltool |
7aad2ba9 | 17 | BuildRequires: libtool |
3967e39d | 18 | BuildRequires: libxfce4ui-devel >= 4.14.0 |
fe7704eb | 19 | BuildRequires: libxfce4util-devel >= 4.14.0 |
f25a2151 | 20 | BuildRequires: pkgconfig |
9a63d194 | 21 | BuildRequires: rpmbuild(macros) >= 1.601 |
3967e39d JR |
22 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
23 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
fe7704eb | 24 | BuildRequires: xfce4-panel-devel >= 4.14.0 |
9a63d194 MB |
25 | Requires: gtk-update-icon-cache |
26 | Requires: hicolor-icon-theme | |
9b7c0f64 JR |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
30 | This program allows you to search different kinds of dictionary | |
f25a2151 | 31 | services for words or phrases and shows you the result. Currently you |
32 | can query a Dict server(RFC 2229), any online dictionary service by | |
33 | opening a web browser or search for words using the aspell/ispell | |
34 | program. | |
9b7c0f64 JR |
35 | |
36 | %description -l pl.UTF-8 | |
37 | Ten program pozwala przeszukiwać różne serwisy słownikowe w celu | |
38 | wyszukania słów lub fraz. Obecnie można odpytywać serwer słownika | |
39 | (zgodny z RFC 2229) przy pomocy przeglądarki albo programu | |
40 | aspell/ispell. | |
41 | ||
42 | %package plugin | |
43 | Summary: Xfce panel plugin for xfce4-dict | |
44 | Summary(pl.UTF-8): Wtyczka dla panelu Xfce dla xfce4-dict | |
45 | Group: X11/Applications | |
46 | Requires: %{name} = %{version}-%{release} | |
e7af3b4f | 47 | Requires: xfce4-panel >= 4.11.0 |
9b7c0f64 JR |
48 | |
49 | %description plugin | |
50 | Xfce panel plugin for xfce4-dict. | |
51 | ||
52 | %description plugin -l pl.UTF-8 | |
53 | Wtyczka dla panelu Xfce dla xfce4-dict. | |
54 | ||
55 | %prep | |
56 | %setup -q | |
57 | ||
58 | %build | |
7aad2ba9 JR |
59 | %{__libtoolize} |
60 | %{__aclocal} | |
61 | %{__autoconf} | |
62 | %{__autoheader} | |
63 | %{__automake} | |
9b7c0f64 | 64 | %configure |
7aad2ba9 | 65 | |
9b7c0f64 JR |
66 | %{__make} |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
fe7704eb | 74 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ur_PK} |
e7af3b4f | 75 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4dict.la |
ae051d59 JR |
76 | # unify |
77 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
9b7c0f64 JR |
78 | |
79 | %find_lang %{name} | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post | |
85 | %update_icon_cache hicolor | |
86 | ||
87 | %postun | |
88 | %update_icon_cache hicolor | |
89 | ||
90 | %files -f %{name}.lang | |
91 | %defattr(644,root,root,755) | |
92 | %doc AUTHORS ChangeLog NEWS README | |
93 | %attr(755,root,root) %{_bindir}/xfce4-dict | |
3fe4ac6a | 94 | %{_iconsdir}/hicolor/*x*/apps/org.xfce.Dictionary.png |
9b7c0f64 JR |
95 | %{_iconsdir}/hicolor/scalable/apps/*.svg |
96 | %{_desktopdir}/xfce4-dict.desktop | |
97 | %{_mandir}/man1/xfce4-dict.1* | |
98 | ||
99 | %files plugin | |
100 | %defattr(644,root,root,755) | |
e7af3b4f JR |
101 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4dict.so |
102 | %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop |