]>
Commit | Line | Data |
---|---|---|
9b7c0f64 JR |
1 | Summary: Xfce4 Dictionary |
2 | Summary(pl.UTF-8): Słownik dla Xfce4 | |
3 | Name: xfce4-dict | |
4 | Version: 0.6.0 | |
a73d5a1d | 5 | Release: 2 |
9b7c0f64 JR |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
8 | Source0: http://archive.xfce.org/src/apps/xfce4-dict/0.6/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: c371c5c0bbe45a2bfac336cfe01dfe01 | |
10 | URL: http://goodies.xfce.org/projects/applications/xfce4-dict | |
f25a2151 | 11 | BuildRequires: gettext-devel |
12 | BuildRequires: intltool | |
9b7c0f64 | 13 | BuildRequires: libxfcegui4-devel >= 4.6.0 |
f25a2151 | 14 | BuildRequires: pkgconfig |
9b7c0f64 JR |
15 | BuildRequires: rpmbuild(macros) >= 1.311 |
16 | BuildRequires: xfce4-dev-tools >= 4.6.0 | |
17 | BuildRequires: xfce4-panel-devel >= 4.6.0 | |
a73d5a1d | 18 | Requires(post,postun): gtk-update-icon-cache |
9b7c0f64 JR |
19 | Requires(post,postun): hicolor-icon-theme |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | This program allows you to search different kinds of dictionary | |
f25a2151 | 24 | services for words or phrases and shows you the result. Currently you |
25 | can query a Dict server(RFC 2229), any online dictionary service by | |
26 | opening a web browser or search for words using the aspell/ispell | |
27 | program. | |
9b7c0f64 JR |
28 | |
29 | %description -l pl.UTF-8 | |
30 | Ten program pozwala przeszukiwać różne serwisy słownikowe w celu | |
31 | wyszukania słów lub fraz. Obecnie można odpytywać serwer słownika | |
32 | (zgodny z RFC 2229) przy pomocy przeglądarki albo programu | |
33 | aspell/ispell. | |
34 | ||
35 | %package plugin | |
36 | Summary: Xfce panel plugin for xfce4-dict | |
37 | Summary(pl.UTF-8): Wtyczka dla panelu Xfce dla xfce4-dict | |
38 | Group: X11/Applications | |
39 | Requires: %{name} = %{version}-%{release} | |
40 | Requires: xfce4-panel >= 4.6.0 | |
41 | ||
42 | %description plugin | |
43 | Xfce panel plugin for xfce4-dict. | |
44 | ||
45 | %description plugin -l pl.UTF-8 | |
46 | Wtyczka dla panelu Xfce dla xfce4-dict. | |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
52 | %configure | |
53 | ||
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
62 | rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK | |
63 | ||
64 | %find_lang %{name} | |
65 | ||
66 | %clean | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %postun | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %files -f %{name}.lang | |
76 | %defattr(644,root,root,755) | |
77 | %doc AUTHORS ChangeLog NEWS README | |
78 | %attr(755,root,root) %{_bindir}/xfce4-dict | |
79 | %{_iconsdir}/hicolor/scalable/apps/*.svg | |
80 | %{_desktopdir}/xfce4-dict.desktop | |
81 | %{_mandir}/man1/xfce4-dict.1* | |
82 | ||
83 | %files plugin | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-dict-plugin | |
86 | %{_datadir}/xfce4/panel-plugins/xfce4-dict-plugin.desktop |