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

Revision 6890, 2.5 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.0 & Cinnamon-1.6.1

Line 
1Summary:        GNOME Dictionary
2Summary(ja):    GNOME 辞書
3Name:           gnome-dictionary
4Version:        3.6.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.6/%{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        doc
46Summary:        Documentation for %{name}
47Summary(ja):    %{name} 用のドキュメント
48Group:          Documentation
49Requires:       %{name} = %{version}-%{release}
50BuildArch:      noarch
51
52%description    doc
53This package contains documentation for %{name}.
54
55
56%prep
57%setup -q
58
59%build
60%configure
61make %{?_smp_mflags}
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66make install DESTDIR=$RPM_BUILD_ROOT
67
68find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
69
70%find_lang %{name} --all-name --with-gnome
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post
76/sbin/ldconfig
77
78%postun
79/sbin/ldconfig
80glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
81update-desktop-database -q &> /dev/null ||:
82
83%posttrans
84glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
85update-desktop-database -q &> /dev/null ||:
86
87
88%files -f %{name}.lang
89%defattr(-,root,root,-)
90%{_bindir}/%{name}
91%{_libdir}/libgdict-1.0.so.*
92%{_datadir}/applications/%{name}.desktop
93%{_datadir}/gdict-1.0/sources/*.desktop
94%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml
95%{_datadir}/%{name}/*.ui
96%{_mandir}/man1/%{name}.1.gz
97
98%files devel
99%defattr(-,root,root,-)
100%{_includedir}/gdict-1.0
101%{_libdir}/libgdict-1.0.so
102%{_libdir}/pkgconfig/gdict-1.0.pc
103
104%files doc
105%defattr(-,root,root,-)
106%{_datadir}/gtk-doc/html/gdict
107
108%changelog
109* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
110- initial build
Note: See TracBrowser for help on using the repository browser.