Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:playmarket
libhdhomerun
libhdhomerun.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhdhomerun.spec of Package libhdhomerun
# vim: set ts=4 sw=4 et: # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. Name: libhdhomerun Version: 20190621 %define soname 2 Release: 1699.1.pm.27 Summary: HD library for your pc Group: System/Libraries License: GPL-2.0 Url: http://www.silicondust.com BuildRequires: glibc-devel gcc make pkgconfig # http://download.silicondust.com/hdhomerun/libhdhomerun_%{version}.tgz Source: libhdhomerun_%{version}.tgz Patch1: libhdhomerun-fix_makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Main library to make HD HomeRUN products works with Linux %package -n %{name}%{soname} Summary: HD library for your PC Group: System/Libraries %description -n %{name}%{soname} Main library to make HD HomeRUN products works with Linux. %package devel Summary: HD library for your PC Group: Development/Libraries/C and C++ Requires: %{name}%{soname} = %{version} %description devel Development environment for %{name}. %package -n hdhomerun-config Summary: HD HomeRUN Configuration Tool Group: Productivity/Multimedia/Other Requires: %{name}%{soname} = %{version} %description -n hdhomerun-config Command-line tool to configure parameters to use HD HomeRUN. %prep %setup -q -n libhdhomerun %patch1 %__chmod 0644 * %__sed -i -e 's/\r$//' README.md %build %__make %{?_smp_flags} SONAME="%{soname}" OPTFLAGS="%{optflags}" %install %__install -D -m0755 hdhomerun_config "%{buildroot}%{_bindir}/hdhomerun_config" %__ln_s hdhomerun_config "%{buildroot}%{_bindir}/hdhomerun-config" %__install -d "%{buildroot}%{_libdir}" %__cp -a lib*.so* "%{buildroot}%{_libdir}/" %__install -d "%{buildroot}%{_includedir}/hdhomerun" %__install -m0644 *.h "%{buildroot}%{_includedir}/hdhomerun/" %__install -d "%{buildroot}%{_libdir}/pkgconfig" cat<<'EOF' >"%{buildroot}%{_libdir}/pkgconfig/libhdhomerun.pc" prefix=%{_prefix} exec_prefix=%{_exec_prefix} libdir=%{_libdir} includedir=%{_includedir}/hdhomerun Name: %{name} Description: Library to use HD HomeRUN Version: %{version} Requires: Cflags: -I${includedir} Libs: -L${libdir} -lhdhomerun EOF %clean %{?buildroot:%__rm -rf "%{buildroot}"} %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig %files -n %{name}%{soname} %defattr(-,root,root) %doc README.md %{_libdir}/libhdhomerun.so.%{soname} %files devel %defattr(-,root,root) %{_includedir}/hdhomerun %{_libdir}/libhdhomerun.so %{_libdir}/pkgconfig/libhdhomerun.pc %files -n hdhomerun-config %defattr(-,root,root) %{_bindir}/hdhomerun_config %{_bindir}/hdhomerun-config %changelog * Tue Oct 29 2019 <manfred.h@gmx.net> - Update patch: libhdhomerun-fix_makefile.patch - Version update to 20190621 https://www.silicondust.com/support/downloads/software-changelog/ * Sat Oct 8 2016 joerg.lorenzen@ki.tng.de - Removed service file because build often fails with 'bad temdir' and only sometimes succeeds. Thu Mar 10 17:16:36 UTC 2016 - sagiben at gmail dot com - Version update to 20150826 https://www.silicondust.com/support/downloads/software-changelog/ * Sun Mar 6 2011 pascal.bleser@opensuse.org - refactored spec file: * add pkgconfig file * proper shared library policy * add proper SONAME to library
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