Projects
home:pansenmann:branches:Multimedia
tomahawk
tomahawk.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tomahawk.spec of Package tomahawk
# Copyright (c) Dominik Schmidt #norootforbuild Name: tomahawk Summary: The social media player Version: 0.5.5 Release: 0 License: GPL3+ Group: Productivity/Multimedia/Sound/Players Source: tomahawk-%{version}.tar.bz2 Source2: tomahawk.SuSEfirewall2 Source99: tomahawk-rpmlintrc BuildRoot: %{_tmppath}/build-root-%{name} Url: http://gettomahawk.com BuildRequires: cmake gcc-c++ # Required deps BuildRequires: libqt4-devel >= 4.7.0 BuildRequires: libQtWebKit-devel BuildRequires: libqjson-devel BuildRequires: boost-devel >= 1.3 BuildRequires: taglib-devel >= 1.6.2 BuildRequires: libclucene-unstable-devel BuildRequires: sqlite3-devel >= 3.6.22 BuildRequires: liblastfm1-devel >= 1.0.1 # Audio stuff BuildRequires: phonon-devel >= 4.5.0 Requires: phonon >= 4.5.0 Conflicts: phonon-backend-vlc < 0.4 phonon-backend-gstreamer < 4.5.0 phonon-backend-xine Recommends: phonon-backend-gstreamer >= 4.5.0 phonon-backend-vlc >= 0.4 # Optional deps for additional features BuildRequires: libechonest-devel >= 2.0 BuildRequires: libjreen-devel >= 1.0.1 BuildRequires: qtweetlib-devel BuildRequires: libqca2-devel BuildRequires: libattica-devel >= 0.4.0 BuildRequires: quazip-devel # Other BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme %description Tomahawk is a multi-source, socially-connected, cross-platform and open-source music player %prep %setup -q -n tomahawk-%{version} %build cmake . \ -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_CXX_FLAGS="%{optflags}" \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_RELEASE=ON make VERBOSE=1 %{?_smp_mflags} || make %install %makeinstall install -D -m 644 %_sourcedir/tomahawk.SuSEfirewall2 \ %buildroot/etc/sysconfig/SuSEfirewall2.d/services/tomahawk-player %suse_update_desktop_file -r tomahawk AudioVideo Player # currently not "supported" on openSUSE: %__rm -rf "%{buildroot}%{_datadir}/icons/hicolor/512x512" %__rm -rf "%{buildroot}%{_datadir}/icons/hicolor/128x128-grayscale/" %clean %__rm -rf %{buildroot} %post /sbin/ldconfig %desktop_database_post %postun /sbin/ldconfig %desktop_database_postun %files %defattr(-,root,root,0755) %{_bindir}/tomahawk %{_libexecdir}/tomahawk_crash_reporter %{_libdir}/libtomahawklib.so %{_libdir}/libtomahawk_*.so %{_datadir}/applications/tomahawk.desktop %{_datadir}/icons/*/*/apps/tomahawk.* %config /etc/sysconfig/SuSEfirewall2.d/services/tomahawk-player
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
.