]> git.pld-linux.org Git - packages/qsynth.git/blob - qsynth.spec
5c31880c61a4065aa8f40193d70f8942aa738b51
[packages/qsynth.git] / qsynth.spec
1 Summary:        Qt front-end to fluidsynth
2 Summary(pl.UTF-8):      Oparta o Qt nakładka na fluidsynth
3 Name:           qsynth
4 Version:        0.5.3
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Sound
8 Source0:        http://downloads.sourceforge.net/qsynth/%{name}-%{version}.tar.gz
9 # Source0-md5:  af719e0ad2dd624ad946dcc05e93cf97
10 Patch0:         %{name}-soundfont_dir.patch
11 Patch1:         desktop_install.patch
12 URL:            http://qsynth.sourceforge.net/qsynth-index.html
13 BuildRequires:  Qt5Core-devel >= 5.1.0
14 BuildRequires:  Qt5Gui-devel >= 5.1.0
15 BuildRequires:  Qt5Widgets-devel >= 5.1.0
16 BuildRequires:  Qt5X11Extras-devel >= 5.1.0
17 BuildRequires:  cmake >= 2.6
18 BuildRequires:  fluidsynth-devel >= 2.0.0
19 BuildRequires:  qt5-linguist
20 BuildRequires:  qt5-qmake
21 BuildRequires:  sed >= 4.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 QSynth is a fluidsynth GUI front-end application.
26
27 %description -l pl.UTF-8
28 QSynth jest nakładką graficzną na fluidsynth.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 mkdir -p build
37 cd build
38
39 %cmake \
40         ..
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/appdata,%{_mandir}/man1}
45
46 cd build
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 cd ..
52
53 install -m 644 src/appdata/*.xml  $RPM_BUILD_ROOT%{_datadir}/appdata
54 install -m 644 qsynth.1 $RPM_BUILD_ROOT%{_mandir}/man1
55
56 %find_lang %{name} --with-qm --all-name
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS README TODO ChangeLog
64 %attr(755,root,root) %{_bindir}/%{name}
65 %{_desktopdir}/*.desktop
66 %{_mandir}/man1/%{name}.1*
67 %{_datadir}/appdata/*.xml
68 %{_pixmapsdir}/qsynth.png
69 %dir %{_datadir}/%{name}
70 %dir %{_datadir}/%{name}/translations
This page took 0.038571 seconds and 2 git commands to generate.