1 | Summary: GNOME Dictionary |
---|
2 | Summary(ja): GNOME 辞書 |
---|
3 | Name: gnome-dictionary |
---|
4 | Version: 3.16.2 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: http://www.gnome.org |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: gtk3-devel |
---|
15 | BuildRequires: itstool |
---|
16 | BuildRequires: desktop-file-utils |
---|
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 | |
---|
46 | %package docs |
---|
47 | Summary: Documentation for %{name} |
---|
48 | Summary(ja): %{name} 用のドキュメント |
---|
49 | Group: Documentation |
---|
50 | BuildArch: noarch |
---|
51 | Provides: %{name}-doc = %{version}-%{release} |
---|
52 | |
---|
53 | %description docs |
---|
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 | |
---|
70 | desktop-file-install --delete-original \ |
---|
71 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
72 | --add-only-show-in GNOME \ |
---|
73 | --remove-not-show-in KDE \ |
---|
74 | $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Dictionary.desktop |
---|
75 | |
---|
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.* |
---|
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 |
---|
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 |
---|
111 | %{_datadir}/gir-1.0/Gdict-1.0.gir |
---|
112 | |
---|
113 | %files docs |
---|
114 | %defattr(-,root,root,-) |
---|
115 | %{_datadir}/gtk-doc/html/gdict |
---|
116 | |
---|
117 | %changelog |
---|
118 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
122 | - new upstream release |
---|
123 | |
---|
124 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
128 | - new upstream release |
---|
129 | |
---|
130 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-3 |
---|
134 | - add OnlyShowIn=GNOME; to gnome-dictionary.desktop |
---|
135 | |
---|
136 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2 |
---|
137 | - rebuild with VineSeed environment |
---|
138 | |
---|
139 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
140 | - new upstream release |
---|
141 | |
---|
142 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
143 | - new upstream release |
---|
144 | |
---|
145 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
146 | - initial build |
---|