Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
projectM
> projectM.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File projectM.spec of Package projectM
# norootforbuild %define soname 2 Name: projectM Version: 2.0.1 Release: 5.pm.5.1 Summary: Sound Visualization Library License: LGPL Group: Productivity/Multimedia/Sound/Visualization URL: http://projectm.sourceforge.net/ Source0: %{name}-%{version}-Source.tar.gz Patch0: %{name}-fix_linking.patch Patch1: %{name}-pkgconfig.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: cmake ftgl-devel gcc-c++ glew-devel pkgconfig # only to fix ChangeLog BuildRequires: dos2unix %description ProjectM is an awesome music visualizer. There is nothing better in the world of Unix. projectM's greatness comes from the hard work of the community. Users like you can create presets that connect music with incredible visuals. %package -n lib%{name}%{soname} Summary: Sound Visualization Library Group: System/Libraries Requires: %{name} %description -n lib%{name}%{soname} ProjectM is an awesome music visualizer. There is nothing better in the world of Unix. projectM's greatness comes from the hard work of the community. Users like you can create presets that connect music with incredible visuals. %package -n lib%{name}-devel Summary: Development package for %{name} Group: Development/Libraries/C and C++ Requires: lib%{name}%{soname} = %{version} Requires: cmake ftgl-devel gcc-c++ glew-devel %description -n lib%{name}-devel This package contains the files needed to compile programs that use the %{name} library. %debug_package %prep %setup -q -n %{name}-%{version}-Source %patch0 -p1 %patch1 -p1 dos2unix ChangeLog %build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DUSE_NATIVE_GLEW=ON \ %if %{_lib} == lib64 -DLIB_SUFFIX=64 \ %endif . %__make %{?jobs:-j%{jobs}} %install %makeinstall %post -n lib%{name}%{soname} -p /sbin/ldconfig %postun -n lib%{name}%{soname} -p /sbin/ldconfig %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root,-) %doc ChangeLog COPYING %dir %{_datadir}/%{name} %{_datadir}/%{name}/config.inp %dir %{_datadir}/%{name}/fonts %{_datadir}/%{name}/fonts/* %dir %{_datadir}/%{name}/presets %{_datadir}/%{name}/presets/* %dir %{_datadir}/%{name}/shaders %{_datadir}/%{name}/shaders/* %files -n lib%{name}%{soname} %defattr(-,root,root,-) %{_libdir}/lib%{name}.so.%{soname}* %files -n lib%{name}-devel %defattr(-,root,root,-) %dir %{_includedir}/lib%{name} %{_includedir}/lib%{name}/* %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc %changelog * Sat Sep 11 2010 - Detlef Reichelt <detlef@links2linux.de> - 2.0.1-5 - add pkgconfig patch * Wed Sep 08 2010 - Detlef Reichelt <detlef@links2linux.de> - 2.0.1 - initial build <2.0.1>