]>
Commit | Line | Data |
---|---|---|
608aecc1 | 1 | Summary: Autosig - tool for generating .signature and .plan files |
408e133d | 2 | Summary(pl.UTF-8): Autosig - narzędzie do tworzenia plików .signature, .plan |
608aecc1 | 3 | Name: autosig |
4 | Version: 2.3 | |
1832c6de | 5 | Release: 0.2 |
608aecc1 | 6 | License: GPL v2 |
7 | Group: Applications/Console | |
8 | Source0: http://www.irendi.com/~msharpe/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b13ddbef5051b2b2249d5faef61374be | |
462cdcc3 | 10 | URL: http://www.irendi.com/~msharpe/ |
2815d917 | 11 | BuildRequires: sed >= 4.0 |
608aecc1 | 12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
14 | %description | |
15 | Autosig is a small utility for generating .signature files for email | |
16 | and .plan files for finger. | |
17 | ||
d17a16de JR |
18 | %description -l pl.UTF-8 |
19 | Autosig jest prostym narzędziem generującym pliki .signature oraz | |
608aecc1 | 20 | .plan. |
21 | ||
22 | %prep | |
23 | %setup -q | |
24 | ||
25 | %build | |
608aecc1 | 26 | %{__make} \ |
1832c6de AG |
27 | DEFINES="%{rpmcflags} -DNEED_BASENAME" \ |
28 | CC="%{__cc}" | |
608aecc1 | 29 | |
2d0bcdec | 30 | %{__sed} -i 's/quotes/\/usr\/share\/autosig\/quotes/' chplan |
31 | %{__sed} -i 's/dotplannc/\/usr\/share\/autosig\/dotplannc/' chplan | |
32 | %{__sed} -i 's/planFile=dotplan/planFile=$quoteFile/' chplan | |
33 | %{__sed} -i 's/quotes/\/usr\/share\/autosig\/quotes/' selm | |
34 | %{__sed} -i 's/dotsignc/\/usr\/share\/autosig\/dotsignc/' selm | |
35 | %{__sed} -i 's/quotes/\/usr\/share\/autosig\/quotes/' chsig | |
36 | %{__sed} -i 's/dotsignc/\/usr\/share\/autosig\/dotsignc/' chsig | |
608aecc1 | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} | |
42 | ||
1832c6de | 43 | install autosig autosigd chplan chsig selm smutt $RPM_BUILD_ROOT%{_bindir} |
2815d917 | 44 | install dotplannc dotsignc quotes $RPM_BUILD_ROOT%{_datadir}/%{name} |
608aecc1 | 45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc README | |
52 | %attr(755,root,root) %{_bindir}/* | |
615c38f6 | 53 | %{_datadir}/%{name} |