[6890] | 1 | Summary: GNOME Dictionary |
---|
| 2 | Summary(ja): GNOME 辞書 |
---|
| 3 | Name: gnome-dictionary |
---|
[7938] | 4 | Version: 3.10.0 |
---|
[6890] | 5 | Release: 1%{?_dist_release} |
---|
| 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 |
---|
| 16 | |
---|
| 17 | Requires(postun,posttrans): glib2 |
---|
| 18 | Requires(postun,posttrans): desktop-file-utils |
---|
| 19 | |
---|
| 20 | Vendor: Project Vine |
---|
| 21 | Distribution: Vine Linux |
---|
| 22 | Packager: Takemikaduchi |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | gnome-dictionary provides dictionary definitions of words, using a dictionary source. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | gnome-dictionary は辞書ソースを使用し、単語の辞書上の定義を提供します。 |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development files for %{name} |
---|
| 34 | Summary(ja): %{name} の開発ファイル |
---|
| 35 | Group: Development/Libraries |
---|
| 36 | Requires: %{name} = %{version}-%{release} |
---|
| 37 | Requires: pkgconfig |
---|
| 38 | Requires: gobject-introspection-devel |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | The %{name}-devel package contains libraries and header files for |
---|
| 42 | developing applications that use %{name}. |
---|
| 43 | |
---|
| 44 | |
---|
[7938] | 45 | %package docs |
---|
[6890] | 46 | Summary: Documentation for %{name} |
---|
| 47 | Summary(ja): %{name} 用のドキュメント |
---|
| 48 | Group: Documentation |
---|
| 49 | Requires: %{name} = %{version}-%{release} |
---|
| 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 | |
---|
| 67 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 70 | |
---|
| 71 | %find_lang %{name} --all-name --with-gnome |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | %post |
---|
| 77 | /sbin/ldconfig |
---|
| 78 | |
---|
| 79 | %postun |
---|
| 80 | /sbin/ldconfig |
---|
| 81 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 82 | update-desktop-database -q &> /dev/null ||: |
---|
| 83 | |
---|
| 84 | %posttrans |
---|
| 85 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 86 | update-desktop-database -q &> /dev/null ||: |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %files -f %{name}.lang |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | %{_bindir}/%{name} |
---|
| 92 | %{_libdir}/libgdict-1.0.so.* |
---|
| 93 | %{_datadir}/applications/%{name}.desktop |
---|
| 94 | %{_datadir}/gdict-1.0/sources/*.desktop |
---|
| 95 | %{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml |
---|
| 96 | %{_datadir}/%{name}/*.ui |
---|
| 97 | %{_mandir}/man1/%{name}.1.gz |
---|
| 98 | |
---|
| 99 | %files devel |
---|
| 100 | %defattr(-,root,root,-) |
---|
| 101 | %{_includedir}/gdict-1.0 |
---|
| 102 | %{_libdir}/libgdict-1.0.so |
---|
| 103 | %{_libdir}/pkgconfig/gdict-1.0.pc |
---|
| 104 | |
---|
[7938] | 105 | %files docs |
---|
[6890] | 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_datadir}/gtk-doc/html/gdict |
---|
| 108 | |
---|
| 109 | %changelog |
---|
[7938] | 110 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[7756] | 113 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[6890] | 116 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 117 | - initial build |
---|