source: projects/specs/branches/6/t/trash-cli/trash-cli-vl.spec @ 5581

Revision 5581, 2.9 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

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:        3%{?_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-devel
15BuildRequires:  python-setuptools
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildArch:      noarch
18
19Packager:       kazutaka
20
21%description
22trash-cli provides the following commands to manage the trash:
23 * trash-put             trashes files and directories.
24 * trash-empty           empty the trashcan(s).
25 * trash-list            list trashed file.
26 * trash-restore         restore a trashed file.
27
28For each file the name, original path, deletion date, and permissions
29are recorded. The trash command allow trash multiple files with the
30same name. These command uses the same Trashcan of last versions of
31KDE, GNOME and XFCE.
32
33%description -l ja
34trash-cli はゴミ箱を操作する、以下のコマンドを提供します:
35 * trash-put             ファイルとディレクトリをゴミ箱に移動
36 * trash-empty           ゴミ箱を空にする
37 * trash-list            ゴミ箱の中の、ファイルの一覧を出力
38 * trash-restore         ファイルをゴミ箱から元に戻す
39
40各ファイルの名前や元のパス、削除した日時、アクセス権が記録され
41ます。また trash コマンドは同名のファイルを複数扱えるようになっ
42ています。これらのコマンドは、最新の KDE や GNOME、XFCE と同じ
43ゴミ箱を使用します。
44
45
46%prep
47%setup
48
49
50%build
51%{__python} setup.py build
52
53
54%install
55%{__rm} -rf ${RPM_BUILD_ROOT}
56%{__python} setup.py install \
57            --root=${RPM_BUILD_ROOT} \
58            --install-data=%{_datadir} \
59            --single-version-externally-managed
60
61%clean
62%{__rm} -rf ${RPM_BUILD_ROOT}
63
64
65%files
66%defattr(-,root,root)
67%doc AUTHORS COPYING HISTORY.txt INSTALL.txt README.txt THANKS
68%doc docs/*
69%{_bindir}/restore-trash
70%{_bindir}/trash-empty
71%{_bindir}/trash-list
72%{_bindir}/trash-put
73%{_bindir}/trash-restore
74%{_bindir}/volume-of
75%{python_sitelib}/trashcli
76%{python_sitelib}/trash_cli*
77%{_mandir}/man1/trash-empty.1*
78%{_mandir}/man1/trash-list.1*
79%{_mandir}/man1/trash-put.1*
80%{_mandir}/man1/trash-restore.1*
81
82
83%changelog
84* Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-3
85- rebuild with Vine6 environment
86- add BuildRequires: python-devel, python-setuptools
87
88* Sun Apr 18 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.11.2-2
89- rebuild with python-2.6.5 (Seed only)
90
91* Thu Oct 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.11.2-1
92- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.