1 | Summary: GNOME Dictionary |
---|
2 | Summary(ja): GNOME 辞書 |
---|
3 | Name: gnome-dictionary |
---|
4 | Version: 3.10.0 |
---|
5 | Release: 3%{?_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.10/%{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 | Requires: %{name} = %{version}-%{release} |
---|
51 | BuildArch: noarch |
---|
52 | Provides: %{name}-doc = %{version}-%{release} |
---|
53 | |
---|
54 | %description docs |
---|
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 | |
---|
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 | |
---|
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 | |
---|
111 | %files docs |
---|
112 | %defattr(-,root,root,-) |
---|
113 | %{_datadir}/gtk-doc/html/gdict |
---|
114 | |
---|
115 | %changelog |
---|
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 | |
---|
119 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2 |
---|
120 | - rebuild with VineSeed environment |
---|
121 | |
---|
122 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
129 | - initial build |
---|