source: projects/specs/trunk/g/gnome-dictionary/gnome-dictionary-vl.spec @ 7938

Revision 7938, 2.7 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.10.1

Line 
1Summary:        GNOME Dictionary
2Summary(ja):    GNOME 辞書
3Name:           gnome-dictionary
4Version:        3.10.0
5Release:        1%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Desktops
8URL:            http://www.gnome.org
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  itstool
16
17Requires(postun,posttrans):     glib2
18Requires(postun,posttrans):     desktop-file-utils
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       Takemikaduchi
23
24
25%description
26gnome-dictionary provides dictionary definitions of words, using a dictionary source.
27
28%description -l ja
29gnome-dictionary は辞書ソースを使用し、単語の辞書上の定義を提供します。
30
31
32%package        devel
33Summary:        Development files for %{name}
34Summary(ja):    %{name} の開発ファイル
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38Requires:       gobject-introspection-devel
39
40%description    devel
41The %{name}-devel package contains libraries and header files for
42developing applications that use %{name}.
43
44
45%package        docs
46Summary:        Documentation for %{name}
47Summary(ja):    %{name} 用のドキュメント
48Group:          Documentation
49Requires:       %{name} = %{version}-%{release}
50BuildArch:      noarch
51Provides:       %{name}-doc = %{version}-%{release}
52
53%description    docs
54This package contains documentation for %{name}.
55
56
57%prep
58%setup -q
59
60%build
61%configure
62make %{?_smp_mflags}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67make install DESTDIR=$RPM_BUILD_ROOT
68
69find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
70
71%find_lang %{name} --all-name --with-gnome
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post
77/sbin/ldconfig
78
79%postun
80/sbin/ldconfig
81glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
82update-desktop-database -q &> /dev/null ||:
83
84%posttrans
85glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
86update-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
105%files docs
106%defattr(-,root,root,-)
107%{_datadir}/gtk-doc/html/gdict
108
109%changelog
110* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
111- new upstream release
112
113* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
114- new upstream release
115
116* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
117- initial build
Note: See TracBrowser for help on using the repository browser.