poprawione autosig

Dariusz Rojewski darekr w darekr.eu.org
Pią, 20 Sie 2004, 19:48:36 CEST


Już okej?

-- 
Dariusz (darekr) Rojewski /* 693058123 */
mailto: darekr w darekr.eu.org
JID   : darusr w histeria.pl
-------------- następna część ---------
# $Revision: 1.28 $, $Date: 2004/07/01 23:41:04 $
Summary:	Autosig - tool for generating .signature and .plan files
Summary(pl):	Autosig - narzędzie do tworzenia plików .signature, .plan
Name:		autosig
Version:	2.3
Release:	1
License:	GPL
Group:		Applications/Console
Source0:	http://www.irendi.com/~msharpe/%{name}-%{version}.tar.gz
# Source0-md5:	b13ddbef5051b2b2249d5faef61374be
URL:		http://www.irendi.com/~msharpe
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
Autosig is a small utility for generating .signature files for email
and .plan files for finger.

%description -l pl
Autosig jest prostym narzędziem generującym pliki .signature oraz
.plan.

%prep
%setup -q

%build

%{__make} \
	FLAGS="%{rpmcflags}"

%install
rm -rf $RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}

install autosig $RPM_BUILD_ROOT%{_bindir}
install	autosigd $RPM_BUILD_ROOT%{_bindir}
install	chplan $RPM_BUILD_ROOT%{_bindir}
install	chsig $RPM_BUILD_ROOT%{_bindir}
install	selm $RPM_BUILD_ROOT%{_bindir}
install	smutt $RPM_BUILD_ROOT%{_bindir}

install quotes $RPM_BUILD_ROOT%{_datadir}/%{name}
install dotplannc $RPM_BUILD_ROOT%{_datadir}/%{name}
install dotsignc $RPM_BUILD_ROOT%{_datadir}/%{name}

sed -i 's/quotes/\/usr\/share\/autosig\/quotes/' $RPM_BUILD_ROOT%{_bindir}/chplan

sed -i 's/dotplannc/\/usr\/share\/autosig\/dotplannc/' $RPM_BUILD_ROOT%{_bindir}/chplan

sed -i 's/planFile=dotplan/planFile=$quoteFile/' $RPM_BUILD_ROOT%{_bindir}/chplan


sed -i 's/quotes/\/usr\/share\/autosig\/quotes/' $RPM_BUILD_ROOT%{_bindir}/selm
sed -i 's/dotsignc/\/usr\/share\/autosig\/dotsignc/' $RPM_BUILD_ROOT%{_bindir}/selm

sed -i 's/quotes/\/usr\/share\/autosig\/quotes/' $RPM_BUILD_ROOT%{_bindir}/chsig
sed -i 's/dotsignc/\/usr\/share\/autosig\/dotsignc/' $RPM_BUILD_ROOT%{_bindir}/chsig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README
%attr(755,root,root) %{_bindir}/*
%{_datadir}/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log:$


Więcej informacji o liście dyskusyjnej pld-devel-pl