Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos
streamtuner2
streamtuner2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File streamtuner2.spec of Package streamtuner2
# # spec file for package streamtuner2 # # Copyright (c) 2014 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/ # Name: streamtuner2 Version: 2.2.2 Release: 1 Summary: GUI Interface for Internet Radio Directories License: PDDL-1.0 Url: http://milki.include-once.org/streamtuner2/ Group: Productivity/Networking/Web/Browsers Source: http://downloads.sourceforge.net/project/streamtuner2/%{name}-%{version}.src.txz Patch1: streamtuner2-fix_paths.patch #Patch2: streamtuner2-fix_desktop.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-gtk BuildRequires: python3-lxml BuildRequires: python3-xdg BuildRequires: python3-pyquery #BuildRequires: python-keybinder BuildRequires: python3-Pillow BuildRequires: python3-requests BuildRequires: yelp BuildRequires: fdupes BuildRequires: update-desktop-files Requires: python-gtk Requires: python3-lxml Requires: python3-xdg Requires: python3-pyquery #Requires: python3-keybinder Requires: python3-Pillow Requires: python3-requests Suggests: youtube-dl %py_requires %description Streamtuner2 is an internet radio browser. It looks up the categorized music stations from various directory services, like: * SHOUTcast (works mostly) * Xiph.org / icecast (basic function) * live365 (standard) * DMOZ/Google stations (ported from st1) It is written in Python and therefore easy to extend. It mimics streamtuner1 in look and feel, but is an independent rewrite. %prep %setup -q -n "%{name}" %patch -P 1 -p1 #%%patch -P 2 # rpmlint find . -type f -exec sed -i -e 's|\/usr\/bin\/env python|\/usr\/bin\/python|g' {} \; %build %install %__rm help/guiseq # rpmlint %__rm .zip.py #%%__install -D -m 755 st2.py %%{buildroot}/%%{_bindir}/%%{name} %__install -D -m 755 bin %{buildroot}/%{_bindir}/%{name} %__install -D -m 644 %{name}.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop %__install -D -m 644 %{name}.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png %__mkdir %{buildroot}/%{_datadir}/%{name} #%%__install -m 644 gtk3.xml %%{buildroot}/%%{_datadir}/%%{name}/ %__install -m 644 gtk3.xml.gz %{buildroot}/%{_datadir}/%{name}/ files=`find . -maxdepth 1 -type f -name "*.py" -or -name "*.png" -or -name "*.glade"` for f in $files do %__install -m 644 $f %{buildroot}/%{_datadir}/%{name}/ done %__mkdir %{buildroot}/%{_datadir}/%{name}/channels pushd channels files=`find . -maxdepth 1 -type f -name "*.py" -or -name "*.png"` for f in $files do %__install -m 644 $f %{buildroot}/%{_datadir}/%{name}/channels/ done popd %__mkdir_p %{buildroot}/%{_docdir}/%{name}/help #pushd help #files=`find . -maxdepth 1 -type f -name "*.page"` #for f in $files # do %%__install -m 644 $f %%{buildroot}/%%{_docdir}/%%{name}/help/ #done #popd %__cp -r help/* %{buildroot}/%{_docdir}/%{name}/help/ %__rm %{buildroot}/%{_docdir}/%{name}/help/streamtuner2.1 %__install -m 644 README %{buildroot}/%{_docdir}/%{name}/ %__mkdir_p %{buildroot}/%{_mandir}/man1 %__install -m 644 help/streamtuner2.1 %{buildroot}/%{_mandir}/man1/ %suse_update_desktop_file -r %{name} AudioVideo Tuner %fdupes -s %{buildroot} %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-, root, root) %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %dir %{_datadir}/%{name} %{_datadir}/%{name}/*.py %{_datadir}/%{name}/*.png %{_datadir}/%{name}/gtk3.xml* %dir %{_datadir}/%{name}/channels %{_datadir}/%{name}/channels/*.py %{_datadir}/%{name}/channels/*.png %dir %doc %{_docdir}/%{name} %dir %doc %{_docdir}/%{name}/help %doc %{_docdir}/%{name}/README %doc %{_docdir}/%{name}/help/* %doc %{_mandir}/man1/streamtuner2.1%{ext_man} %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