]> git.pld-linux.org Git - packages/performous.git/blobdiff - performous.spec
Fix sound output when using new ffmpeg
[packages/performous.git] / performous.spec
index af7c03d7e4e3318c717e28ec76b4d41272e36ce3..9bfed67c59694a17a6f457affff82f3c5786f036 100644 (file)
@@ -5,14 +5,15 @@
 Summary:       Performous - The All-in-One Music Game
 Summary(pl.UTF-8):     Performous - wiele gier muzycznych w jednej
 Name:          performous
-Version:       0.6.1
-Release:       18
+Version:       0.7.0
+Release:       4
 License:       GPL v2+
 Group:         Applications
-Source0:       http://downloads.sourceforge.net/performous/Performous-%{version}-Source.tar.bz2
-# Source0-md5: 451a759de77984b5a699e91107fe52e2
-Patch0:                %{name}-ffmpeg.patch
+Source0:       http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2
+# Source0-md5: 60f3f72b51a630a4aa996484aedb9526
 Patch1:                %{name}-libpng15.patch
+Patch2:                cmake.patch
+Patch3:                %{name}-ffmpeg.patch
 URL:           http://performous.org/
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: SDL-devel
@@ -69,17 +70,18 @@ Several utilities for converting data files for Performous.
 Zestaw narzÄ™dzi do konwersji danych dla programu Performous.
 
 %prep
-%setup -qn Performous-%{version}-Source
-%patch0 -p1
+%setup -q
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 mkdir build
 
 %build
 cd build
 %cmake .. \
        -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-       -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -DBOOST_FILESYSTEM_VERSION=2" \
-       -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags} -DBOOST_FILESYSTEM_VERSION=2" \
+       -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \
+       -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %if "%{_lib}" == "lib64"
        -DLIB_SUFFIX=64
@@ -96,6 +98,8 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
+
 %find_lang %{name} --all-name
 
 %clean
This page took 0.07579 seconds and 4 git commands to generate.