]>
Commit | Line | Data |
---|---|---|
184ec27a | 1 | Summary: Execute a program (with arguments) on a new tty |
38d8ec0e | 2 | Summary(pl.UTF-8): Uruchamia program (z argumentami) na nowym tty |
184ec27a | 3 | Name: doprog |
4 | Version: 2.2 | |
c02b5bcb | 5 | Release: 2 |
184ec27a | 6 | License: GPL |
d87a81e4 | 7 | Group: Applications/Terminal |
184ec27a | 8 | Source0: ftp://ftp.tpnet.pl/pub/sunsite.unc.edu/utils/console/%{name}-%{version}.tar.gz |
3a634a87 | 9 | # Source0-md5: 3b3bc51111503f0fc3a549fe5ea280ff |
184ec27a | 10 | URL: http://www.eleves.ens.fr:8080/home/rideau/Tunes/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | This is a simplistic utility to spawn programs on new ttys. | |
15 | ||
fba2ac74 JR |
16 | %description -l pl.UTF-8 |
17 | Proste narzędzie za pomocą którego możemy uruchomić program na nowym | |
18 | lub już istniejącym tty. | |
184ec27a | 19 | |
20 | %prep | |
d9a5d16f | 21 | %setup -q |
184ec27a | 22 | |
23 | %build | |
6cb5e610 | 24 | %{__make} \ |
25 | CFLAGS="%{rpmcflags}" \ | |
26 | CC="%{__cc}" \ | |
27 | LDFLAGS="%{rpmldflags}" | |
184ec27a | 28 | |
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
b690cff5 | 31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} |
184ec27a | 32 | |
33 | install doprog $RPM_BUILD_ROOT%{_bindir} | |
b690cff5 | 34 | install doprog.8 $RPM_BUILD_ROOT%{_mandir}/man8/ |
184ec27a | 35 | |
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
b690cff5 | 41 | %doc README |
d9a5d16f | 42 | %attr(755,root,root) %{_bindir}/* |
b690cff5 | 43 | %{_mandir}/man8/* |