]> git.pld-linux.org Git - packages/xfce4-dict.git/blame - xfce4-dict.spec
- up to 0.8.6
[packages/xfce4-dict.git] / xfce4-dict.spec
CommitLineData
9b7c0f64
JR
1Summary: Xfce4 Dictionary
2Summary(pl.UTF-8): Słownik dla Xfce4
3Name: xfce4-dict
a75373fe 4Version: 0.8.6
3fe4ac6a 5Release: 1
9b7c0f64
JR
6License: GPL v2
7Group: X11/Applications
fe7704eb 8Source0: https://archive.xfce.org/src/apps/xfce4-dict/0.8/%{name}-%{version}.tar.bz2
a75373fe 9# Source0-md5: 3bc3637180ff07b2bc4b43cba1d0d7d4
fe7704eb 10URL: https://goodies.xfce.org/projects/applications/xfce4-dict
7aad2ba9
JR
11BuildRequires: autoconf
12BuildRequires: automake
073b394b 13BuildRequires: gettext-tools
fe7704eb
KM
14BuildRequires: glib2-devel >= 1:2.24.0
15BuildRequires: gtk+3-devel >= 3.22.0
f25a2151 16BuildRequires: intltool
7aad2ba9 17BuildRequires: libtool
3967e39d 18BuildRequires: libxfce4ui-devel >= 4.14.0
fe7704eb 19BuildRequires: libxfce4util-devel >= 4.14.0
f25a2151 20BuildRequires: pkgconfig
9a63d194 21BuildRequires: rpmbuild(macros) >= 1.601
3967e39d
JR
22BuildRequires: xfce4-dev-tools >= 4.14.0
23BuildRequires: xfce4-panel-devel >= 4.14.0
fe7704eb 24BuildRequires: xfce4-panel-devel >= 4.14.0
9a63d194
MB
25Requires: gtk-update-icon-cache
26Requires: hicolor-icon-theme
9b7c0f64
JR
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This program allows you to search different kinds of dictionary
f25a2151 31services for words or phrases and shows you the result. Currently you
32can query a Dict server(RFC 2229), any online dictionary service by
33opening a web browser or search for words using the aspell/ispell
34program.
9b7c0f64
JR
35
36%description -l pl.UTF-8
37Ten program pozwala przeszukiwać różne serwisy słownikowe w celu
38wyszukania słów lub fraz. Obecnie można odpytywać serwer słownika
39(zgodny z RFC 2229) przy pomocy przeglądarki albo programu
40aspell/ispell.
41
42%package plugin
43Summary: Xfce panel plugin for xfce4-dict
44Summary(pl.UTF-8): Wtyczka dla panelu Xfce dla xfce4-dict
45Group: X11/Applications
46Requires: %{name} = %{version}-%{release}
e7af3b4f 47Requires: xfce4-panel >= 4.11.0
9b7c0f64
JR
48
49%description plugin
50Xfce panel plugin for xfce4-dict.
51
52%description plugin -l pl.UTF-8
53Wtyczka dla panelu Xfce dla xfce4-dict.
54
55%prep
56%setup -q
57
58%build
7aad2ba9
JR
59%{__libtoolize}
60%{__aclocal}
61%{__autoconf}
62%{__autoheader}
63%{__automake}
9b7c0f64 64%configure
7aad2ba9 65
9b7c0f64
JR
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73
fe7704eb 74%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ur_PK}
e7af3b4f 75%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4dict.la
ae051d59
JR
76# unify
77%{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
9b7c0f64
JR
78
79%find_lang %{name}
80
81%clean
82rm -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
3fe4ac6a 94%{_iconsdir}/hicolor/*x*/apps/org.xfce.Dictionary.png
9b7c0f64
JR
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)
e7af3b4f
JR
101%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4dict.so
102%{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
This page took 0.081033 seconds and 5 git commands to generate.