]> git.pld-linux.org Git - packages/performous.git/blobdiff - performous.spec
- one more fix in boost patch; release 3 (boost 1.73)
[packages/performous.git] / performous.spec
index 391c7de5b83c83f97b0c275a2f9e26f915798bb2..e2cd5be5b012b34c043aad554b67cbe28a50683e 100644 (file)
@@ -1,39 +1,42 @@
-#
-# TODO:
-#      - update Polish description, current is outdated (it is not only a
-#      karaoke game any more)
 Summary:       Performous - The All-in-One Music Game
 Summary(pl.UTF-8):     Performous - wiele gier muzycznych w jednej
 Name:          performous
-Version:       0.7.0
-Release:       5
+Version:       1.1
+Release:       3
 License:       GPL v2+
-Group:         Applications
-Source0:       http://downloads.sourceforge.net/performous/performous-%{version}.tar.bz2
-# Source0-md5: 60f3f72b51a630a4aa996484aedb9526
-Patch1:                %{name}-libpng15.patch
-Patch2:                cmake.patch
-Patch3:                %{name}-ffmpeg.patch
+Group:         Applications/Sound
+#Source0Download: https://github.com/performous/performous/releases
+Source0:       https://github.com/performous/performous/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: cf31d0973cd88b3cd626d312d6d3f5b2
+Patch0:                %{name}-boost.patch
+Patch1:                %{name}-pango1.44.patch
 URL:           http://performous.org/
 BuildRequires: ImageMagick-c++-devel
-BuildRequires: SDL-devel
-BuildRequires: alsa-lib-devel
-BuildRequires: boost-devel
-BuildRequires: cmake >= 2.6
+BuildRequires: SDL2-devel >= 2
+BuildRequires: boost-devel >= 1.36
+BuildRequires: cmake >= 2.8
+# avformat avresample swscale
 BuildRequires: ffmpeg-devel
-BuildRequires: gettext-devel
+BuildRequires: fontconfig-devel
+BuildRequires: gettext-tools
 BuildRequires: glew-devel
 BuildRequires: glibmm-devel
 BuildRequires: help2man
-BuildRequires: jack-audio-connection-kit-devel
+BuildRequires: libepoxy-devel >= 1.2
+BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: librsvg-devel
 BuildRequires: libsigc++-devel
-BuildRequires: libxml++-devel
+BuildRequires: libstdc++-devel >= 6:4.6
+BuildRequires: libxml2-devel >= 2.0
+BuildRequires: libxml++2-devel >= 2.6
 BuildRequires: opencv-devel
-BuildRequires: pango-devel
+BuildRequires: pango-devel >= 1:1.12
 BuildRequires: pkgconfig
 BuildRequires: portaudio-devel
+BuildRequires: portmidi-devel
+BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: zlib-devel
 Suggests:      %{name}-tools = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,23 +48,15 @@ Microphones and instruments from SingStar, Guit ar Hero and Rock Band
 as well as some dance pads are autodetected.
 
 %description -l pl.UTF-8
-O ile Performous można zaklasyfikować jako program do karaoke, to jest
-czymś o wiele więcej. Zamiast tylko wyświetlać tekst, wyświetlane są
-także nuty, a wykonanie jest oceniane w oparciu o to, jak dobrze
-pasuje do nut. W przeciwieństwie do innych gier tego gatunku podawana
-jest także dokładna wysokość śpiewanych tonów, więc można zobaczyć, co
-wykonuje się źle i (względnie) łatwo się poprawić.
-
-Większość dostępnych piosenek zawiera także oryginalne wokale, zaś
-wersje karaoke są dość rzadkie.
-
-Dla śpiewających niezbyt dobrze dostępny jest tryb karaoke. W tyb
-trybie wyświetlane są tylko słowa i nie ma nut ani oceniania.
+Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
+UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
+SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
+wykrywane.
 
 %package tools
 Summary:       Performous tools
 Summary(pl.UTF-8):     Narzędzia do programu Performous
-Group:         Applications
+Group:         Applications/Sound
 
 %description tools
 Several utilities for converting data files for Performous.
@@ -71,21 +66,18 @@ Zestaw narzędzi do konwersji danych dla programu Performous.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-mkdir build
 
 %build
+install -d build
 cd build
 %cmake .. \
        -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-       -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags}" \
+       -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
        -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
-       -DLIB_SUFFIX=64
-%endif
+       -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
+       -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)"
 
 %{__make}
 
@@ -96,7 +88,7 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man1
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
 
@@ -107,12 +99,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc docs/{Authors,TODO,instruments}.txt
+%doc README.txt docs/{Authors,instruments}.txt
 %attr(755,root,root) %{_bindir}/performous
 %{_datadir}/games/%{name}
 %{_mandir}/man6/performous.6*
 %{_desktopdir}/performous.desktop
-%{_pixmapsdir}/performous.xpm
+%{_pixmapsdir}/performous.svg
 
 %files tools
 %defattr(644,root,root,755)
This page took 0.132447 seconds and 4 git commands to generate.