]>
Commit | Line | Data |
---|---|---|
1 | Summary: Red Connect Console Program | |
2 | Summary(pl.UTF-8): Tekstowy interfejs do dctc | |
3 | Name: cccp | |
4 | Version: 0.9 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/Communications | |
8 | Source0: http://members01.chello.se/hampasfirma/%{name}/%{name}.%{version}.tar.gz | |
9 | # Source0-md5: 44500b5077a9791d9c5eeaeace6ef34b | |
10 | URL: http://members01.chello.se/hampasfirma/cccp/ | |
11 | Requires: dctc | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | CCCP is a console front end to the Direct Connect Text Client. | |
16 | DCTC is a library that gives access to the direct connect world. | |
17 | CCCP is a console based front end to that library. CCCP is | |
18 | designed to allow both scripting and command line interaction. | |
19 | ||
20 | %description -l pl.UTF-8 | |
21 | CCCP jest konsolowym frontendem do Direct Connect Text Client. | |
22 | DCTC jest biblioteką, która daje dostęp do Świata Bezpośrednich | |
23 | Połączeń, a CCCP jest konsolowym frontendem do tej biblioteki. | |
24 | CCCP został stworzony, aby pozwolić jednocześnie na interaktywną | |
25 | oraz skryptową pracę. | |
26 | ||
27 | %prep | |
28 | %setup -q -n %{name}.%{version} | |
29 | ||
30 | %build | |
31 | %{__cc} %{rpmcflags} %{rpmldflags} cccp.c -o cccp | |
32 | ||
33 | cd scripts | |
34 | for i in [c-s]* | |
35 | do | |
36 | mv $i dc.$i | |
37 | done | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | make install \ | |
43 | DESTDIR=$RPM_BUILD_ROOT \ | |
44 | BINDIR=%{_bindir} \ | |
45 | MANDIR=%{_mandir}/man1 | |
46 | ||
47 | mv $RPM_BUILD_ROOT%{_mandir}/man1/cccp.1 $RPM_BUILD_ROOT%{_mandir}/man1/rccp.1 | |
48 | install scripts/dc.* $RPM_BUILD_ROOT%{_bindir} | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc README TODO *.html scripts/SCRIPTS | |
56 | %attr(755,root,root) %{_bindir}/* | |
57 | %{_mandir}/man1/* |