1 | # Basic Information |
---|
2 | Name: gnome-documents |
---|
3 | Version: 0.2.1 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv2 |
---|
6 | Group: Applications/Documentation |
---|
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-documents/0.2/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 | |
---|
29 | |
---|
30 | %description |
---|
31 | Documents is a document manager application for GNOME. |
---|
32 | More information on https://live.gnome.org/Design/Apps/Documents |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | ドキュメントは GNOME 向けのドキュメント管理アプリケーションです。 |
---|
36 | 詳細は、 https://live.gnome.org/Design/Apps/Documents を参照してください。 |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development files for %{name} |
---|
40 | Summary(ja): %{name} の開発用ファイル |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: pkgconfig |
---|
44 | |
---|
45 | %description devel |
---|
46 | Development files for %{name} |
---|
47 | |
---|
48 | %description -l ja devel |
---|
49 | %{name} の開発用ファイル |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | # Start testing |
---|
55 | #%%{__cp} %{SOURCE1} po/ja.po |
---|
56 | echo "ja" >> po/LINGUAS |
---|
57 | # End testing |
---|
58 | |
---|
59 | %build |
---|
60 | %configure |
---|
61 | %{__make} %{?_smp_mflags} |
---|
62 | |
---|
63 | %install |
---|
64 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
65 | export GSETTINGS_DISABLE_SCHEMAS_COMPILE=1 |
---|
66 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
67 | unset GSETTINGS_DISABLE_SCHEMAS_COMPILE |
---|
68 | |
---|
69 | %find_lang %{name} |
---|
70 | |
---|
71 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libgdprivate-1.0.la |
---|
72 | |
---|
73 | %clean |
---|
74 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
75 | |
---|
76 | %post -p /sbin/ldconfig |
---|
77 | |
---|
78 | %postun |
---|
79 | /sbin/ldconfig |
---|
80 | if [ $1 -eq 0 ] ; then |
---|
81 | glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : |
---|
82 | fi |
---|
83 | |
---|
84 | %posttrans |
---|
85 | glib-compile-schemas %{_datadir}/glib-2.0/schemas || : |
---|
86 | |
---|
87 | |
---|
88 | %files -f %{name}.lang |
---|
89 | %defattr(-,root,root) |
---|
90 | %doc COPYING NEWS README |
---|
91 | %{_bindir}/gnome-documents |
---|
92 | %{_libdir}/girepository-1.0/Gd-1.0.typelib |
---|
93 | %{_libdir}/libgdprivate-1.0.so.* |
---|
94 | %{_libexecdir}/gd-tracker-gdata-miner |
---|
95 | %{_datadir}/applications/gnome-documents.desktop |
---|
96 | %{_datadir}/dbus-1/services/org.gnome.Documents.GDataMiner.service |
---|
97 | %{_datadir}/glib-2.0/schemas/org.gnome.documents.gschema.xml |
---|
98 | %{_datadir}/gnome-documents |
---|
99 | %{_datadir}/icons/hicolor/16x16/apps/gnome-documents.png |
---|
100 | %{_datadir}/icons/hicolor/22x22/apps/gnome-documents.png |
---|
101 | %{_datadir}/icons/hicolor/24x24/apps/gnome-documents.png |
---|
102 | %{_datadir}/icons/hicolor/256x256/apps/gnome-documents.png |
---|
103 | %{_datadir}/icons/hicolor/32x32/apps/gnome-documents.png |
---|
104 | %{_datadir}/icons/hicolor/48x48/apps/gnome-documents.png |
---|
105 | |
---|
106 | %files devel |
---|
107 | %defattr(-,root,root) |
---|
108 | %{_libdir}/libgdprivate-1.0.so |
---|
109 | %{_datadir}/gir-1.0/Gd-1.0.gir |
---|
110 | |
---|
111 | %changelog |
---|
112 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Wed Oct 05 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.2.0-1 |
---|
116 | - new upstream release |
---|
117 | - remove SOURCE1 |
---|
118 | |
---|
119 | * Mon Sep 26 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-2 |
---|
120 | - update translation from master. |
---|
121 | |
---|
122 | * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-1 |
---|
123 | - initial build for Vine Linux |
---|