]>
Commit | Line | Data |
---|---|---|
c7e40d58 | 1 | %define _rc test5 |
2 | ||
3 | Summary: Cabber - console Jabber client | |
4 | Summary(pl): Cabber - konsolowy klient Jabbera | |
5 | Name: cabber | |
6 | Version: 0.4.0 | |
3ba6523f | 7 | Release: 0.%{_rc}.1 |
c7e40d58 | 8 | License: GPL |
9 | Group: Applications/Communications | |
10 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.bz2 | |
11 | # Source0-md5: f14914b71d6f6f5b9edddd2e883c3784 | |
12 | URL: http://cabber.sourceforge.net/ | |
13 | BuildRequires: ncurses-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Cabber is a console Jabber client. | |
18 | ||
19 | %description -l pl | |
20 | Cabber to konsolowy klient JAbbera | |
21 | ||
22 | %prep | |
23 | %setup -q -n %{name}-%{version}-%{_rc} | |
24 | ||
25 | %build | |
26 | rm -f missing | |
27 | ||
28 | %{__make} \ | |
29 | CFLAGS="-I/usr/include/ncurses" | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | ||
36 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
671cb795 | 43 | %doc cabberrc.example Changelog README |
c7e40d58 | 44 | %attr(755,root,root) %{_bindir}/* |