source: projects/specs/trunk/t/trash-cli/trash-cli-vl.spec @ 862

Revision 862, 2.7 KB checked in by kazutaka, 14 years ago (diff)

rebuild with python 2.6.5 (Seed)

Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Summary:        Command Line Interface to FreeDesktop.org Trash
4Summary(ja):    ゴミ箱を操作するコマンドライン用ツール
5Name:           trash-cli
6Version:        0.11.2
7Release:        2%{?_dist_release}
8Source0:        http://trash-cli.googlecode.com/files/%{name}-%{version}.tar.gz
9License:        GPL v2
10Group:          Applications/System
11URL:            http://code.google.com/p/trash-cli
12
13Requires:       python, python-unipath
14BuildRequires:  python
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16BuildArch:      noarch
17
18Packager:       kazutaka
19
20%description
21trash-cli provides the following commands to manage the trash:
22 * trash-put             trashes files and directories.
23 * trash-empty           empty the trashcan(s).
24 * trash-list            list trashed file.
25 * trash-restore         restore a trashed file.
26
27For each file the name, original path, deletion date, and permissions
28are recorded. The trash command allow trash multiple files with the
29same name. These command uses the same Trashcan of last versions of
30KDE, GNOME and XFCE.
31
32%description -l ja
33trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
34 * trash-put             ファイルとディレクトリをゴミ箱に移動
35 * trash-empty           ゴミ箱を空にする
36 * trash-list            ゴミ箱の中の、ファイルの一覧を出力
37 * trash-restore         ファイルをゴミ箱から元に戻す
38
39各ファイルの名前や元のパス、削除した日時、アクセス権が記録され
40ます。また trash コマンドは同名のファイルを複数扱えるようになっ
41ています。これらのコマンドは、最新の KDE や GNOME、XFCE と同じ
42ゴミ箱を使用します。
43
44
45%prep
46%setup
47
48
49%build
50%{__python} setup.py build
51
52
53%install
54%{__rm} -rf ${RPM_BUILD_ROOT}
55%{__python} setup.py install \
56            --root=${RPM_BUILD_ROOT} \
57            --install-data=%{_datadir} \
58            --single-version-externally-managed
59
60%clean
61%{__rm} -rf ${RPM_BUILD_ROOT}
62
63
64%files
65%defattr(-,root,root)
66%doc AUTHORS COPYING HISTORY.txt INSTALL.txt README.txt THANKS
67%doc docs/*
68%{_bindir}/restore-trash
69%{_bindir}/trash-empty
70%{_bindir}/trash-list
71%{_bindir}/trash-put
72%{_bindir}/trash-restore
73%{_bindir}/volume-of
74%{python_sitelib}/trashcli
75%{python_sitelib}/trash_cli*
76%{_mandir}/man1/trash-empty.1*
77%{_mandir}/man1/trash-list.1*
78%{_mandir}/man1/trash-put.1*
79%{_mandir}/man1/trash-restore.1*
80
81
82%changelog
83* Sun Apr 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.11.2-2
84- rebuild with python-2.6.5 (Seed only)
85
86* Thu Oct 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.11.2-1
87- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.