]> git.pld-linux.org Git - packages/cccp.git/blob - cccp.spec
- added DESTDIR patch (sent to author)
[packages/cccp.git] / cccp.spec
1 Summary:        Red Connect Console Program
2 Summary(pl):    Tekstowy interfejs do dctc
3 Name:           cccp
4 Version:        0.6
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Communications
8 Source0:        http://members01.chello.se/hampasfirma/%{name}/%{name}.%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
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 Conect 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
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 %patch0 -p1
30
31 %build
32 %{__cc} %{rpmcflags} %{rpmldflags} cccp.c -o cccp
33
34 cd scripts
35 for i in [c-s]*
36 do
37         mv $i dc.$i
38 done
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 make    DESTDIR=$RPM_BUILD_ROOT \
44         BINDIR=%{_bindir} \
45         MANDIR=%{_mandir}/man1/ install
46
47 install scripts/dc.* $RPM_BUILD_ROOT%{_bindir}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README TODO *.html scripts/SCRIPTS
55 %attr(755,root,root) %{_bindir}/*
56 %{_mandir}/man1/*
This page took 0.071135 seconds and 3 git commands to generate.