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