Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
libhdhomerun
libhdhomerun.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhdhomerun.spec of Package libhdhomerun
# # spec file for package libhdhomerun # # Copyright (c) 2019 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 https://bugs.opensuse.org/ # %define SO_NR 2 Name: libhdhomerun Version: 20190621 Release: 0 Summary: HDHomeRun library License: LGPL-2.1-only Group: Productivity/Other URL: http://www.silicondust.com Source0: http://download.silicondust.com/hdhomerun/libhdhomerun_%{version}.tgz Source1: http://download.silicondust.com/hdhomerun/hdhomerun_config_gui_%{version}.tgz Source2: hdhomerun_config_gui.desktop Source3: hdhomerun_config_gui.png Patch0: Makefile.patch BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files %description HDHomeRun configuration library allows you to discover HDHomeRun ATSC/QAM/DVB TV tuners on the network. It can configure the tuners, scan for channels, and retrieve information, including signal strength. A shared library is included for linking by client applications and a simple console application is included for scripting. %package -n libhdhomerun%{SO_NR} Summary: HDHomeRun library License: LGPL-2.1-only Group: Productivity/Other %description -n libhdhomerun%{SO_NR} HDHomeRun configuration library allows you to discover HDHomeRun ATSC/QAM/DVB TV tuners on the network. It can configure the tuners, scan for channels, and retrieve information, including signal strength. A shared library is included for linking by client applications and a simple console application is included for scripting. %package devel Summary: HDHomeRun library License: LGPL-2.1-only Group: Development/Libraries/Other Requires: libhdhomerun%{SO_NR} = %{version} Provides: libhdhomerun:%{_includedir}/libhdhomerun/hdhomerun.h %description devel Development libraries needed to build applications with libhdhomerun. %package -n hdhomerun_config Summary: HDHomeRun Config tool License: LGPL-2.1-only Group: Productivity/Other %description -n hdhomerun_config hdhomerun_config is a command line tool to discover, configure, and scan HDHomeRun TV tuners. The tool can also be used to update the tuner's firmware. Firmware updates can be downloaded from http://www.silicondust.com/support/hdhomerun/downloads/linux %package -n hdhomerun_config_gui Summary: HDHomeRun GTK GUI License: GPL-3.0-only Group: Productivity/Other Requires: libhdhomerun%{SO_NR} = %{version} %description -n hdhomerun_config_gui The HDHomeRun Config GUI is a GUI tool to discover, configure, and scan HDHomeRun TV tuners. The tool can also be used to update the tuner's firmware. Firmware updates can be downloaded from http://www.silicondust.com/support/hdhomerun/downloads/linux %prep %setup -q -b 1 -n hdhomerun_config_gui cd ../libhdhomerun %patch -P 0 %build ln -s libhdhomerun.so.%{SO_NR} ../libhdhomerun/libhdhomerun.so %configure make %{?_smp_mflags} all %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_libdir} mkdir -p %{buildroot}/%{_includedir}/libhdhomerun # hdhomerun_config_gui cp src/hdhomerun_config_gui %{buildroot}/%{_bindir} cd ../libhdhomerun # libraries cp libhdhomerun.so.%{SO_NR} %{buildroot}/%{_libdir} ln -s libhdhomerun.so.%{SO_NR} %{buildroot}/%{_libdir}/libhdhomerun.so # binaries cp hdhomerun_config %{buildroot}/%{_bindir} # headers cp hdhomerun.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_os.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_os_posix.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_types.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_pkt.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_sock.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_debug.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_discover.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_control.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_video.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_channels.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_channelscan.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_device.h %{buildroot}/%{_includedir}/libhdhomerun cp hdhomerun_device_selector.h %{buildroot}/%{_includedir}/libhdhomerun # desktop stuff mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps cp %{SOURCE3} %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps mkdir -p %{buildroot}/%{_datadir}/applications cp %{SOURCE2} %{buildroot}/%{_datadir}/applications %suse_update_desktop_file hdhomerun_config_gui %post -n libhdhomerun%{SO_NR} -p /sbin/ldconfig %postun -n libhdhomerun%{SO_NR} -p /sbin/ldconfig %files -n libhdhomerun%{SO_NR} %attr(0755,root,root) %{_libdir}/libhdhomerun.so.%{SO_NR}* %license ../libhdhomerun/LICENSE %doc ../libhdhomerun/README.md %files devel %{_includedir}/libhdhomerun %{_libdir}/libhdhomerun.so %files -n hdhomerun_config %{_bindir}/hdhomerun_config %files -n hdhomerun_config_gui %attr(0755,root,root) %{_bindir}/hdhomerun_config_gui %{_datadir}/applications/hdhomerun_config_gui.desktop %{_datadir}/icons/hicolor/32x32/apps/hdhomerun_config_gui.png %license COPYING %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