Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
projectM-qt5
projectM-qt5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File projectM-qt5.spec of Package projectM-qt5
# # spec file for package projectM-qt5 # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # %define _isqt5 1 %define _oname projectM # Do not edit this auto generated file! Edit projectM.spec Name: projectM-qt5 Version: 2.1.0 Release: 0 Summary: An Awesome Music Visualizer License: LGPL-2.1+ Group: Productivity/Multimedia/Sound/Visualization Url: http://projectm.sourceforge.net Source0: https://sourceforge.net/projects/projectm/files/%{version}/%{_oname}-complete-%{version}-Source.tar.gz # PATCH-FIX-UPSTREAM projectM-2.1.0-fix-isnan-gcc6.patch -- fix build with GCC6 (patch from upstream development branch) Patch0: projectM-2.1.0-fix-isnan-gcc6.patch # PATCH-FIX-OPENSUSE projectM-2.1.0-no-return-in-nonvoid.patch -- fix rpmlint warning Patch1: projectM-2.1.0-no-return-in-nonvoid.patch # PATCH-FIX-OPENSUSE projectM-2.1.0-SUSE_misc.patch -- address a few SUSE-specific issues Patch2: projectM-2.1.0-SUSE_misc.patch %if 0%{?_isqt5} # PATCH-FIX-OPENSUSE projectM-2.1.0-Qt5.patch -- build against Qt5 libraries Patch3: projectM-2.1.0-Qt5.patch %endif BuildRequires: cmake BuildRequires: fdupes BuildRequires: ftgl-devel BuildRequires: glew-devel BuildRequires: libSDL-devel BuildRequires: libpulse-devel BuildRequires: libsndfile-devel BuildRequires: libvisual-devel BuildRequires: pkgconfig %if 0%{?_isqt5} BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) %else BuildRequires: libqt4-devel %endif Recommends: %{name}-data = %{version} %description projectM%{?_isqt5:-qt5} is an awesome music visualizer. %package -n lib%{_oname}%{?_isqt5:-qt5-}2 Summary: Run-time Libraries for ProjectM%{?_isqt5:-qt5} Group: System/Libraries %description -n lib%{_oname}%{?_isqt5:-qt5-}2 projectM%{?_isqt5:-qt5} is an awesome music visualizer. This package contains its runtime libraries. %package -n lib%{_oname}-qt%{?_isqt5:-qt5-}1 Summary: Qt Run-time Libraries for ProjectM%{?_isqt5:-qt5} Group: System/Libraries %description -n lib%{_oname}-qt%{?_isqt5:-qt5-}1 projectM%{?_isqt5:-qt5} is an awesome music visualizer. This package contains its qt runtime libraries. %package -n lib%{_oname}-libvisual%{?_isqt5:-qt5} Summary: Libvisual Collaboration for ProjectM%{?_isqt5:-qt5} Group: System/Libraries %description -n lib%{_oname}-libvisual%{?_isqt5:-qt5} projectM%{?_isqt5:-qt5} is an awesome music visualizer. This package contains its libvisual collaboration libraries. %package data Summary: Data files for ProjectM%{?_isqt5:-qt5} Group: Productivity/Multimedia/Sound/Visualization Requires: %{name} = %{version} Requires: dejavu %description data projectM%{?_isqt5:-qt5} is an awesome music visualizer. This package contains its data: config, presets, shaders. %package devel Summary: Development Files for ProjectM%{?_isqt5:-qt5} Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: %{name}-data = %{version} Requires: lib%{_oname}%{?_isqt5:-qt5-}2 = %{version} Requires: lib%{_oname}-qt%{?_isqt5:-qt5-}1 = %{version} %description devel projectM%{?_isqt5:-qt5} is an awesome music visualizer. This package contains its development files. %prep %setup -q -n %{_oname}-complete-%{version}-Source %patch0 -p1 %patch1 -p1 %patch2 -p1 %if 0%{?_isqt5} %patch3 -p1 %endif rm -r src/WinLibs # legal issues, see bnc#738417, we don't need that whole tree %build #projectM-test has runtime problems, I don't know how to fix it, so I disable it %cmake -DINCLUDE-PROJECTM-TEST=OFF make %{?_smp_mflags} %install %cmake_install find %{buildroot} -name *.la -delete %fdupes %{buildroot} %post -n lib%{_oname}%{?_isqt5:-qt5-}2 -p /sbin/ldconfig %post -n lib%{_oname}-qt%{?_isqt5:-qt5-}1 -p /sbin/ldconfig %post -n lib%{_oname}-libvisual%{?_isqt5:-qt5} -p /sbin/ldconfig %postun -n lib%{_oname}%{?_isqt5:-qt5-}2 -p /sbin/ldconfig %postun -n lib%{_oname}-qt%{?_isqt5:-qt5-}1 -p /sbin/ldconfig %postun -n lib%{_oname}-libvisual%{?_isqt5:-qt5} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/%{_oname}-pulseaudio%{?_isqt5:-qt5} %{_datadir}/applications/%{_oname}-pulseaudio%{?_isqt5:-qt5}.desktop %{_datadir}/pixmaps/* %files -n lib%{_oname}%{?_isqt5:-qt5-}2 %defattr(-,root,root) %{_libdir}/lib%{_oname}%{?_isqt5:-qt5}.so.%{version} %files -n lib%{_oname}-qt%{?_isqt5:-qt5-}1 %defattr(-,root,root) %{_libdir}/lib%{_oname}-qt%{?_isqt5:-qt5}.so.1.10 %files -n lib%{_oname}-libvisual%{?_isqt5:-qt5} %defattr(-,root,root) %{_libdir}/libvisual-0.4%{?_isqt5:-qt5}/ %files data %defattr(-,root,root) %{_datadir}/%{name}/ %files devel %defattr(-,root,root) %{_includedir}/lib%{_oname}%{?_isqt5:-qt5} %{_includedir}/lib%{_oname}-qt%{?_isqt5:-qt5} %{_libdir}/lib%{_oname}%{?_isqt5:-qt5}.so %{_libdir}/lib%{_oname}%{?_isqt5:-qt5}.so.2 %{_libdir}/lib%{_oname}-qt%{?_isqt5:-qt5}.so %{_libdir}/lib%{_oname}-qt%{?_isqt5:-qt5}.so.1 %{_libdir}/pkgconfig/* %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