|
@@ -3,15 +3,15 @@
|
|
Summary: Command Line Interface to FreeDesktop.org Trash
|
|
Summary: Command Line Interface to FreeDesktop.org Trash
|
|
Summary(ja): ゴミ箱を操作するコマンドライン用ツール
|
|
Summary(ja): ゴミ箱を操作するコマンドライン用ツール
|
|
Name: trash-cli
|
|
Name: trash-cli
|
|
-Version: 0.11.2
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 0.12.7
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Source0: http://trash-cli.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
Source0: http://trash-cli.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
License: GPL v2
|
|
License: GPL v2
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
-URL: http://code.google.com/p/trash-cli
|
|
|
|
|
|
+URL: https://github.com/andreafrancia/trash-cli
|
|
|
|
|
|
Requires: python, python-unipath
|
|
Requires: python, python-unipath
|
|
-BuildRequires: python
|
|
|
|
|
|
+BuildRequires: python, python-setuptools
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
|
|
|
|
@@ -34,7 +34,7 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
|
|
* trash-put ファイルとディレクトリをゴミ箱に移動
|
|
* trash-put ファイルとディレクトリをゴミ箱に移動
|
|
* trash-empty ゴミ箱を空にする
|
|
* trash-empty ゴミ箱を空にする
|
|
* trash-list ゴミ箱の中の、ファイルの一覧を出力
|
|
* trash-list ゴミ箱の中の、ファイルの一覧を出力
|
|
- * trash-restore ファイルをゴミ箱から元に戻す
|
|
|
|
|
|
+ * restore-trash ファイルをゴミ箱から元に戻す
|
|
|
|
|
|
各ファイルの名前や元のパス、削除した日時、アクセス権が記録され
|
|
各ファイルの名前や元のパス、削除した日時、アクセス権が記録され
|
|
ます。また trash コマンドは同名のファイルを複数扱えるようになっ
|
|
ます。また trash コマンドは同名のファイルを複数扱えるようになっ
|
|
@@ -43,7 +43,7 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup
|
|
|
|
|
|
+%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -54,7 +54,6 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__python} setup.py install \
|
|
%{__python} setup.py install \
|
|
--root=${RPM_BUILD_ROOT} \
|
|
--root=${RPM_BUILD_ROOT} \
|
|
- --install-data=%{_datadir} \
|
|
|
|
--single-version-externally-managed
|
|
--single-version-externally-managed
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -63,23 +62,29 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc AUTHORS COPYING HISTORY.txt INSTALL.txt README.txt THANKS
|
|
|
|
-%doc docs/*
|
|
|
|
|
|
+%doc COPYING CREDITS.txt DONE.txt HISTORY.txt README.rst TODO.txt
|
|
|
|
+#%doc docs/*
|
|
%{_bindir}/restore-trash
|
|
%{_bindir}/restore-trash
|
|
|
|
+%{_bindir}/trash
|
|
%{_bindir}/trash-empty
|
|
%{_bindir}/trash-empty
|
|
%{_bindir}/trash-list
|
|
%{_bindir}/trash-list
|
|
%{_bindir}/trash-put
|
|
%{_bindir}/trash-put
|
|
-%{_bindir}/trash-restore
|
|
|
|
-%{_bindir}/volume-of
|
|
|
|
%{python_sitelib}/trashcli
|
|
%{python_sitelib}/trashcli
|
|
%{python_sitelib}/trash_cli*
|
|
%{python_sitelib}/trash_cli*
|
|
|
|
+%{python_sitelib}/integration_tests/
|
|
|
|
+%{python_sitelib}/unit_tests/
|
|
%{_mandir}/man1/trash-empty.1*
|
|
%{_mandir}/man1/trash-empty.1*
|
|
%{_mandir}/man1/trash-list.1*
|
|
%{_mandir}/man1/trash-list.1*
|
|
%{_mandir}/man1/trash-put.1*
|
|
%{_mandir}/man1/trash-put.1*
|
|
-%{_mandir}/man1/trash-restore.1*
|
|
|
|
|
|
+%{_mandir}/man1/restore-trash.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12.7-1
|
|
|
|
+- new upstream release
|
|
|
|
+- changed URL
|
|
|
|
+- added BuildRequires: python-setuptools
|
|
|
|
+
|
|
* Sun Apr 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.11.2-2
|
|
* Sun Apr 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.11.2-2
|
|
- rebuild with python-2.6.5 (Seed only)
|
|
- rebuild with python-2.6.5 (Seed only)
|
|
|
|
|