]> git.pld-linux.org Git - packages/xfce4-dict.git/blob - xfce4-dict.spec
- up to 0.8.6
[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.8.6
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        https://archive.xfce.org/src/apps/xfce4-dict/0.8/%{name}-%{version}.tar.bz2
9 # Source0-md5:  3bc3637180ff07b2bc4b43cba1d0d7d4
10 URL:            https://goodies.xfce.org/projects/applications/xfce4-dict
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-tools
14 BuildRequires:  glib2-devel >= 1:2.24.0
15 BuildRequires:  gtk+3-devel >= 3.22.0
16 BuildRequires:  intltool
17 BuildRequires:  libtool
18 BuildRequires:  libxfce4ui-devel >= 4.14.0
19 BuildRequires:  libxfce4util-devel >= 4.14.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  rpmbuild(macros) >= 1.601
22 BuildRequires:  xfce4-dev-tools >= 4.14.0
23 BuildRequires:  xfce4-panel-devel >= 4.14.0
24 BuildRequires:  xfce4-panel-devel >= 4.14.0
25 Requires:       gtk-update-icon-cache
26 Requires:       hicolor-icon-theme
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This program allows you to search different kinds of dictionary
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.
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}
47 Requires:       xfce4-panel >= 4.11.0
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
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ur_PK}
75 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4dict.la
76 # unify
77 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
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
94 %{_iconsdir}/hicolor/*x*/apps/org.xfce.Dictionary.png
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)
101 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4dict.so
102 %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
This page took 0.125305 seconds and 4 git commands to generate.