public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rahul Sundaram <sundaram@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/trash-cli] pr6: cvs import new software
Date: Sun, 20 Sep 2026 13:17:53 GMT	[thread overview]
Message-ID: <178991027371.1.12849721787087881174.rpms-trash-cli-8525b80971b4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/trash-cli
Branch : pr6
Commit : 8525b80971b4b713ae109355ecaf96bfe7043946
Author : Rahul Sundaram <sundaram@fedoraproject.org>
Date   : 2010-03-01T04:30:37+00:00
Stats  : +76/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/trash-cli/c/8525b80971b4b713ae109355ecaf96bfe7043946?branch=pr6

Log:
cvs import new software

---
diff --git a/.cvsignore b/.cvsignore
index e69de29..a3cb9c8 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+trash-cli-0.11.2.tar.gz

diff --git a/import.log b/import.log
new file mode 100644
index 0000000..29d25e2
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+trash-cli-0_11_2-2_fc12:HEAD:trash-cli-0.11.2-2.fc12.src.rpm:1267417418

diff --git a/sources b/sources
index e69de29..3e48ece 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d78cdd9fe9620042680769244b77a77a  trash-cli-0.11.2.tar.gz

diff --git a/trash-cli.spec b/trash-cli.spec
new file mode 100644
index 0000000..2c331aa
--- /dev/null
+++ b/trash-cli.spec
@@ -0,0 +1,73 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pyver: %global pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+
+Summary:        Command line interface to the freedesktop.org trashcan
+Name:           trash-cli
+Version:        0.11.2
+Release:        2%{?dist}
+License:        GPLv2+
+Group:          System Environment/Base
+URL  :          http://trash-cli.googlecode.com/
+Source0:        http://trash-cli.googlecode.com/files/trash-cli-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  python-setuptools-devel dos2unix
+Requires:       python-unipath
+
+%description
+trash-cli provides a command line trash usable with GNOME, KDE, Xfce or any 
+freedesktop.org compatible trash implementation. The command line interface is
+compatible with rm and you can use trash-put as an alias to rm.  
+
+%prep
+%setup -q  
+
+for f in filesystem.py cli/restore.py cli/util.py ; do
+    dos2unix -k trashcli/$f
+done
+
+for f in cli/restore.py cli/util.py filesystem.py trash.py ; do
+    %{__sed} -i -e '1d' trashcli/$f
+done
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT 
+
+# installs to /usr/man/man1 instead of /usr/share/man/man1 otherwise
+install -d $(dirname %{buildroot}%{_mandir})
+mv %{buildroot}/usr/man %{buildroot}%{_mandir}
+
+# first command is there for legacy. second one is broken and undocumented
+rm -f %{buildroot}/%{_bindir}/restore-trash
+rm -f %{buildroot}/%{_bindir}/volume-of
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, -)
+%doc README.txt AUTHORS COPYING
+
+%{_bindir}/trash-*
+%{python_sitelib}/trashcli/
+%{python_sitelib}/trash_cli-*-py%{pyver}.egg-info
+%{_mandir}/man1/trash-*
+
+%changelog
+
+* Thu Feb 18 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.11.2-2
+- Update as per review
+
+* Fri Oct 23 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.11.2-1
+- new upstream release
+- cleaned up spec
+
+* Mon Jun 29 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.11.1.2-1
+- Updated spec for review
+
+* Sat Mar 14 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.11.0-1.r199
+- initial build
+
+

                 reply	other threads:[~2026-09-20 13:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178991027371.1.12849721787087881174.rpms-trash-cli-8525b80971b4@fedoraproject.org \
    --to=sundaram@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox