]> git.pld-linux.org Git - packages/cabber.git/blob - cabber.spec
- pass CC, add %{rpmcflags} to CFLAGS
[packages/cabber.git] / cabber.spec
1 %define         _rc     test1
2
3 Summary:        Cabber - console Jabber client
4 Summary(pl):    Cabber - konsolowy klient Jabbera
5 Name:           cabber
6 Version:        0.5.0
7 Release:        0.%{_rc}.1
8 License:        GPL
9 Group:          Applications/Communications
10 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{_rc}.tar.gz
11 # Source0-md5:  3c500c721c167a39f5d0d49243a97514
12 URL:            http://cabber.sourceforge.net/
13 BuildRequires:  ncurses-ext-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         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
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)
44 %doc ACKNOWLEDGEMENT cabberrc.example Changelog README
45 %attr(755,root,root) %{_bindir}/*
This page took 0.085951 seconds and 3 git commands to generate.