|
@@ -0,0 +1,113 @@
|
|
|
+# Basic Information
|
|
|
+Name: gnome-documents
|
|
|
+Version: 0.1.92
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+License: GPLv2
|
|
|
+Group: Applications/Documentation
|
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-documents/0.1/gnome-documents-0.1.92.tar.xz
|
|
|
+# Start testing
|
|
|
+Source1: http://l10n.gnome.org/media/upload/gnome-documents-master-po-ja-243161_3.merged.po
|
|
|
+# End testing
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: yasumichi
|
|
|
+
|
|
|
+Summary: A document manager application for GNOME
|
|
|
+Summary(ja): GNOME 向けのドキュメント管理アプリケーション
|
|
|
+
|
|
|
+# Dependency
|
|
|
+BuildRequires: clutter-gtk-devel
|
|
|
+BuildRequires: evince-devel
|
|
|
+BuildRequires: gnome-desktop3-devel
|
|
|
+BuildRequires: gnome-online-accounts-devel
|
|
|
+BuildRequires: libgdata-devel
|
|
|
+BuildRequires: liboauth-devel
|
|
|
+BuildRequires: tracker-devel
|
|
|
+
|
|
|
+
|
|
|
+%description
|
|
|
+Documents is a document manager application for GNOME.
|
|
|
+More information on https://live.gnome.org/Design/Apps/Documents
|
|
|
+
|
|
|
+%description -l ja
|
|
|
+ドキュメントは GNOME 向けのドキュメント管理アプリケーションです。
|
|
|
+詳細は、 https://live.gnome.org/Design/Apps/Documents を参照してください。
|
|
|
+
|
|
|
+%package devel
|
|
|
+Summary: Development files for %{name}
|
|
|
+Summary(ja): %{name} の開発用ファイル
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
+
|
|
|
+%description devel
|
|
|
+Development files for %{name}
|
|
|
+
|
|
|
+%description -l ja devel
|
|
|
+%{name} の開発用ファイル
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q
|
|
|
+
|
|
|
+# Start testing
|
|
|
+%{__cp} %{SOURCE1} po/ja.po
|
|
|
+echo "ja" >> po/LINGUAS
|
|
|
+# End testing
|
|
|
+
|
|
|
+%build
|
|
|
+%configure
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
+
|
|
|
+%install
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
+export GSETTINGS_DISABLE_SCHEMAS_COMPILE=1
|
|
|
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
+unset GSETTINGS_DISABLE_SCHEMAS_COMPILE
|
|
|
+
|
|
|
+%find_lang %{name}
|
|
|
+
|
|
|
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libgdprivate-1.0.la
|
|
|
+
|
|
|
+%clean
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
+
|
|
|
+%post -p /sbin/ldconfig
|
|
|
+
|
|
|
+%postun
|
|
|
+/sbin/ldconfig
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || :
|
|
|
+fi
|
|
|
+
|
|
|
+%posttrans
|
|
|
+glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
|
|
|
+
|
|
|
+
|
|
|
+%files -f %{name}.lang
|
|
|
+%defattr(-,root,root)
|
|
|
+%doc COPYING NEWS README
|
|
|
+%{_bindir}/gnome-documents
|
|
|
+%{_libdir}/girepository-1.0/Gd-1.0.typelib
|
|
|
+%{_libdir}/libgdprivate-1.0.so.*
|
|
|
+%{_libexecdir}/gd-tracker-gdata-miner
|
|
|
+%{_datadir}/applications/gnome-documents.desktop
|
|
|
+%{_datadir}/dbus-1/services/org.gnome.Documents.GDataMiner.service
|
|
|
+%{_datadir}/glib-2.0/schemas/org.gnome.documents.gschema.xml
|
|
|
+%{_datadir}/gnome-documents
|
|
|
+%{_datadir}/icons/hicolor/16x16/apps/gnome-documents.png
|
|
|
+%{_datadir}/icons/hicolor/22x22/apps/gnome-documents.png
|
|
|
+%{_datadir}/icons/hicolor/24x24/apps/gnome-documents.png
|
|
|
+%{_datadir}/icons/hicolor/256x256/apps/gnome-documents.png
|
|
|
+%{_datadir}/icons/hicolor/32x32/apps/gnome-documents.png
|
|
|
+%{_datadir}/icons/hicolor/48x48/apps/gnome-documents.png
|
|
|
+
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root)
|
|
|
+%{_libdir}/libgdprivate-1.0.so
|
|
|
+%{_datadir}/gir-1.0/Gd-1.0.gir
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.1.92-1
|
|
|
+- initial build for Vine Linux
|