[6890] | 1 | Summary: GNOME Dictionary |
---|
| 2 | Summary(ja): GNOME 辞書 |
---|
| 3 | Name: gnome-dictionary |
---|
[10716] | 4 | Version: 3.20.0 |
---|
[9073] | 5 | Release: 1%{?_dist_release} |
---|
[6890] | 6 | License: GPLv2+ |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: http://www.gnome.org |
---|
| 9 | |
---|
[10716] | 10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{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 | BuildArch: noarch |
---|
[7938] | 51 | Provides: %{name}-doc = %{version}-%{release} |
---|
[6890] | 52 | |
---|
[7938] | 53 | %description docs |
---|
[6890] | 54 | This package contains documentation for %{name}. |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %prep |
---|
| 58 | %setup -q |
---|
| 59 | |
---|
| 60 | %build |
---|
| 61 | %configure |
---|
| 62 | make %{?_smp_mflags} |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 69 | |
---|
[9475] | 70 | desktop-file-install --delete-original \ |
---|
[8538] | 71 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 72 | --add-only-show-in GNOME \ |
---|
| 73 | --remove-not-show-in KDE \ |
---|
[9475] | 74 | $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Dictionary.desktop |
---|
[8538] | 75 | |
---|
[6890] | 76 | %find_lang %{name} --all-name --with-gnome |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | rm -rf $RPM_BUILD_ROOT |
---|
| 80 | |
---|
| 81 | %post |
---|
| 82 | /sbin/ldconfig |
---|
| 83 | |
---|
| 84 | %postun |
---|
| 85 | /sbin/ldconfig |
---|
| 86 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 87 | update-desktop-database -q &> /dev/null ||: |
---|
| 88 | |
---|
| 89 | %posttrans |
---|
| 90 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 91 | update-desktop-database -q &> /dev/null ||: |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | %files -f %{name}.lang |
---|
| 95 | %defattr(-,root,root,-) |
---|
| 96 | %{_bindir}/%{name} |
---|
| 97 | %{_libdir}/libgdict-1.0.so.* |
---|
[9475] | 98 | %{_libdir}/girepository-1.0/Gdict-1.0.typelib |
---|
| 99 | %{_datadir}/appdata/org.gnome.Dictionary.appdata.xml |
---|
| 100 | %{_datadir}/applications/org.gnome.Dictionary.desktop |
---|
| 101 | %{_datadir}/dbus-1/services/org.gnome.Dictionary.service |
---|
[6890] | 102 | %{_datadir}/gdict-1.0/sources/*.desktop |
---|
| 103 | %{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml |
---|
| 104 | %{_mandir}/man1/%{name}.1.gz |
---|
| 105 | |
---|
| 106 | %files devel |
---|
| 107 | %defattr(-,root,root,-) |
---|
| 108 | %{_includedir}/gdict-1.0 |
---|
| 109 | %{_libdir}/libgdict-1.0.so |
---|
| 110 | %{_libdir}/pkgconfig/gdict-1.0.pc |
---|
[9475] | 111 | %{_datadir}/gir-1.0/Gdict-1.0.gir |
---|
[6890] | 112 | |
---|
[7938] | 113 | %files docs |
---|
[6890] | 114 | %defattr(-,root,root,-) |
---|
| 115 | %{_datadir}/gtk-doc/html/gdict |
---|
| 116 | |
---|
| 117 | %changelog |
---|
[10716] | 118 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[9988] | 121 | * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[9791] | 124 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[9569] | 127 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[9520] | 130 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
[9475] | 133 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[9102] | 136 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[9073] | 139 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[8538] | 142 | * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-3 |
---|
| 143 | - add OnlyShowIn=GNOME; to gnome-dictionary.desktop |
---|
| 144 | |
---|
[8119] | 145 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2 |
---|
| 146 | - rebuild with VineSeed environment |
---|
| 147 | |
---|
[7938] | 148 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[7756] | 151 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[6890] | 154 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 155 | - initial build |
---|