]> git.pld-linux.org Git - packages/bctoolbox.git/blob - bctoolbox.spec
- initial
[packages/bctoolbox.git] / bctoolbox.spec
1 Summary:        Utility library for software from Belledonne Communications
2 Name:           bctoolbox
3 Version:        0.6.0
4 Release:        1
5 License:        GPL v2+
6 Group:          Libraries
7 Source0:        https://linphone.org/releases/sources/bctoolbox/%{name}-%{version}.tar.gz
8 # Source0-md5:  aeeac76938dd3b82a17ff498f81caef2
9 URL:            https://linphone.org/
10 BuildRequires:  bcunit-devel
11 BuildRequires:  cmake
12 BuildRequires:  mbedtls-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Utilities library used by Belledonne Communications softwares like
17 belle-sip, mediastreamer2 and linphone.
18
19 %package devel
20 Summary:        Header files and develpment documentation for bctoolbox
21 Group:          Development/Libraries
22 Requires:       %{name} = %{epoch}:%{version}-%{release}
23
24 %description devel
25 Header files and develpment documentation for bctoolbox.
26
27 %prep
28 %setup -q
29
30 %build
31 install -d build
32 cd build
33 %{cmake} ..
34
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} -C build install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post   -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS NEWS README.md
52 %attr(755,root,root) %{_libdir}/libbctoolbox.so.*
53 %attr(755,root,root) %{_libdir}/libbctoolbox-tester.so.*
54
55 %files devel
56 %defattr(644,root,root,755)
57 %attr(755,root,root) %{_libdir}/libbctoolbox.so
58 %attr(755,root,root) %{_libdir}/libbctoolbox-tester.so
59 %{_includedir}/bctoolbox
60 %{_pkgconfigdir}/bctoolbox.pc
61 %{_pkgconfigdir}/bctoolbox-tester.pc
62 %{_datadir}/bctoolbox
This page took 0.147574 seconds and 3 git commands to generate.