X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=performous.spec;h=9bfed67c59694a17a6f457affff82f3c5786f036;hb=f69e77a;hp=af7c03d7e4e3318c717e28ec76b4d41272e36ce3;hpb=602db932c00a9f87854480a4b08bd783fc015d8b;p=packages%2Fperformous.git diff --git a/performous.spec b/performous.spec index af7c03d..9bfed67 100644 --- a/performous.spec +++ b/performous.spec @@ -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