Projects
Multimedia
gpodder3
gpodder3.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpodder3.spec of Package gpodder3 (Revision 10)
Currently displaying revision
10
,
Show latest
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # # 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/ # vim: set ts=4 sw=4 et: %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} Name: gpodder3 Version: 3.5.0 Release: 0.pm.1 Summary: Podcast Receiver Source: http://gpodder.org/src/gpodder-%{version}.tar.gz Source99: gpodder3-rpmlintrc URL: http://gpodder.org Group: Productivity/Networking/Other License: GPL-3.0+ BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gettext gettext-devel intltool help2man ImageMagick BuildRequires: python python-devel make update-desktop-files fdupes BuildRequires: python-feedparser BuildRequires: python-mygpoclient >= 1.4 BuildRequires: hicolor-icon-theme # not actually needed, but to make the build fail if the runtime # dependencies are not available: BuildRequires: python-gtk BuildRequires: python-feedparser BuildRequires: python-mygpoclient >= 1.4 BuildRequires: dbus-1-python BuildRequires: libgpod-python BuildRequires: python-pymad BuildRequires: python-eyeD3 BuildRequires: vorbis-tools BuildRequires: MPlayer BuildRequires: lame Requires: python-gtk Requires: python-feedparser Requires: python-mygpoclient >= 1.4 Requires: dbus-1-python Requires: libgpod-python Requires: python-pymad Requires: python-eyeD3 Requires: vorbis-tools Requires: MPlayer Requires: lame %if 0%{?suse_version} < 1120 BuildRequires: python-sqlite2 Requires: python-sqlite2 %endif %py_requires %if %suse_version >= 1120 BuildArch: noarch %endif Conflicts: gpodder < 3.0.0 %description gPodder manages Podcasts for you and automatically downloads selected episodes from as many channels as you like. Synchronization support is available for iPods and filesystem-based MP3 players, but Podcasts can (of course) also be played with any desktop player application. %prep %setup -q -n "gpodder-%{version}" %build %install %makeinstall PREFIX="%{_prefix}" # remove invalid locale dir %__rm -rf "%{buildroot}%{_datadir}/locale/kk" # remove shebangs from .py files that are in sitelib: find "%{buildroot}%{python_sitelib}/" -name '*.py' \ | while read f; do case $(head -1 "$f") in \#!*) %__sed -i '1d' "$f" ;; esac done # recompile all .py files because their timestamp doesn't match find "%{buildroot}%{python_sitelib}/" -name '*.pyc' -exec %__rm {} \; %__python -c 'import compileall; compileall.compile_dir("%{buildroot}%{python_sitelib}/", ddir="%{python_sitelib}", force=1)' %__rm -rf "%{buildroot}%{_datadir}/icons"/*/{26,40}x* %fdupes -s "%{buildroot}%{_datadir}" %suse_update_desktop_file -r gpodder Network FileTransfer %find_lang gpodder %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f gpodder.lang %defattr(-,root,root) %doc COPYING README %{_bindir}/gpo %{_bindir}/gpodder %{_bindir}/gpodder-migrate2tres %{python_sitelib}/gpodder %{_datadir}/gpodder %{_datadir}/applications/gpodder.desktop %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/services %{_datadir}/dbus-1/services/org.gpodder.service %{_datadir}/icons/*/*/apps/gpodder.* %doc %{_mandir}/man1/gpo.1%{ext_man} %doc %{_mandir}/man1/gpodder.1%{ext_man} %if %suse_version >= 1020 %{python_sitelib}/gpodder-%{version}-py%{py_ver}.egg-info %endif
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.