SPECS: devtodo.spec - devtodo.sh and devtodo.csh profile scripts

blues blues at pld-linux.org
Wed Sep 10 11:44:31 CEST 2008


Author: blues                        Date: Wed Sep 10 09:44:30 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- devtodo.sh and devtodo.csh profile scripts

---- Files affected:
SPECS:
   devtodo.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/devtodo.spec
diff -u SPECS/devtodo.spec:1.26 SPECS/devtodo.spec:1.27
--- SPECS/devtodo.spec:1.26	Tue Sep  9 22:40:22 2008
+++ SPECS/devtodo.spec	Wed Sep 10 11:44:25 2008
@@ -9,6 +9,8 @@
 #Source0Download: http://swapoff.org/DevTodo
 Source0:	http://swapoff.org/files/devtodo/%{name}-%{version}.tar.gz
 # Source0-md5:	4a6241437cb56f237f850bcd2233c3c4
+Source1:	%{name}.sh
+Source2:	%{name}.ch
 Patch0:		%{name}-stdlib_fix.patch
 URL:		http://swapoff.org/DevTodo
 BuildRequires:	autoconf
@@ -55,6 +57,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/etc/profile.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -67,14 +70,18 @@
 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdr.1
 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/todo.1
 
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS QuickStart README doc/todorc.example doc/*sh
-%attr(755,root,root) %{_bindir}/*
+%config(noreplace,missingok) %verify(not md5 mtime size) /etc/profile.d/*
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -83,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008/09/10 09:44:25  blues
+- devtodo.sh and devtodo.csh profile scripts
+
 Revision 1.26  2008/09/09 20:40:22  blues
 - rel.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/devtodo.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list