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

Revision 9102, 3.4 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1Summary:        GNOME Dictionary
2Summary(ja):    GNOME 辞書
3Name:           gnome-dictionary
4Version:        3.14.2
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.14/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  itstool
16BuildRequires:  desktop-file-utils
17
18Requires(postun,posttrans):     glib2
19Requires(postun,posttrans):     desktop-file-utils
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       Takemikaduchi
24
25
26%description
27gnome-dictionary provides dictionary definitions of words, using a dictionary source.
28
29%description -l ja
30gnome-dictionary は辞書ソースを使用し、単語の辞書上の定義を提供します。
31
32
33%package        devel
34Summary:        Development files for %{name}
35Summary(ja):    %{name} の開発ファイル
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       pkgconfig
39Requires:       gobject-introspection-devel
40
41%description    devel
42The %{name}-devel package contains libraries and header files for
43developing applications that use %{name}.
44
45
46%package        docs
47Summary:        Documentation for %{name}
48Summary(ja):    %{name} 用のドキュメント
49Group:          Documentation
50Requires:       %{name} = %{version}-%{release}
51BuildArch:      noarch
52Provides:       %{name}-doc = %{version}-%{release}
53
54%description    docs
55This package contains documentation for %{name}.
56
57
58%prep
59%setup -q
60
61%build
62%configure
63make %{?_smp_mflags}
64
65%install
66rm -rf $RPM_BUILD_ROOT
67make install DESTDIR=$RPM_BUILD_ROOT
68
69find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
70
71desktop-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
80rm -rf $RPM_BUILD_ROOT
81
82%post
83/sbin/ldconfig
84
85%postun
86/sbin/ldconfig
87glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
88update-desktop-database -q &> /dev/null ||:
89
90%posttrans
91glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
92update-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}/appdata/%{name}.appdata.xml
100%{_datadir}/applications/%{name}.desktop
101%{_datadir}/gdict-1.0/sources/*.desktop
102%{_datadir}/glib-2.0/schemas/org.gnome.dictionary.gschema.xml
103%{_datadir}/%{name}/*.ui
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
112%files docs
113%defattr(-,root,root,-)
114%{_datadir}/gtk-doc/html/gdict
115
116%changelog
117* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
118- new upstream release
119
120* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
121- new upstream release
122
123* Tue Jun 10 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-3
124- add OnlyShowIn=GNOME; to gnome-dictionary.desktop
125
126* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-2
127- rebuild with VineSeed environment
128
129* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
130- new upstream release
131
132* Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
133- new upstream release
134
135* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
136- initial build
Note: See TracBrowser for help on using the repository browser.