rpms/libtrash/F-9 libtrash-3.2-makefile.patch, NONE, 1.1 libtrash-3.2-defaults.patch, NONE, 1.1 libtrash.spec, NONE, 1.1
Zdenek Prikryl (zprikryl)
fedora-extras-commits at redhat.com
Tue Jul 29 11:05:48 UTC 2008
- Previous message (by thread): rpms/libtrash/devel libtrash.spec, NONE, 1.1 libtrash-3.2-makefile.patch, NONE, 1.1 libtrash-3.2-defaults.patch, NONE, 1.1
- Next message (by thread): rpms/im-chooser/devel .cvsignore, 1.25, 1.26 im-chooser.spec, 1.49, 1.50 sources, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: zprikryl
Update of /cvs/extras/rpms/libtrash/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12830/F-9
Added Files:
libtrash-3.2-makefile.patch libtrash-3.2-defaults.patch
libtrash.spec
Log Message:
Initial commit
libtrash-3.2-makefile.patch:
--- NEW FILE libtrash-3.2-makefile.patch ---
--- libtrash-3.2/src/Makefile.makefile 2008-03-06 15:34:06.000000000 +0100
+++ libtrash-3.2/src/Makefile 2008-03-06 15:34:18.000000000 +0100
@@ -35,7 +35,7 @@ install-libtrash:
TRASH_OFF=YES install libtrash.so.${VERSION} ${INSTLIBDIR}/libtrash.so.${VERSION}
TRASH_OFF=YES ln -sf libtrash.so.${VERSION} ${INSTLIBDIR}/libtrash.so
TRASH_OFF=YES install libtrash.conf.sys --mode a=r ${SYSCONFFILE}
- ldconfig
+# ldconfig
clean:
rm -f *~
libtrash-3.2-defaults.patch:
--- NEW FILE libtrash-3.2-defaults.patch ---
--- libtrash-3.2/libtrash.conf.defaults 2007-12-04 00:33:34.000000000 +0100
+++ libtrash-3.2/libtrash.conf 2008-03-06 15:47:51.000000000 +0100
@@ -89,7 +89,7 @@ INTERCEPT_OPEN = NO
# directory in which "deleted" files will be stored. It mustn't contain
# any slashes:
-TRASH_CAN = Trash
+TRASH_CAN = .Trash
# This setting defines what should be done in case of failure: should we
@@ -159,7 +159,8 @@ PROTECT_TRASH = YES
#
# .c;.h
-IGNORE_EXTENSIONS = o;log;aux
+#IGNORE_EXTENSIONS = o;log;aux
+IGNORE_EXTENSIONS =
# This setting defines whether hidden files (or files under a hidden
@@ -170,7 +171,7 @@ IGNORE_EXTENSIONS = o;log;aux
# "normally", i.e., they will be moved to your trash can rather than
# really destroyed:
-IGNORE_HIDDEN = YES
+IGNORE_HIDDEN = NO
# This setting defines whether files whose names end in a tilde ('~')
--- NEW FILE libtrash.spec ---
Summary: Libraries to move files to a trash-folder on delete
Name: libtrash
Version: 3.2
Release: 5%{dist}
Group: System Environment/Libraries
License: GPLv2+
URL: http://pages.stern.nyu.edu/~marriaga/software/libtrash
Source: http://pages.stern.nyu.edu/~marriaga/software/libtrash/%{name}-%{version}.tgz
Patch0: libtrash-3.2-defaults.patch
Patch1: libtrash-3.2-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl, python
%description
Libtrash is the shared library which, when preloaded, implements a trash
can under GNU/Linux. Through the interception of function calls which
might lead to accidental data loss libtrash effectively ensures that your
data remains protected from your own mistakes.
%package devel
Summary: Libraries to move files to a trash-folder on delete
Group: Development/Libraries
License: GPLv2+
Requires: libtrash = %{version}-%{release}
%description devel
This package contains the libtrash.so dynamic library which, when preloaded,
implements a trash can under GNU/Linux.
%prep
%setup -q
%patch0 -p1 -b .defaults
%patch1 -p1 -b .makefile
%build
CFLAGS=$RPM_OPT_FLAGS make
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir},%{_sysconfdir}}
make install INSTLIBDIR=$RPM_BUILD_ROOT%{_libdir} SYSCONFFILE=$RPM_BUILD_ROOT%{_sysconfdir}/libtrash.conf
rm -f $RPM_BUILD_ROOT/%{_libdir}/libattr.so.3
ln -sf libtrash.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libtrash.so.3
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README TODO COPYING CHANGE.LOG config.txt
%attr(644, root, root) %{_sysconfdir}/libtrash.conf
%config(noreplace) %{_sysconfdir}/libtrash.conf
%{_libdir}/libtrash.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/libtrash.so
%doc README TODO COPYING CHANGE.LOG config.txt
%changelog
* Thu Jul 15 2008 Zdenek Prikryl <zprikryl at redhat.com> 3.2-5
- Fixed permissions on config file
* Wed Jul 09 2008 Zdenek Prikryl <zprikryl at redhat.com> 3.2-4
- Added documentation to devel package
- Minor spec clean up
* Wed Jul 02 2008 Zdenek Prikryl <zprikryl at redhat.com> 3.2-3
- Create devel package
* Thu Jul 01 2008 Zdenek Prikryl <zprikryl at redhat.com> 3.2-2
- Package for Fedora 10
* Thu Mar 06 2008 Zdenek Prikryl <zprikryl at redhat.com> 3.2-1
- Package for Fedora 9
- Previous message (by thread): rpms/libtrash/devel libtrash.spec, NONE, 1.1 libtrash-3.2-makefile.patch, NONE, 1.1 libtrash-3.2-defaults.patch, NONE, 1.1
- Next message (by thread): rpms/im-chooser/devel .cvsignore, 1.25, 1.26 im-chooser.spec, 1.49, 1.50 sources, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list