Projects
home:Aloysius:branches:Multimedia
OpenOctaveMidi-unstable
OpenOctaveMidi-unstable.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenOctaveMidi-unstable.spec of Package OpenOctaveMidi-unstable
# # spec file for package OpenOctaveMidi-unstable # # Copyright (c) 2017 Packman Team <packman@links2linux.de> # 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.links2linux.org/ # %define pkg_version 2012-04-03 %define dversion 2012.1.beta1 Name: OpenOctaveMidi-unstable Version: 2012.1.0+20120403 Release: 0.pm.1 Summary: Open Octave Studio License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Midi Url: http://openoctave.org ExclusiveArch: %ix86 x86_64 ## git://git.openoctave.org/oom.git Source: oom-%{pkg_version}.tar.bz2 Source1: oom_icon_root_32x32.png Source2: oom_root-mode.desktop #PATCH-FIX-UPSTREAM oom-2011.3.1_gcc47.patch avvissu@yandex.ru -- Fix build with gcc47 Patch0: oom-2012-04-03_gcc47.patch #PATCH-FIX-UPSTREAM oom-2012-04-03_gcc6.patch aloisio@gmx.com -- Fix build with gcc6 Patch1: oom-2012-04-03_gcc6.patch BuildRequires: alsa-devel >= 0.9.0 BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glibc-devel BuildRequires: gtk2-devel BuildRequires: jack-devel >= 1.9.5 BuildRequires: libgig-devel BuildRequires: liblinuxsampler-devel BuildRequires: liblscp-devel BuildRequires: libqt4-devel >= 4.3.0 BuildRequires: libsamplerate-devel >= 0.1.0 BuildRequires: libsndfile-devel >= 1.0.0 BuildRequires: libuuid-devel >= 0.0.1 BuildRequires: make BuildRequires: pkgconfig BuildRequires: update-desktop-files Requires: alsa-plugins-jack Requires: jack Recommends: %{name}-lang Recommends: qjackctl Conflicts: OpenOctaveMidi BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Digital Audio Workstation (DAW). %package lang Summary: Languages for package %{name} Group: System/Localization Requires: %{name} = %{version} Supplements: packageand(bundle-lang-other:%{name}) Conflicts: OpenOctaveMidi-lang Provides: %{name}-lang-all = %{version} BuildArch: noarch %description lang Provides translations to the package %{name} %prep %setup -q -n oom %patch0 -p1 %patch1 -p1 %build install -d build pushd build cmake \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \ -DCMAKE_C_FLAGS="%{optflags}" \ -DCMAKE_CXX_FLAGS="%{optflags}" \ .. make %{?_smp_mflags} popd %install pushd build make %{?_smp_mflags} DESTDIR=%{buildroot} install popd # upstream installs a 32x32 icon in a 64x64 directory: install -d "%{buildroot}%{_datadir}/icons/hicolor/32x32/apps" mv "%{buildroot}%{_datadir}/icons/hicolor"/{64x64,32x32}/"apps/oom_icon.png" # OOMidi Root Mode install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/oom_icon_root.png install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/applications/oom_root-mode.desktop rm -rf "%{buildroot}%{_datadir}/doc" %suse_update_desktop_file -r oom AudioVideo Audio Midi AudioVideoEditing L="$PWD/%{name}.lang" echo -n >"$L" P="%{_datadir}/oom-%{dversion}/locale" pushd "%{buildroot}$P" /bin/ls -1 oom_*.qm | while read qm; do l="${qm#oom_}" l="${l%.qm}" echo "%lang($l) $P/$qm" >>"$L" done popd %files %defattr(-,root,root) %doc AUTHORS COPYING README* %{_bindir}/oomidi %{_bindir}/oostudio %{_datadir}/applications/oom*.desktop %{_datadir}/icons/*/*/apps/oom_icon*.png %{_mandir}/man1/oomidi.1* %{_datadir}/mime/packages/oom.xml %dir %{_datadir}/oom-%{dversion} %{_datadir}/oom-%{dversion}/instruments %dir %{_datadir}/oom-%{dversion}/locale %{_datadir}/oom-%{dversion}/plugins %{_datadir}/oom-%{dversion}/pybridge %{_datadir}/oom-%{dversion}/scripts %{_datadir}/oom-%{dversion}/templates %{_datadir}/oom-%{dversion}/utils %files lang -f %{name}.lang %defattr(-,root,root) %changelog
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
.