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