]> git.pld-linux.org Git - packages/platform.git/blob - platform.spec
- initial
[packages/platform.git] / platform.spec
1 Summary:        Platform support library used by libCEC and binary add-ons for Kodi
2 Name:           platform
3 Version:        2.1.0.1
4 Release:        1
5 License:        GPL v2+
6 URL:            https://github.com/Pulse-Eight/platform/
7 Source0:        https://github.com/Pulse-Eight/platform/archive/p8-%{name}-%{version}.tar.gz
8 # Source0-md5:  3b9b00b7e0bb43532518741c1e30a2d7
9 BuildRequires:  cmake
10 BuildRequires:  libstdc++-devel
11
12 %description
13 Platform support library used by libCEC and binary add-ons for Kodi.
14
15 %package devel
16 Summary:        Development files for %{name}
17 Requires:       %{name} = %{version}-%{release}
18 Requires:       cmake
19
20 %description devel
21 The %{name}-devel package contains libraries and header files for
22 developing applications that use %{name}.
23
24 %prep
25 %setup -q -n %{name}-p8-%{name}-%{version}
26
27 %build
28 install -d build
29 cd build
30 %cmake ..
31
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} -C build install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %post   -p /sbin/ldconfig
44 %postun -p /sbin/ldconfig
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README.md
49 %attr(755,root,root) %{_libdir}/libp8-%{name}.so.*.*
50 %attr(755,root,root) %ghost %{_libdir}/libp8-%{name}.so.2
51
52 %files devel
53 %defattr(644,root,root,755)
54 %{_includedir}/p8-%{name}
55 %attr(755,root,root) %{_libdir}/libp8-%{name}.so
56 %{_libdir}/p8-%{name}
57 %{_pkgconfigdir}/p8-%{name}.pc
This page took 0.068913 seconds and 4 git commands to generate.