]> git.pld-linux.org Git - packages/performous.git/blobdiff - performous.spec
- release 8
[packages/performous.git] / performous.spec
index 8340f7fff39d0274bb0ddc74cb8316d1919796f4..790cc569161178e4409824d14d25d06a9338539b 100644 (file)
@@ -1,24 +1,29 @@
 Summary:       Performous - a free cross-platform singing game
 Name:          performous
-Version:       0.4.0
-Release:       0.1
+Version:       0.5.1
+Release:       8
 License:       GPL v2+
 Group:         Applications
 Source0:       http://dl.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
-# Source0-md5: d7eafad29a94e3099c849d3c7208bfac
+# Source0-md5: 3c86c4810111e1c45e7b8ab4aa321d7d
 URL:           http://performous.org/
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: SDL-devel
 BuildRequires: alsa-lib-devel
+BuildRequires: boost-devel
+BuildRequires: cmake
 BuildRequires: ffmpeg-devel
+BuildRequires: gettext-devel
 BuildRequires: glew-devel
 BuildRequires: glibmm-devel
 BuildRequires: help2man
 BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: libpng-devel
 BuildRequires: librsvg-devel
 BuildRequires: libsigc++-devel
 BuildRequires: libxml++-devel
 BuildRequires: pango-devel
+BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,33 +44,32 @@ this mode only lyrics are displayed and there are no notes or scoring.
 
 %prep
 %setup -qn Performous-%{version}-Source
+%{__sed} -i 's:png12:png14:g' cmake/Modules/FindPng.cmake
 
 %build
 mkdir build
 cd build
 %cmake .. \
-               -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-               -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %if "%{_lib}" == "lib64"
-               -DLIB_SUFFIX=64
+       -DLIB_SUFFIX=64
 %endif
 
 %{__make}
 
-cd ..
-
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc docs/*.txt
 %attr(755,root,root) %{_bindir}/*
This page took 0.146233 seconds and 4 git commands to generate.