Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
libplatform
libplatform.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libplatform.spec of Package libplatform
# # spec file for package libplatform # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _SO_nr 1_0 Name: libplatform Version: 1.0.10 Release: 0 Summary: Platform support library used by libCEC and binary add-ons for Kodi License: GPL-2.0+ Group: Hardware/TV Url: https://github.com/Pulse-Eight/platform Source: https://github.com/Pulse-Eight/platform/archive/%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Platform support library used by libCEC and binary add-ons for Kodi. %package -n %{name}%{_SO_nr} Summary: Platform support library used by libCEC and binary add-ons for Kodi Group: Hardware/TV %description -n %{name}%{_SO_nr} Platform support library used by libCEC and binary add-ons for Kodi. %package devel Summary: Platform support library used by libCEC development files Group: Development/Languages/C and C++ Requires: %{name}%{_SO_nr} = %{version} %description devel Development files for platform support library used by libCEC. %prep %setup -q -n platform-%{version} %build %cmake make %{?_smp_mflags} %install %cmake_install # use correct path to libdir sed -i 's|/usr//usr/|/usr/|g' %{buildroot}%{_libdir}/pkgconfig/platform.pc %post -n %{name}%{_SO_nr} -p /sbin/ldconfig %postun -n %{name}%{_SO_nr} -p /sbin/ldconfig %files -n %{name}%{_SO_nr} %defattr(-,root,root) %{_libdir}/%{name}.so.%{version} %{_libdir}/%{name}.so.1.0 %files devel %defattr(-,root,root) %{_libdir}/%{name}.so %{_includedir}/platform/ %{_includedir}/platform/posix/ %{_includedir}/platform/sockets/ %{_includedir}/platform/threads/ %{_includedir}/platform/util/ %{_libdir}/pkgconfig/platform.pc %{_libdir}/platform %{_libdir}/platform/platform-config.cmake %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor