1 | Name: xfce4-dict |
---|
2 | Summary: Dictionary services for Xfce |
---|
3 | Summary(ja): Xfce の辞書サービス |
---|
4 | Version: 0.7.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: Applications/Accessories |
---|
9 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
10 | |
---|
11 | Source0: http://archive.xfce.org/src/apps/%{name}/0.7/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: desktop-file-utils |
---|
15 | BuildRequires: gtk2-devel >= 2.20.0 |
---|
16 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
---|
17 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
18 | BuildRequires: xfce4-panel-devel >= 4.10.0 |
---|
19 | BuildRequires: libX11-devel |
---|
20 | BuildRequires: xfce4-dev-tools |
---|
21 | |
---|
22 | Requires(post,postun): desktop-file-utils |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi, inagaki |
---|
27 | |
---|
28 | |
---|
29 | %description |
---|
30 | This program allows you to search different kinds of dictionary services |
---|
31 | for words or phrases and shows you the result. |
---|
32 | Currently you can query a "Dict" server(RFC 2229), any online dictionary |
---|
33 | service by opening a web browser or search for words using a spell check |
---|
34 | program like aspell, ispell or enchant. |
---|
35 | |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | |
---|
40 | %build |
---|
41 | %configure --disable-static |
---|
42 | make %{?_smp_mflags} |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
47 | |
---|
48 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
49 | |
---|
50 | desktop-file-install \ |
---|
51 | --add-category="X-XFCE" \ |
---|
52 | --delete-original \ |
---|
53 | --dir=%{buildroot}%{_datadir}/applications \ |
---|
54 | ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-dict.desktop |
---|
55 | |
---|
56 | %find_lang %{name} |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | |
---|
62 | %post |
---|
63 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
64 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
65 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
66 | |
---|
67 | %postun |
---|
68 | if [ $1 -eq 0 ]; then |
---|
69 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
71 | fi |
---|
72 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
73 | |
---|
74 | |
---|
75 | %files -f %{name}.lang |
---|
76 | %defattr(-,root,root,-) |
---|
77 | %doc AUTHORS ChangeLog NEWS COPYING |
---|
78 | %{_bindir}/xfce4-dict |
---|
79 | %{_libdir}/xfce4/panel/plugins/libxfce4dict.so |
---|
80 | %{_datadir}/applications/xfce4-dict.desktop |
---|
81 | %{_datadir}/icons/hicolor/*/*/* |
---|
82 | %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop |
---|
83 | %{_mandir}/man1/xfce4-dict.1.gz |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Thu Feb 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-2 |
---|
87 | - fixed %%post script |
---|
88 | - moved to Applications/Accessories Group |
---|
89 | |
---|
90 | * Sun Sep 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-1 |
---|
91 | - updated to 0.7.0 |
---|
92 | |
---|
93 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-2 |
---|
94 | - rebuild with VineSeed environment |
---|
95 | |
---|
96 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-1 |
---|
97 | - initial build for Vine Linux |
---|
98 | |
---|