Projects
mingw:32
mingw32-tomahawk-installer
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
mingw32-tomahawk-player-installer.spec
Changed
@@ -7,6 +7,9 @@ %define _tomahawk_major_version() %(echo '%{_tomahawk_version}'| awk '{split($0,array,".")} END{print array1}' ) %define _tomahawk_minor_version() %(echo '%{_tomahawk_version}'| awk '{split($0,array,".")} END{print array2}' ) %define _tomahawk_patch_version() %(echo '%{_tomahawk_version}'| awk '{split($0,array,".")} END{print array3}' ) +%define _tomahawk_installer_version %{_tomahawk_major_version}.%{_tomahawk_minor_version}.%{_tomahawk_patch_version} +%define _tomahawk_installer_executable tomahawk-%{_tomahawk_installer_version}.exe + Name: mingw32-tomahawk-unstable-installer License: PD @@ -24,6 +27,14 @@ BuildRequires: %{_tomahawk_package} BuildRequires: mingw32-cross-nsis +# Tomahawk itself and all linked deps +BuildRequires: %{_tomahawk_package} + +# Plugins +BuildRequires: mingw32-phonon-vlc + +# Installer generation +BuildRequires: mingw32-cross-nsis mingw32-cross-nsis-plugin-processes mingw32-cross-nsis-plugin-uac %description @@ -35,6 +46,7 @@ #%%define _tomahawk_installer_options() %(echo '%{_tomahawk_version}'| awk -F. '{print "-DVER_MAJOR=" $1 " -DVER_MINOR=" $2 " -DVER_BUILD=" $3 }' ) cat tomahawk.nsi | makensis -DINSTALL_PATH=%{_mingw32_prefix}/ \ + -DMING_PATH=%{_mingw32_prefix} \ -DVER_MAJOR=%{_tomahawk_major_version} \ -DVER_MINOR=%{_tomahawk_minor_version} \ -DVER_BUILD=%{_tomahawk_patch_version} \ @@ -43,10 +55,8 @@ %install mkdir -p %{buildroot}%{_mingw32_prefix} -install tomahawk-.exe %{buildroot}%{_mingw32_prefix} +install -D -m 644 %{_tomahawk_installer_executable} %{buildroot}%{_mingw32_bindir}/%{_tomahawk_installer_executable} %files %defattr(-,root,root) -%{_mingw32_prefix}/tomahawk-%{_tomahawk_version}.exe - -%changelog +%{_mingw32_bindir}/%{_tomahawk_installer_executable}
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
.