]> git.pld-linux.org Git - packages/performous.git/blame_incremental - performous.spec
Polish description updated
[packages/performous.git] / performous.spec
... / ...
CommitLineData
1Summary: Performous - The All-in-One Music Game
2Summary(pl.UTF-8): Performous - wiele gier muzycznych w jednej
3Name: performous
4Version: 1.0
5Release: 0.1
6License: GPL v2+
7Group: Applications
8Source0: https://github.com/performous/performous/archive/1.0/%{name}-%{version}.tar.gz
9# Source0-md5: cbeec2f0c0114cc499746c1e33f56055
10Patch1: bool_cast.patch
11URL: http://performous.org/
12BuildRequires: ImageMagick-c++-devel
13BuildRequires: SDL-devel
14BuildRequires: alsa-lib-devel
15BuildRequires: boost-devel
16BuildRequires: cmake >= 2.6
17BuildRequires: ffmpeg-devel
18BuildRequires: gettext-tools
19BuildRequires: glew-devel
20BuildRequires: glibmm-devel
21BuildRequires: help2man
22BuildRequires: jack-audio-connection-kit-devel
23BuildRequires: libpng-devel
24BuildRequires: librsvg-devel
25BuildRequires: libsigc++-devel
26BuildRequires: libxml++-devel
27BuildRequires: opencv-devel
28BuildRequires: pango-devel
29BuildRequires: pkgconfig
30BuildRequires: portaudio-devel
31Suggests: %{name}-tools = %{version}-%{release}
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35An open-source karaoke, band and dancing game where one or more
36players perform a song and the game scores their perform ances.
37Supports songs in UltraStar, Frets on Fire and StepMania formats.
38Microphones and instruments from SingStar, Guit ar Hero and Rock Band
39as well as some dance pads are autodetected.
40
41%description -l pl.UTF-8
42Karaoke, gitara i taniec w jednej grze. Obsługuje utwory w formatach
43UltraStar, Frets on Fire i StepManii. Mikrofony i kontrolery z gier
44SingStar, Guitar Hero i Rock Band oraz maty do tańca są automatycznie
45wykrywane.
46
47%package tools
48Summary: Performous tools
49Summary(pl.UTF-8): Narzędzia do programu Performous
50Group: Applications
51
52%description tools
53Several utilities for converting data files for Performous.
54
55%description tools -l pl.UTF-8
56Zestaw narzędzi do konwersji danych dla programu Performous.
57
58%prep
59%setup -q
60%patch1 -p1
61
62mkdir build
63
64%build
65cd build
66%cmake .. \
67 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
68 -DCMAKE_CXX_FLAGS_RELEASE="%{rpmcxxflags} -std=gnu++11" \
69 -DCMAKE_DEBUG_FLAGS_RELEASE="%{debugcflags}" \
70 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
71 -DMagick_LIBRARY="$(echo %{_libdir}/libMagickCore-*.so)" \
72 -DMagick++_LIBRARY="$(echo %{_libdir}/libMagick++-*.so)" \
73%if "%{_lib}" == "lib64"
74 -DLIB_SUFFIX=64
75%endif
76%if "%{_lib}" == "libx32"
77 -DLIB_SUFFIX=x32
78%endif
79
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84install -d $RPM_BUILD_ROOT%{_mandir}/man1
85
86%{__make} -C build install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89install docs/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
90
91%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_CN}
92
93%find_lang %{name} --all-name
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%files -f %{name}.lang
99%defattr(644,root,root,755)
100%doc README.txt docs/{Authors,instruments}.txt
101%attr(755,root,root) %{_bindir}/performous
102%{_datadir}/games/%{name}
103%{_mandir}/man6/performous.6*
104%{_desktopdir}/performous.desktop
105%{_pixmapsdir}/performous.svg
106
107%files tools
108%defattr(644,root,root,755)
109%attr(755,root,root) %{_bindir}/gh_*_decrypt
110%attr(755,root,root) %{_bindir}/itg_pck
111%attr(755,root,root) %{_bindir}/ss_*
112%{_mandir}/man1/gh_*_decrypt.1*
113%{_mandir}/man1/ss_*.1*
This page took 0.094318 seconds and 4 git commands to generate.