public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trash-cli] pr6: cvs import new software
@ 2026-09-20 13:17 Rahul Sundaram
  0 siblings, 0 replies; only message in thread
From: Rahul Sundaram @ 2026-09-20 13:17 UTC (permalink / raw)
  To: git-commits

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
+
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-20 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 13:17 [rpms/trash-cli] pr6: cvs import new software Rahul Sundaram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox