]>
Commit | Line | Data |
---|---|---|
b112adea | 1 | %define _rc test1 |
c7e40d58 | 2 | |
3 | Summary: Cabber - console Jabber client | |
4 | Summary(pl): Cabber - konsolowy klient Jabbera | |
5 | Name: cabber | |
b112adea | 6 | Version: 0.5.0 |
3ba6523f | 7 | Release: 0.%{_rc}.1 |
c7e40d58 | 8 | License: GPL |
9 | Group: Applications/Communications | |
b112adea | 10 | Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.gz |
11 | # Source0-md5: 3c500c721c167a39f5d0d49243a97514 | |
c7e40d58 | 12 | URL: http://cabber.sourceforge.net/ |
b112adea | 13 | BuildRequires: ncurses-ext-devel |
c7e40d58 | 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} \ | |
adb1cadc | 29 | CC="%{__cc}" \ |
30 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" | |
c7e40d58 | 31 | |
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
b112adea | 44 | %doc ACKNOWLEDGEMENT cabberrc.example Changelog README |
c7e40d58 | 45 | %attr(755,root,root) %{_bindir}/* |