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