[6890] | 1 | Summary: GNOME Dictionary |
---|
| 2 | Summary(ja): GNOME 辞書 |
---|
| 3 | Name: gnome-dictionary |
---|
[7938] | 4 | Version: 3.10.0 |
---|
[8538] | 5 | Release: 3%{?_dist_release} |
---|
[6890] | 6 | License: GPLv2+ |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: http://www.gnome.org |
---|
| 9 | |
---|
[7938] | 10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{name}-%{version}.tar.xz |
---|
[6890] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: gtk3-devel |
---|
| 15 | BuildRequires: itstool |
---|
[8538] | 16 | BuildRequires: desktop-file-utils |
---|
[6890] | 17 | |
---|
| 18 | Requires(postun,posttrans): glib2 |
---|
| 19 | Requires(postun,posttrans): desktop-file-utils |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | gnome-dictionary provides dictionary definitions of words, using a dictionary source. |
---|
| 28 | |
---|
| 29 | %description -l ja |
---|
| 30 | gnome-dictionary は辞書ソースを使用し、単語の辞書上の定義を提供します。 |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: Development files for %{name} |
---|
| 35 | Summary(ja): %{name} の開発ファイル |
---|
| 36 | Group: Development/Libraries |
---|
| 37 | Requires: %{name} = %{version}-%{release} |
---|
| 38 | Requires: pkgconfig |
---|
| 39 | Requires: gobject-introspection-devel |
---|
| 40 | |
---|
| 41 | %description devel |
---|
| 42 | The %{name}-devel package contains libraries and header files for |
---|
| 43 | developing applications that use %{name}. |
---|
| 44 | |
---|
| 45 | |
---|
[7938] | 46 | %package docs |
---|
[6890] | 47 | Summary: Documentation for %{name} |
---|
| 48 | Summary(ja): %{name} 用のドキュメント |
---|
| 49 | Group: Documentation |
---|
| 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | BuildArch: noarch |
---|
[7938] | 52 | Provides: %{name}-doc = %{version}-%{release} |
---|
[6890] | 53 | |
---|
[7938] | 54 | %description docs |
---|
[6890] | 55 | This package contains documentation for %{name}. |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | |
---|
| 61 | %build |
---|
| 62 | %configure |
---|
| 63 | make %{?_smp_mflags} |
---|
| 64 | |
---|
| 65 | %install |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 70 | |
---|
[8538] | 71 | desktop-file-install --vendor gnome --delete-original \ |
---|
| 72 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 73 | --add-only-show-in GNOME \ |
---|
| 74 | --remove-not-show-in KDE \ |
---|
| 75 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
| 76 | |
---|
[6890] | 77 | %find_lang %{name} --all-name --with-gnome |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | %post |
---|
| 83 | /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | %postun |
---|
| 86 | /sbin/ldconfig |
---|
| 87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 88 | update-desktop-database -q &> /dev/null ||: |
---|
| 89 | |
---|
| 90 | %posttrans |
---|
| 91 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 92 | update-desktop-database -q &> /dev/null ||: |
---|
| 93 | |
---|
| 94 | |
---|
| 95 | %files -f %{name}.lang |
---|
| 96 | %defattr(-,root,root,-) |
---|
| 97 | %{_bindir}/%{name} |
---|
| 98 | %{_libdir}/libgdict-1.0.so.* |
---|
| 99 | %{_datadir}/applications/%{name}.desktop |
---|
| 100 | %{_datadir}/gdict-1.0/sources/*.desktop |
---|
| 101 | %{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml |
---|
| 102 | %{_datadir}/%{name}/*.ui |
---|
| 103 | %{_mandir}/man1/%{name}.1.gz |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_includedir}/gdict-1.0 |
---|
| 108 | %{_libdir}/libgdict-1.0.so |
---|
| 109 | %{_libdir}/pkgconfig/gdict-1.0.pc |
---|
| 110 | |
---|
[7938] | 111 | %files docs |
---|
[6890] | 112 | %defattr(-,root,root,-) |
---|
| 113 | %{_datadir}/gtk-doc/html/gdict |
---|
| 114 | |
---|
| 115 | %changelog |
---|
[8538] | 116 | * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-3 |
---|
| 117 | - add OnlyShowIn=GNOME; to gnome-dictionary.desktop |
---|
| 118 | |
---|
[8119] | 119 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2 |
---|
| 120 | - rebuild with VineSeed environment |
---|
| 121 | |
---|
[7938] | 122 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[7756] | 125 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[6890] | 128 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 129 | - initial build |
---|