]> git.pld-linux.org Git - packages/cphone.git/blame - cphone.spec
- very raw...
[packages/cphone.git] / cphone.spec
CommitLineData
2d784d3a
PG
1Summary: cphone
2Name: cphone
3Version: 0.3.0
4Release: 0.1
5License: MPL v1
6Group: X11/Applications/Networking
7Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
8# Source0-md5: a5b85ede474768b5c03f1d47aec5f07c
9Patch0: %{name}-Makefile.patch
10Patch1: %{name}-comp_fix.patch
11URL: http://cphone.sourceforge.net/
12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: pwlib-devel >= 1.5.0
15BuildRequires: openh323-devel >= 1.12.0
16BuildRequires: qt-devel >= 3.1.2
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _prefix /usr/X11R6
20
21%description
22
23%prep
24%setup -q
25%patch0 -p1
26%patch1 -p1
27
28%build
29%{__make} opt \
30QTDIR="%{_prefix}" \
31OPENH323DIR="/usr" \
32CFLAGS="-I%{_prefix}/include"
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT%{_bindir}
37
38install obj_linux_x86_r/%{name} $RPM_BUILD_ROOT%{_bindir}
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%attr(755,root,root) %{_bindir}/*
This page took 0.046727 seconds and 4 git commands to generate.