rpms/ptrash/F-8 import.log, NONE, 1.1 ptrash.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Prasad J Pandit (pjp) fedora-extras-commits at redhat.com
Wed Aug 6 11:23:07 UTC 2008


Author: pjp

Update of /cvs/pkgs/rpms/ptrash/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16717/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	import.log ptrash.spec 
Log Message:
----------------------------------------------------------------------
Committing in .
P J P  <pj.pandit at yahoo.co.in>
Wed Aug  6 16:50:52 IST 2008
    F-8/.cvsignore F-8/sources: importing ptrash to a new F-8 branch.
Added Files:
    F-8/import.log F-8/ptrash.spec: importing ptrash to a new F-8 branch. 
----------------------------------------------------------------------



--- NEW FILE import.log ---
ptrash-1_0-1_fc8:F-8:ptrash-1.0-1.fc8.src.rpm:1218021410


--- NEW FILE ptrash.spec ---
Name:           ptrash
Version:        1.0
Release:        1%{?dist}
Summary:        Move file(s) to ~/.trash directory

Group:          Applications/System
License:        GPLv2+
URL:            http://pjp.dgplug.org/tools/
Source0:        http://pjp.dgplug.org/tools/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post): info      
Requires(preun): info

%description
Ptrash moves the named file(s) to the ~/.trash directory. Trash is located
under the home directory of a user. It is a simple console based utility,
I wrote after deleting some files, which I couldn't retrieve back.
Ptrash can also restore file(s) back to there original location. It has really
proved very handy to me.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir


%post
/sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info || :


%preun
if [ $1 = 0 ]; then
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING
%_bindir/ptrash
%_infodir/*
%_mandir/man1/*


%changelog

* Tue Jul 22 2008 _pjp_ <pj.pandit at yahoo.co.in> - 1.0-1
- Initial RPM release of ptrash-1.0


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ptrash/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Aug 2008 16:40:46 -0000	1.1
+++ .cvsignore	6 Aug 2008 11:22:37 -0000	1.2
@@ -0,0 +1 @@
+ptrash-1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ptrash/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Aug 2008 16:40:46 -0000	1.1
+++ sources	6 Aug 2008 11:22:37 -0000	1.2
@@ -0,0 +1 @@
+b107c5e7998d560c29f7c3a1a84a2291  ptrash-1.0.tar.gz




More information about the fedora-extras-commits mailing list