SPECS: sudosh.spec - up to 2.0.00 - added Makefile patch, install ...

blekot blekot at pld-linux.org
Tue Apr 24 14:07:46 CEST 2007


Author: blekot                       Date: Tue Apr 24 12:07:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.0.00
- added Makefile patch, install workaround
- shell name renamed to eash
- build but needs checkout (%files section)
- build fails when this package is installed (ugly Makefiles)

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

---- Diffs:

================================================================
Index: SPECS/sudosh.spec
diff -u SPECS/sudosh.spec:1.26 SPECS/sudosh.spec:1.27
--- SPECS/sudosh.spec:1.26	Mon Feb 12 23:09:16 2007
+++ SPECS/sudosh.spec	Tue Apr 24 14:07:40 2007
@@ -3,19 +3,22 @@
 Summary(pl.UTF-8):	Powłoka sudo
 Name:		sudosh
 # NB! read changelog before attempting to upgrade to 1.8.x series
-Version:	1.6.3
-Release:	1.1
+Version:	2.0.00
+Release:	0.1
 License:	Open Software License v2.0
 Group:		Applications/Shells
 Source0:	http://dl.sourceforge.net/sudosh/%{name}-%{version}.tar.gz
-# Source0-md5:	700ee8c6060c1512ac0c2731b5727cc6
+# Source0-md5:	bc810e73d615821de0c7ceb716212428
+Patch0:		%{name}-Makefile.am-install.patch
 URL:		http://sourceforge.net/projects/sudosh/
+BuildRequires:	autoconf
+BuildRequires:	automake
 Requires(preun):	sed >= 4.0
 Requires(post):	grep
 Requires:	sudo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_shell		%{_bindir}/%{name}
+%define		_shell		%{_bindir}/eash
 
 %description
 sudosh is a filter that takes advantage of PTY devices in order to sit
@@ -38,16 +41,22 @@
 że sesje można odtwarzać w oryginalnej postaci.
 
 %prep
-%setup -q
+%setup -q -n eas-%{version}
+%patch -p0
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/var/log/%{name}
+install -d $RPM_BUILD_ROOT{/var/log/%{name},%{_bindir},%{_sysconfdir}/certs}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -70,9 +79,15 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS PLATFORMS README
+%doc AUTHORS COPYING ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man[18]/*
+%attr(755,root,root) %{_sbindir}/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/certs/*.pem
+%dir %{_sysconfdir}/css
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/css/*.css 
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/easd_config
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/eash_config
+
 %attr(1733,root,root) %dir /var/log/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -81,6 +96,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007/04/24 12:07:40  blekot
+- up to 2.0.00
+- added Makefile patch, install workaround
+- shell name renamed to eash
+- build but needs checkout (%files section)
+- build fails when this package is installed (ugly Makefiles)
+
 Revision 1.26  2007/02/12 22:09:16  glen
 - tabs in preamble
 
================================================================

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



More information about the pld-cvs-commit mailing list