Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
libhdhomerun
libhdhomerun.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libhdhomerun.spec of Package libhdhomerun
# # spec file for package libhdhomerun # # Copyright (c) 2015 SUSE LINUX Products 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 Name: libhdhomerun BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: pkg-config BuildRequires: update-desktop-files Version: 20150615 Release: 0 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 Summary: HDHomeRun library License: LGPL-2.1 Group: Productivity/Other Url: http://www.silicondust.com Patch0: Makefile.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 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 Group: Development/Libraries/Other Provides: libhdhomerun:/usr/include/libhdhomerun/hdhomerun.h Requires: libhdhomerun%{SO_NR} = %{version} %description devel Development libraries needed to build applications with libhdhomerun. %package -n hdhomerun_config Summary: HDHomeRun Config tool License: LGPL-2.1 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 Group: Productivity/Other Requires: libhdhomerun1 = %{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 %patch0 %build ln -s libhdhomerun.so.%{SO_NR} ../libhdhomerun/libhdhomerun.so CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr make 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 # docs cp lgpl.txt COPYING # 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} %defattr(-,root,root) %attr(0755,root,root) %{_libdir}/libhdhomerun.so.%{SO_NR}* %doc ../libhdhomerun/README ../libhdhomerun/COPYING %files devel %defattr(-,root,root) %{_includedir}/libhdhomerun %{_libdir}/libhdhomerun.so %files -n hdhomerun_config %defattr(-,root,root) %{_bindir}/hdhomerun_config %files -n hdhomerun_config_gui %defattr(-,root,root) %attr(0755,root,root) %{_bindir}/hdhomerun_config_gui %{_datadir}/applications/hdhomerun_config_gui.desktop %{_datadir}/icons/hicolor/32x32/apps/hdhomerun_config_gui.png %doc 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