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