Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2
deepin-music-player
deepin-music-player.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deepin-music-player.spec of Package deepin-music-player
# # spec file for package deepin-music-player # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 Hillwood Yang <hillwood@linuxfans.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/ # Name: deepin-music-player Summary: Deepin Music Playe License: GPL-3.0+ Group: Productivity/Multimedia/Sound/Players Version: 2.0git20140505 Release: 0 BuildArch: noarch Url: https://github.com/linuxdeepin/deepin-music-player Source0: http://packages.linuxdeepin.com/deepin/pool/main/d/deepin-music-player/deepin-music-player_1+git20140505155847~5e110e40b9.tar.gz Source1: deepin-music-player.desktop Source2: deepin-music-player.png BuildRequires: fdupes BuildRequires: python-devel BuildRequires: update-desktop-files Requires: deepin-gsettings Requires: deepin-ui >= 2.0git20130724 Requires: python-CDDB Requires: python-chardet Requires: python-gstreamer-0_10 Requires: python-gtk Requires: python-imaging Requires: python-keybinder Requires: python-mutagen Requires: python-pyquery Requires: python-scipy Requires: python-xlib Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description Deepin Music Player with brilliant and tweakful UI Deepin-UI based, gstreamer front-end, with features likes search music by pinyin, quanpin, colorful lyrics supports, and more powerful functions you will found. %lang_package %prep %setup -q -n %{name}-1+git20140505155847~5e110e40b9 %build cd locale msgfmt zh_CN.po -o zh_CN.mo msgfmt zh_HK.po -o zh_HK.mo msgfmt zh_TW.po -o zh_TW.mo # msgfmt ru_RU.po -o ru_RU.mo %install chmod 644 AUTHORS chmod 644 COPYING mkdir -p %{buildroot}/%{_datadir}/applications mkdir -p %{buildroot}/%{_datadir}/icons mkdir -p %{buildroot}/%{_datadir}/%{name} mkdir -p %{buildroot}/%{_datadir}/locale/zh_CN/LC_MESSAGES/ mkdir -p %{buildroot}/%{_datadir}/locale/zh_HK/LC_MESSAGES/ mkdir -p %{buildroot}/%{_datadir}/locale/zh_TW/LC_MESSAGES/ # mkdir -p %{buildroot}/%{_datadir}/locale/ru_RU/LC_MESSAGES/ mkdir -p %{buildroot}/%{_bindir} cp %{S:1} %{buildroot}/%{_datadir}/applications/ cp %{S:2} %{buildroot}/%{_datadir}/icons/ cp -R app_theme %{buildroot}/%{_datadir}/%{name} cp -R skin %{buildroot}/%{_datadir}/%{name} cp -R src %{buildroot}/%{_datadir}/%{name} cp -R plugins %{buildroot}/%{_datadir}/%{name} cp -R tools %{buildroot}/%{_datadir}/%{name} cp -R wizard %{buildroot}/%{_datadir}/%{name} cp -R image %{buildroot}/%{_datadir}/%{name} cp locale/zh_CN.mo %{buildroot}/%{_datadir}/locale/zh_CN/LC_MESSAGES/%{name}.mo cp locale/zh_HK.mo %{buildroot}/%{_datadir}/locale/zh_HK/LC_MESSAGES/%{name}.mo cp locale/zh_TW.mo %{buildroot}/%{_datadir}/locale/zh_TW/LC_MESSAGES/%{name}.mo # cp locale/ru_RU.mo %{buildroot}/%{_datadir}/locale/ru_RU/LC_MESSAGES/%{name}.mo %fdupes %{buildroot} %find_lang %{name} %suse_update_desktop_file -r %{name} Player AudioVideo cd %{buildroot}/%{_bindir} ln -s ../share/%{name}/src/main.py %{name} %files %defattr(-, root, root, -) %doc AUTHORS COPYING %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/%{name}.png %{_datadir}/%{name} %{_bindir}/%{name} %files lang -f %{name}.lang %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