1 | # Basic Information |
---|
2 | Name: gnome-documents |
---|
3 | Version: 3.6.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv2 |
---|
6 | Group: Applications/Documentation |
---|
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-documents/3.6/gnome-documents-%{version}.tar.xz |
---|
8 | # Start testing |
---|
9 | #Source1: http://l10n.gnome.org/POT/gnome-documents.master/gnome-documents.master.ja.po |
---|
10 | # End testing |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | Packager: yasumichi |
---|
16 | |
---|
17 | Summary: A document manager application for GNOME |
---|
18 | Summary(ja): GNOME 向けのドキュメント管理アプリケーション |
---|
19 | |
---|
20 | # Dependency |
---|
21 | BuildRequires: clutter-gtk-devel |
---|
22 | BuildRequires: evince-devel |
---|
23 | BuildRequires: gnome-desktop3-devel |
---|
24 | BuildRequires: gnome-online-accounts-devel |
---|
25 | BuildRequires: libgdata-devel |
---|
26 | BuildRequires: liboauth-devel |
---|
27 | BuildRequires: tracker-devel |
---|
28 | BuildRequires: libzapojit-devel |
---|
29 | BuildRequires: gjs-devel |
---|
30 | |
---|
31 | |
---|
32 | %description |
---|
33 | Documents is a document manager application for GNOME. |
---|
34 | More information on https://live.gnome.org/Design/Apps/Documents |
---|
35 | |
---|
36 | %description -l ja |
---|
37 | ドキュメントは GNOME 向けのドキュメント管理アプリケーションです。 |
---|
38 | 詳細は、 https://live.gnome.org/Design/Apps/Documents を参照してください。 |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Development files for %{name} |
---|
42 | Summary(ja): %{name} の開発用ファイル |
---|
43 | Group: Development/Libraries |
---|
44 | Requires: %{name} = %{version}-%{release} |
---|
45 | Requires: pkgconfig |
---|
46 | |
---|
47 | %description devel |
---|
48 | Development files for %{name} |
---|
49 | |
---|
50 | %description -l ja devel |
---|
51 | %{name} の開発用ファイル |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | |
---|
56 | # Start testing |
---|
57 | #%%{__cp} %{SOURCE1} po/ja.po |
---|
58 | echo "ja" >> po/LINGUAS |
---|
59 | # End testing |
---|
60 | |
---|
61 | %build |
---|
62 | %configure |
---|
63 | %{__make} %{?_smp_mflags} |
---|
64 | |
---|
65 | %install |
---|
66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
67 | export GSETTINGS_DISABLE_SCHEMAS_COMPILE=1 |
---|
68 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
69 | unset GSETTINGS_DISABLE_SCHEMAS_COMPILE |
---|
70 | |
---|
71 | %find_lang %{name} |
---|
72 | |
---|
73 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
74 | |
---|
75 | %clean |
---|
76 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
77 | |
---|
78 | %post -p /sbin/ldconfig |
---|
79 | |
---|
80 | %postun |
---|
81 | /sbin/ldconfig |
---|
82 | if [ $1 -eq 0 ] ; then |
---|
83 | glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : |
---|
84 | fi |
---|
85 | |
---|
86 | %posttrans |
---|
87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
88 | |
---|
89 | |
---|
90 | %files -f %{name}.lang |
---|
91 | %defattr(-,root,root) |
---|
92 | %doc COPYING NEWS README |
---|
93 | %{_bindir}/gnome-documents |
---|
94 | %{_libdir}/%{name}/girepository-1.0/Gd-1.0.typelib |
---|
95 | %{_libdir}/%{name}/girepository-1.0/GdPrivate-1.0.typelib |
---|
96 | %{_libdir}/%{name}/libgdprivate-1.0.so |
---|
97 | %{_libdir}/%{name}/libgd.so |
---|
98 | %{_libdir}/%{name}/libgdminer-1.0.so |
---|
99 | %{_libexecdir}/gd-tracker-gdata-miner |
---|
100 | %{_libexecdir}/gd-tracker-zpj-miner |
---|
101 | %{_libexecdir}/gnome-documents-search-provider |
---|
102 | %{_datadir}/applications/gnome-documents.desktop |
---|
103 | %{_datadir}/dbus-1/services/org.gnome.Documents.GDataMiner.service |
---|
104 | %{_datadir}/dbus-1/services/org.gnome.Documents.SearchProvider.service |
---|
105 | %{_datadir}/dbus-1/services/org.gnome.Documents.ZpjMiner.service |
---|
106 | %{_datadir}/glib-2.0/schemas/org.gnome.documents.gschema.xml |
---|
107 | %{_datadir}/glib-2.0/schemas/org.gnome.Documents.enums.xml |
---|
108 | %{_datadir}/gnome-documents |
---|
109 | %{_datadir}/gnome-shell/search-providers/gnome-documents-search-provider.ini |
---|
110 | %{_datadir}/icons/hicolor/16x16/apps/gnome-documents.png |
---|
111 | %{_datadir}/icons/hicolor/22x22/apps/gnome-documents.png |
---|
112 | %{_datadir}/icons/hicolor/24x24/apps/gnome-documents.png |
---|
113 | %{_datadir}/icons/hicolor/256x256/apps/gnome-documents.png |
---|
114 | %{_datadir}/icons/hicolor/32x32/apps/gnome-documents.png |
---|
115 | %{_datadir}/icons/hicolor/48x48/apps/gnome-documents.png |
---|
116 | |
---|
117 | %files devel |
---|
118 | %defattr(-,root,root) |
---|
119 | %{_datadir}/%{name}/gir-1.0/Gd-1.0.gir |
---|
120 | |
---|
121 | %changelog |
---|
122 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
123 | - new upstream release |
---|
124 | - add BuildRequires: libzapojit-devel |
---|
125 | |
---|
126 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.2-1 |
---|
127 | - new upstream release |
---|
128 | - add BuildRequires: gjs-devel |
---|
129 | |
---|
130 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Wed Oct 05 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.2.0-1 |
---|
134 | - new upstream release |
---|
135 | - remove SOURCE1 |
---|
136 | |
---|
137 | * Mon Sep 26 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-2 |
---|
138 | - update translation from master. |
---|
139 | |
---|
140 | * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-1 |
---|
141 | - initial build for Vine Linux |
---|