summaryrefslogtreecommitdiff
path: root/rpm/baresip.spec
blob: cdafcf5c96f05b1fd2d39c243e20a0c80519b940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
%define name     baresip
%define ver      0.4.10
%define rel      1

Summary: Modular SIP useragent
Name: %name
Version: %ver
Release: %rel
License: BSD
Group: Applications/Internet
Source0: file://%{name}-%{version}.tar.gz
URL: http://www.creytiv.com/
Vendor: Creytiv
Packager: Alfred E. Heggestad <aeh@db.org>
BuildRoot: /var/tmp/%{name}-build-root

%description
Baresip is a portable and modular SIP User-Agent with audio and video support

%prep
%setup

%build
make RELEASE=1

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install \
%ifarch x86_64
	LIBDIR=/usr/lib64
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/chkconfig --add baresip
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_bindir}/* 
%{_libdir}/%name/modules/*.so
/usr/share/%name/*
%doc


%changelog
* Fri Nov 5 2010 Alfred E. Heggestad <aeh@db.org> -
- Initial build.