123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- Name: xfce4-dict
- Summary: Dictionary services for Xfce
- Summary(ja): Xfce の辞書サービス
- Version: 0.7.0
- Release: 3%{?_dist_release}
- License: GPLv2+
- Group: Applications/Accessories
- URL: http://goodies.xfce.org/projects/applications/%{name}
- Source0: http://archive.xfce.org/src/apps/%{name}/0.7/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: desktop-file-utils
- BuildRequires: gtk2-devel >= 2.20.0
- BuildRequires: libxfce4ui-devel >= 4.10.0
- BuildRequires: libxfce4util-devel >= 4.10.0
- BuildRequires: xfce4-panel-devel >= 4.10.0
- BuildRequires: libX11-devel
- BuildRequires: xfce4-dev-tools
- Requires(post,postun): desktop-file-utils
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi, inagaki
- %description
- This program allows you to search different kinds of dictionary services
- for words or phrases and shows you the result.
- Currently you can query a "Dict" server(RFC 2229), any online dictionary
- service by opening a web browser or search for words using a spell check
- program like aspell, ispell or enchant.
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- desktop-file-install \
- --add-category="X-XFCE" \
- --delete-original \
- --dir=%{buildroot}%{_datadir}/applications \
- ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-dict.desktop
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- update-desktop-database %{_datadir}/applications &> /dev/null || :
- %postun
- if [ $1 -eq 0 ]; then
- touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
- gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
- fi
- update-desktop-database %{_datadir}/applications &> /dev/null || :
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog NEWS COPYING
- %{_bindir}/xfce4-dict
- %{_libdir}/xfce4/panel/plugins/libxfce4dict.so
- %{_datadir}/applications/xfce4-dict.desktop
- %{_datadir}/icons/hicolor/*/*/*
- %{_datadir}/xfce4/panel/plugins/xfce4-dict-plugin.desktop
- %{_mandir}/man1/xfce4-dict.1.gz
- %changelog
- * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-3
- - rebuilt with libxfce4util 4.12.1
- * Thu Feb 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-2
- - fixed %%post script
- - moved to Applications/Accessories Group
- * Sun Sep 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.7.0-1
- - updated to 0.7.0
- * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-2
- - rebuild with VineSeed environment
- * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.6.0-1
- - initial build for Vine Linux
|