Browse Source

trash-cli-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6438 ec354946-7b23-47d6-9f5a-488ba84defc7
kudoh 12 years ago
parent
commit
004f8947c7
1 changed files with 17 additions and 12 deletions
  1. 17 12
      t/trash-cli/trash-cli-vl.spec

+ 17 - 12
t/trash-cli/trash-cli-vl.spec

@@ -3,15 +3,15 @@
 Summary:	Command Line Interface to FreeDesktop.org Trash
 Summary(ja): 	ゴミ箱を操作するコマンドライン用ツール
 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
 License:	GPL v2
 Group:		Applications/System
-URL:		http://code.google.com/p/trash-cli
+URL:		https://github.com/andreafrancia/trash-cli
 
 Requires:	python, python-unipath
-BuildRequires:	python
+BuildRequires:	python, python-setuptools
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildArch:	noarch
 
@@ -34,7 +34,7 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
  * trash-put             ファイルとディレクトリをゴミ箱に移動
  * trash-empty           ゴミ箱を空にする
  * trash-list            ゴミ箱の中の、ファイルの一覧を出力
- * trash-restore         ファイルをゴミ箱から元に戻す
+ * restore-trash         ファイルをゴミ箱から元に戻す
 
 各ファイルの名前や元のパス、削除した日時、アクセス権が記録され
 ます。また trash コマンドは同名のファイルを複数扱えるようになっ
@@ -43,7 +43,7 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
 
 
 %prep
-%setup
+%setup -q
 
 
 %build
@@ -54,7 +54,6 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
 %{__rm} -rf ${RPM_BUILD_ROOT}
 %{__python} setup.py install \
             --root=${RPM_BUILD_ROOT} \
-            --install-data=%{_datadir} \
             --single-version-externally-managed
 
 %clean
@@ -63,23 +62,29 @@ trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
 
 %files
 %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}/trash
 %{_bindir}/trash-empty
 %{_bindir}/trash-list
 %{_bindir}/trash-put
-%{_bindir}/trash-restore
-%{_bindir}/volume-of
 %{python_sitelib}/trashcli
 %{python_sitelib}/trash_cli*
+%{python_sitelib}/integration_tests/
+%{python_sitelib}/unit_tests/
 %{_mandir}/man1/trash-empty.1*
 %{_mandir}/man1/trash-list.1*
 %{_mandir}/man1/trash-put.1*
-%{_mandir}/man1/trash-restore.1*
+%{_mandir}/man1/restore-trash.1*
 
 
 %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
 - rebuild with python-2.6.5 (Seed only)