]> git.pld-linux.org Git - packages/cccp.git/blob - cccp.spec
- 0.9
[packages/cccp.git] / cccp.spec
1 Summary:        Red Connect Console Program
2 Summary(pl):    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 URL:            http://members01.chello.se/hampasfirma/cccp/
10 Requires:       dctc
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 CCCP is a console front end to the Direct Connect Text Client.
15 DCTC is a library that gives access to the direct connect world.
16 CCCP is a console based front end to that library. CCCP is 
17 designed to allow both scripting and command line interaction.
18
19 %description -l pl
20 CCCP jest konsolowym frontendem do Direct Connect Text Client.
21 DCTC jest bibliotek±, która daje dostêp do ¦wiata Bezpo¶rednich
22 Po³±czeñ, a CCCP jest konsolowym frontendem do tej biblioteki.
23 CCCP zosta³ stworzony, aby pozwoliæ jednocze¶nie na interaktywn±
24 oraz skryptow± pracê.
25
26 %prep
27 %setup -q -n %{name}.%{version}
28
29 %build
30 %{__cc} %{rpmcflags} %{rpmldflags} cccp.c -o cccp
31
32 cd scripts
33 for i in [c-s]*
34 do
35         mv $i dc.$i
36 done
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 make    DESTDIR=$RPM_BUILD_ROOT \
42         BINDIR=%{_bindir} \
43         MANDIR=%{_mandir}/man1/ install
44
45 mv $RPM_BUILD_ROOT%{_mandir}/man1/cccp.1 $RPM_BUILD_ROOT%{_mandir}/man1/rccp.1
46 install scripts/dc.* $RPM_BUILD_ROOT%{_bindir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README TODO *.html scripts/SCRIPTS
54 %attr(755,root,root) %{_bindir}/*
55 %{_mandir}/man1/*
This page took 0.073179 seconds and 3 git commands to generate.