]> git.pld-linux.org Git - packages/xfce4-dict.git/blob - xfce4-dict.spec
- up to 0.7.0
[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.7.0
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/apps/xfce4-dict/0.7/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ceec37fe56a18c14ecad617e21acce69
10 URL:            http://goodies.xfce.org/projects/applications/xfce4-dict
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  intltool
15 BuildRequires:  libtool
16 BuildRequires:  libxfce4ui-devel >= 4.11.0
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.601
19 BuildRequires:  xfce4-dev-tools >= 4.11.0
20 BuildRequires:  xfce4-panel-devel >= 4.11.0
21 Requires:       gtk-update-icon-cache
22 Requires:       hicolor-icon-theme
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 This program allows you to search different kinds of dictionary
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.
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}
43 Requires:       xfce4-panel >= 4.11.0
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
55 %{__libtoolize}
56 %{__aclocal}
57 %{__autoconf}
58 %{__autoheader}
59 %{__automake}
60 %configure
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
71 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4dict.la
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)
94 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4dict.so
95 %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
This page took 0.097081 seconds and 3 git commands to generate.